css
This commit is contained in:
parent
e9d66286e0
commit
34c2b20f77
@ -322,7 +322,7 @@ if ($modecompta == 'CREANCES-DETTES') {
|
||||
// Code and Label
|
||||
print '<td class="liste_total tdoverflowmax100" title="'.dol_escape_htmltag($cat['code']).'">';
|
||||
print dol_escape_htmltag($cat['code']);
|
||||
print '</td><td class="tdoverflowmax250" title="'.dol_escape_htmltag($cat['label']).'">';
|
||||
print '</td><td class="tdoverflowmax250 borderright" title="'.dol_escape_htmltag($cat['label']).'">';
|
||||
print dol_escape_htmltag($cat['label']);
|
||||
print '</td>';
|
||||
|
||||
@ -370,7 +370,7 @@ if ($modecompta == 'CREANCES-DETTES') {
|
||||
//$r = $AccCat->calculate($result);
|
||||
$r = dol_eval($result, 1, 1, '1');
|
||||
|
||||
print '<td class="liste_total right"><span class="amount">'.price($r).'</span></td>';
|
||||
print '<td class="liste_total right borderright"><span class="amount">'.price($r).'</span></td>';
|
||||
$sommes[$code]['N'] += $r;
|
||||
|
||||
// Detail by month
|
||||
@ -519,12 +519,12 @@ if ($modecompta == 'CREANCES-DETTES') {
|
||||
} else {
|
||||
$labeltoshow .= ' - <span class="warning">'.$langs->trans("GroupIsEmptyCheckSetup").'</span>';
|
||||
}
|
||||
print '<td class="tdoverflowmax250" title="'.dol_escape_htmltag(dol_string_nohtmltag($labeltoshow)).'">';
|
||||
print '<td class="tdoverflowmax250 borderright" title="'.dol_escape_htmltag(dol_string_nohtmltag($labeltoshow)).'">';
|
||||
print $labeltoshow;
|
||||
print '</td>';
|
||||
|
||||
print '<td class="right"><span class="amount">'.price($totCat['NP']).'</span></td>';
|
||||
print '<td class="right"><span class="amount">'.price($totCat['N']).'</span></td>';
|
||||
print '<td class="right borderright"><span class="amount">'.price($totCat['N']).'</span></td>';
|
||||
|
||||
// Each month
|
||||
foreach ($totCat['M'] as $k => $v) {
|
||||
@ -549,13 +549,13 @@ if ($modecompta == 'CREANCES-DETTES') {
|
||||
if ($showaccountdetail == 'all' || $resultN != 0) {
|
||||
print '<tr>';
|
||||
print '<td></td>';
|
||||
print '<td class="tdoverflowmax250">';
|
||||
print '<td class="tdoverflowmax250 borderright">';
|
||||
print ' '.length_accountg($cpt['account_number']);
|
||||
print ' - ';
|
||||
print $cpt['account_label'];
|
||||
print '</td>';
|
||||
print '<td class="right"><span class="amount">'.price($resultNP).'</span></td>';
|
||||
print '<td class="right"><span class="amount">'.price($resultN).'</span></td>';
|
||||
print '<td class="right borderright"><span class="amount">'.price($resultN).'</span></td>';
|
||||
|
||||
// Make one call for each month
|
||||
foreach ($months as $k => $v) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user