Skip to content

Commit

Permalink
Update listbyaccount.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 11, 2019
1 parent d43f2bb commit fbc4e3b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions htdocs/accountancy/bookkeeping/listbyaccount.php
Expand Up @@ -397,25 +397,27 @@
$i++;
}

// Affiche un Sous-Total du dernier compte comptable affiché
// Show sub-total of last shown account
print '<tr class="liste_total">';
print '<td class="right" colspan="5">'.$langs->trans("SubTotal").':</td><td class="nowrap right">'.price($sous_total_debit).'</td><td class="nowrap right">'.price($sous_total_credit).'</td>';
print '<td colspan="2" class="nowrap right">';
print '<td class="nowraponall right">';
print price($sous_total_debit - $sous_total_credit);
print '</td>\n';
print '</td>';
print '<td></td>';
print '</tr>';


// Affiche le Total
// Show total
print '<tr class="liste_total">';
print '<td class="right" colspan="5">'.$langs->trans("Total").':</td>';
print '<td class="nowrap right">';
print '<td class="nowraponall right">';
print price($total_debit);
print '</td>';
print '<td class="nowrap right">';
print '<td class="nowraponall right">';
print price($total_credit);
print '</td>';
print '<td colspan="2"></td>';
print '<td></td>';
print '<td></td>';
print '</tr>';

print "</table>";
Expand Down

0 comments on commit fbc4e3b

Please sign in to comment.