diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index e2381605306..8ff14a88f79 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -123,12 +123,12 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire) print_liste_field_titre("PeriodEndDate", $_SERVER["PHP_SELF"], "cs.date_ech", "", $param, 'width="140px"', $sortfield, $sortorder); print_liste_field_titre("Label", $_SERVER["PHP_SELF"], "c.libelle", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("Type", $_SERVER["PHP_SELF"], "cs.fk_type", "", $param, '', $sortfield, $sortorder); - print_liste_field_titre("ExpectedToPay", $_SERVER["PHP_SELF"], "cs.amount", "", $param, 'align="right"', $sortfield, $sortorder); + print_liste_field_titre("ExpectedToPay", $_SERVER["PHP_SELF"], "cs.amount", "", $param, 'class="right"', $sortfield, $sortorder); print_liste_field_titre("RefPayment", $_SERVER["PHP_SELF"], "pc.rowid", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("DatePayment", $_SERVER["PHP_SELF"], "pc.datep", "", $param, 'align="center"', $sortfield, $sortorder); print_liste_field_titre("Type", $_SERVER["PHP_SELF"], "pct.code", "", $param, '', $sortfield, $sortorder); if (! empty($conf->banque->enabled)) print_liste_field_titre("Account", $_SERVER["PHP_SELF"], "ba.label", "", $param, "", $sortfield, $sortorder); - print_liste_field_titre("PayedByThisPayment", $_SERVER["PHP_SELF"], "pc.amount", "", $param, 'align="right"', $sortfield, $sortorder); + print_liste_field_titre("PayedByThisPayment", $_SERVER["PHP_SELF"], "pc.amount", "", $param, 'class="right"', $sortfield, $sortorder); print "\n"; $sql = "SELECT c.id, c.libelle as lib,"; @@ -226,12 +226,12 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire) $i++; } print '
| '.$langs->trans("Year").' | '; -print ''.$langs->trans("NumberOfBills").' | '; -print '% | '; -print ''.$langs->trans("AmountTotal").' | '; -print '% | '; -print ''.$langs->trans("AmountAverage").' | '; -print '% | '; +print ''.$langs->trans("NumberOfBills").' | '; +print '% | '; +print ''.$langs->trans("AmountTotal").' | '; +print '% | '; +print ''.$langs->trans("AmountAverage").' | '; +print '% | '; print '
| 0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$oldyear.' | '; - print '0 | '; - print ''; - print ' | 0 | '; - print ''; - print ' | 0 | '; - print ''; + print ' | 0 | '; + print ''; + print ' | 0 | '; + print ''; + print ' | 0 | '; + print ''; print ' |
| 0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$year.' | '; - print ''.$val['nb'].' | '; - print ''.round($val['nb_diff']).' | '; - print ''.price(price2num($val['total'], 'MT'), 1).' | '; - print ''.round($val['total_diff']).' | '; - print ''.price(price2num($val['avg'], 'MT'), 1).' | '; - print ''.round($val['avg_diff']).' | '; + print ''.$val['nb'].' | '; + print ''.round($val['nb_diff']).' | '; + print ''.price(price2num($val['total'], 'MT'), 1).' | '; + print ''.round($val['total_diff']).' | '; + print ''.price(price2num($val['avg'], 'MT'), 1).' | '; + print ''.round($val['avg_diff']).' | '; print 'getNomUrl(1); ?> | ref_client; ?> | date, 'day'); ?> | -rights->facture->lire) {
$sign = 1;
if ($object->type == Facture::TYPE_CREDIT_NOTE) $sign = -1;
@@ -65,8 +65,8 @@ foreach($linkedObjectBlock as $key => $objectlink)
echo ' |
- getLibStatut(3); ?> | -id.'&action=dellink&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> | +getLibStatut(3); ?> | +id.'&action=dellink&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> | 1)- | - | - | + | + | + | $objectlink) | getNomUrl(1); ?> | date_when, 'day'); ?> | -rights->facture->lire) { $total = $total + $objectlink->total_ht; echo price($objectlink->total_ht); } ?> | -getLibStatut(3); ?> | -id.'&action=dellink&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> | +getLibStatut(3); ?> | +id.'&action=dellink&dellinkid='.$key; ?>">transnoentitiesnoconv("RemoveLink"), 'unlink'); ?> | 1)- | - | - | + | + | + |