Skip to content

Commit

Permalink
Update sellsjournal.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 12, 2019
1 parent eefd30f commit 1e87635
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions htdocs/accountancy/journal/sellsjournal.php
Expand Up @@ -725,8 +725,8 @@ function writebookkeeping() {
print "<td>" . $langs->trans("AccountAccounting") . "</td>";
print "<td>" . $langs->trans("SubledgerAccount") . "</td>";
print "<td>" . $langs->trans("LabelOperation") . "</td>";
print "<td class='minwidth100 center'>" . $langs->trans("Debit") . "</td>";
print "<td class='minwidth100 center'>" . $langs->trans("Credit") . "</td>";
print '<td class="center">' . $langs->trans("Debit") . "</td>";
print '<td class="center">' . $langs->trans("Credit") . "</td>";
print "</tr>\n";

$r = '';
Expand Down Expand Up @@ -829,8 +829,8 @@ function writebookkeeping() {
else print $accountoshow;
print '</td>';
print "<td>" . $companystatic->getNomUrl(0, 'customer', 16) . ' - ' . $invoicestatic->ref . ' - ' . $langs->trans("SubledgerAccount") . "</td>";
print '<td class="minwidth100 right">' . ($mt >= 0 ? price($mt) : '') . "</td>";
print '<td class="minwidth100 right">' . ($mt < 0 ? price(- $mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt >= 0 ? price($mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt < 0 ? price(- $mt) : '') . "</td>";
print "</tr>";
//}
}
Expand Down Expand Up @@ -861,8 +861,8 @@ function writebookkeeping() {
$companystatic->id = $tabcompany[$key]['id'];
$companystatic->name = $tabcompany[$key]['name'];
print "<td>" . $companystatic->getNomUrl(0, 'customer', 16) . ' - ' . $invoicestatic->ref . ' - ' . $accountingaccount->label . "</td>";
print "<td class='minwidth100 right'>" . ($mt < 0 ? price(- $mt) : '') . "</td>";
print "<td class='minwidth100 right'>" . ($mt >= 0 ? price($mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt < 0 ? price(- $mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt >= 0 ? price($mt) : '') . "</td>";
print "</tr>";
//}
}
Expand Down Expand Up @@ -895,8 +895,8 @@ function writebookkeeping() {
print '</td>';
print "<td>" . $companystatic->getNomUrl(0, 'customer', 16) . ' - ' . $invoicestatic->ref . ' - ' . $langs->trans("VAT"). ' '.join(', ', $def_tva[$key][$k]).' %'.($numtax?' - Localtax '.$numtax:'');
print "</td>";
print '<td class="minwidth100 right">' . ($mt < 0 ? price(- $mt) : '') . "</td>";
print '<td class="minwidth100 right">' . ($mt >= 0 ? price($mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt < 0 ? price(- $mt) : '') . "</td>";
print '<td class="right nowraponall">' . ($mt >= 0 ? price($mt) : '') . "</td>";
print "</tr>";
}
}
Expand Down

0 comments on commit 1e87635

Please sign in to comment.