diff --git a/htdocs/accountancy/admin/categories.php b/htdocs/accountancy/admin/categories.php
index 6e003738173..290aa93c0b7 100644
--- a/htdocs/accountancy/admin/categories.php
+++ b/htdocs/accountancy/admin/categories.php
@@ -171,7 +171,7 @@ if ($action == 'display' || $action == 'delete') {
print '
';
print '' . length_accountg($cpt->account_number) . ' ';
print '' . $cpt->label . ' ';
- print '';
+ print ' ';
print "rowid."'>";
print img_delete($langs->trans("DeleteFromCat")).' ';
print $langs->trans("DeleteFromCat")." ";
diff --git a/htdocs/accountancy/admin/fiscalyear.php b/htdocs/accountancy/admin/fiscalyear.php
index ca0de98875f..26620c635e2 100644
--- a/htdocs/accountancy/admin/fiscalyear.php
+++ b/htdocs/accountancy/admin/fiscalyear.php
@@ -133,7 +133,7 @@ if ($result)
print ' ' . $langs->trans("DateEnd") . ' ';
print '' . $langs->trans("NumberOfAccountancyEntries") . ' ';
print '' . $langs->trans("NumberOfAccountancyMovements") . ' ';
- print '' . $langs->trans("Statut") . ' ';
+ print '' . $langs->trans("Statut") . ' ';
print ' ';
if ($num) {
@@ -149,7 +149,7 @@ if ($result)
print '' . dol_print_date($db->jdate($obj->date_end), 'day') . ' ';
print '' . $object->getAccountancyEntriesByFiscalYear($obj->date_start, $obj->date_end) . ' ';
print '' . $object->getAccountancyMovementsByFiscalYear($obj->date_start, $obj->date_end) . ' ';
- print '' . $fiscalyearstatic->LibStatut($obj->statut, 5) . ' ';
+ print '' . $fiscalyearstatic->LibStatut($obj->statut, 5) . ' ';
print '';
$i++;
}
diff --git a/htdocs/accountancy/admin/index.php b/htdocs/accountancy/admin/index.php
index 60a81df9a56..536b3c38148 100644
--- a/htdocs/accountancy/admin/index.php
+++ b/htdocs/accountancy/admin/index.php
@@ -202,11 +202,11 @@ if (! empty($user->admin))
print '';
print '' . $langs->trans("ACCOUNTING_LIST_SORT_VENTILATION_TODO") . ' ';
if (! empty($conf->global->ACCOUNTING_LIST_SORT_VENTILATION_TODO)) {
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
} else {
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
@@ -215,11 +215,11 @@ if (! empty($user->admin))
print ' ';
print '' . $langs->trans("ACCOUNTING_LIST_SORT_VENTILATION_DONE") . ' ';
if (! empty($conf->global->ACCOUNTING_LIST_SORT_VENTILATION_DONE)) {
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
} else {
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
@@ -228,11 +228,11 @@ if (! empty($user->admin))
print ' ';
print '' . $langs->trans("ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL") . ' ';
if (! empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL)) {
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
} else {
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
@@ -241,11 +241,11 @@ if (! empty($user->admin))
print ' ';
print '' . $langs->trans("BANK_DISABLE_DIRECT_INPUT") . ' ';
if (! empty($conf->global->BANK_DISABLE_DIRECT_INPUT)) {
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
} else {
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
@@ -254,11 +254,11 @@ if (! empty($user->admin))
print ' ';
print '' . $langs->trans("ACCOUNTING_MANAGE_ZERO") . ' ';
if (! empty($conf->global->ACCOUNTING_MANAGE_ZERO)) {
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
} else {
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
@@ -277,7 +277,7 @@ foreach ($list as $key)
$label = $langs->trans($key);
print ''.$label.' ';
// Value
- print '';
+ print ' ';
print ' ';
print ' ';
diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index de7fa495770..6a323121a6e 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -293,9 +293,9 @@ if ($action != 'export_csv')
print '' . length_accountg($line->numero_compte) . ' ';
print '' . $description . ' ';
- print '' . price($line->debit) . ' ';
- print '' . price($line->credit) . ' ';
- print '' . price($line->credit - $line->debit) . ' ';
+ print '' . price($line->debit) . ' ';
+ print '' . price($line->credit) . ' ';
+ print '' . price($line->credit - $line->debit) . ' ';
print '' . $link;
print ' ';
print " \n";
diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php
index 567fccaeab1..6e48fd13d5f 100644
--- a/htdocs/accountancy/bookkeeping/card.php
+++ b/htdocs/accountancy/bookkeeping/card.php
@@ -436,7 +436,7 @@ if ($action == 'create')
print $langs->trans('Docdate');
print '';
if ($action != 'editdate')
- print 'piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'),1).' ';
+ print 'piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'),1).' ';
print '';
print '';
if ($action == 'editdate') {
@@ -459,7 +459,7 @@ if ($action == 'create')
print $langs->trans('Codejournal');
print ' ';
if ($action != 'editjournal')
- print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' ';
+ print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' ';
print '';
print '';
if ($action == 'editjournal') {
@@ -482,7 +482,7 @@ if ($action == 'create')
print $langs->trans('Piece');
print ' ';
if ($action != 'editdocref')
- print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' ';
+ print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' ';
print '';
print '';
if ($action == 'editdocref') {
@@ -602,8 +602,8 @@ if ($action == 'create')
print_liste_field_titre("AccountAccountingShort");
print_liste_field_titre("SubledgerAccount");
print_liste_field_titre("LabelOperation");
- print_liste_field_titre("Debit", "", "", "", "", 'align="right"');
- print_liste_field_titre("Credit", "", "", "", "", 'align="right"');
+ print_liste_field_titre("Debit", "", "", "", "", 'class="right"');
+ print_liste_field_titre("Credit", "", "", "", "", 'class="right"');
print_liste_field_titre("Action", "", "", "", "", 'width="60" align="center"');
print "\n";
@@ -630,8 +630,8 @@ if ($action == 'create')
}
print ' ';
print ' ';
- print ' ';
- print ' ';
+ print ' ';
+ print ' ';
print '';
print ' ' . "\n";
print ' ';
@@ -641,8 +641,8 @@ if ($action == 'create')
print ' ' . $accountingaccount->getNomUrl(0,1,1,'',0) . ' ';
print '' . length_accounta($line->subledger_account) . ' ';
print '' . $line->label_operation. ' ';
- print '' . price($line->debit) . ' ';
- print '' . price($line->credit) . ' ';
+ print '' . price($line->debit) . ' ';
+ print '' . price($line->credit) . ' ';
print '';
print 'id . '&piece_num=' . $line->piece_num . '&mode='.$mode.'">';
@@ -687,8 +687,8 @@ if ($action == 'create')
}
print ' ';
print ' ';
- print ' ';
- print ' ';
+ print ' ';
+ print ' ';
print ' ';
print '';
}
diff --git a/htdocs/accountancy/bookkeeping/list.php b/htdocs/accountancy/bookkeeping/list.php
index 4b0ab08d1b1..509dcd88abe 100644
--- a/htdocs/accountancy/bookkeeping/list.php
+++ b/htdocs/accountancy/bookkeeping/list.php
@@ -683,7 +683,7 @@ if ($num > 0)
// Amount debit
if (! empty($arrayfields['t.debit']['checked']))
{
- print '' . ($line->debit ? price($line->debit) : ''). ' ';
+ print '' . ($line->debit ? price($line->debit) : ''). ' ';
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totaldebitfield']=$totalarray['nbfield'];
$totalarray['totaldebit'] += $line->debit;
@@ -692,7 +692,7 @@ if ($num > 0)
// Amount credit
if (! empty($arrayfields['t.credit']['checked']))
{
- print '' . ($line->credit ? price($line->credit) : '') . ' ';
+ print '' . ($line->credit ? price($line->credit) : '') . ' ';
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalcreditfield']=$totalarray['nbfield'];
$totalarray['totalcredit'] += $line->credit;
@@ -754,8 +754,8 @@ if ($num > 0)
if ($num < $limit && empty($offset)) print ''.$langs->trans("Total").' ';
else print ''.$langs->trans("Totalforthispage").' ';
}
- elseif ($totalarray['totaldebitfield'] == $i) print ''.price($totalarray['totaldebit']).' ';
- elseif ($totalarray['totalcreditfield'] == $i) print ''.price($totalarray['totalcredit']).' ';
+ elseif ($totalarray['totaldebitfield'] == $i) print ''.price($totalarray['totaldebit']).' ';
+ elseif ($totalarray['totalcreditfield'] == $i) print ''.price($totalarray['totalcredit']).' ';
else print ' ';
}
print '';
diff --git a/htdocs/accountancy/bookkeeping/listbyaccount.php b/htdocs/accountancy/bookkeeping/listbyaccount.php
index c5726901e2e..c2991ce2598 100644
--- a/htdocs/accountancy/bookkeeping/listbyaccount.php
+++ b/htdocs/accountancy/bookkeeping/listbyaccount.php
@@ -363,7 +363,7 @@ while ($i < min($num, $limit))
print '';
print ' ';
- print ''.$line->piece_num.' ';
+ print ''.$line->piece_num.' ';
print '' . dol_print_date($line->doc_date, 'day') . ' ';
// TODO Add a link according to doc_type and fk_doc
@@ -378,8 +378,8 @@ while ($i < min($num, $limit))
print strlen(length_accounta($line->subledger_account)) == 0 ? '' . $line->label_operation . ' ' : '' . $line->label_operation . '(' . length_accounta($line->subledger_account) . ') ';
- print '' . ($line->debit ? price($line->debit) :''). ' ';
- print '' . ($line->credit ? price($line->credit) : '') . ' ';
+ print '' . ($line->debit ? price($line->debit) :''). ' ';
+ print '' . ($line->credit ? price($line->credit) : '') . ' ';
$accountingjournal = new AccountingJournal($db);
$result = $accountingjournal->fetch('',$line->code_journal);
diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
index 3fdda686eab..19e0dcbaaac 100644
--- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
+++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
@@ -209,7 +209,7 @@ if ($resql) {
print ' ';
print ' ';
print ' ';
- print '';
+ print ' ';
$searchpicto = $form->showFilterButtons();
print $searchpicto;
print ' ';
@@ -235,9 +235,9 @@ if ($resql) {
print '' . dol_print_date($db->jdate($obj->doc_date), 'day') . ' ';
print '' . $obj->doc_ref . ' ';
print '' . $obj->label_compte . ' ';
- print '' . price($obj->debit) . ' ';
- print '' . price($obj->credit) . ' ';
- print '' . price(round($solde, 2)) . ' ';
+ print '' . price($obj->debit) . ' ';
+ print '' . price($obj->credit) . ' ';
+ print '' . price(round($solde, 2)) . ' ';
print '' . $obj->code_journal . ' ';
if (empty($obj->lettering_code)) {
@@ -250,15 +250,15 @@ if ($resql) {
print ' ';
print ''.$langs->trans("Total").': ' . "\n";
- print '' . price($debit) . ' ';
- print '' . price($credit) . ' ';
+ print '' . price($debit) . ' ';
+ print '' . price($credit) . ' ';
print ' ';
print " \n";
print '';
- print ''.$langs->trans("Balancing").': ' . "\n";
+ print ''.$langs->trans("Balancing").': ' . "\n";
print ' ';
- print '' . price($credit - $debit) . ' ';
+ print '' . price($credit - $debit) . ' ';
print ' ';
print " \n";
diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
index 8cd51847b1e..27d04962e1b 100644
--- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
+++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
@@ -212,7 +212,7 @@ if ($resql) {
print ' ';
print ' ';
print ' ';
- print '';
+ print ' ';
$searchpicto=$form->showFilterButtons();
print $searchpicto;
print ' ';
@@ -238,9 +238,9 @@ if ($resql) {
print '' . dol_print_date($db->jdate($obj->doc_date), 'day') . ' ';
print '' . $obj->doc_ref . ' ';
print '' . $obj->label_compte . ' ';
- print '' . price($obj->debit) . ' ';
- print '' . price($obj->credit) . ' ';
- print '' . price(round($solde, 2)) . ' ';
+ print '' . price($obj->debit) . ' ';
+ print '' . price($obj->credit) . ' ';
+ print '' . price(round($solde, 2)) . ' ';
print '' . $obj->code_journal . ' ';
if (empty($obj->lettering_code)) {
@@ -252,16 +252,16 @@ if ($resql) {
}
print '';
- print ''.$langs->trans("Total").': ' . "\n";
- print '' . price($debit) . ' ';
- print '' . price($credit) . ' ';
+ print ''.$langs->trans("Total").': ' . "\n";
+ print '' . price($debit) . ' ';
+ print '' . price($credit) . ' ';
print ' ';
print " \n";
print '';
- print ''.$langs->trans("Balancing").': ' . "\n";
+ print ''.$langs->trans("Balancing").': ' . "\n";
print ' ';
- print '' . price($credit - $debit) . ' ';
+ print '' . price($credit - $debit) . ' ';
print ' ';
print " \n";