Skip to content

Commit

Permalink
Merge pull request Dolibarr#27751 from Slordef/18.0-currency-propal-s…
Browse files Browse the repository at this point in the history
…ignature

FIX: use the currency for propal signature page
  • Loading branch information
eldy authored Jan 31, 2024
2 parents b99efb2 + e644782 commit 2e620ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htdocs/public/onlinesign/newonlinesign.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,13 @@
print '</td></tr>'."\n";

// Amount

$amount = '<tr class="CTableRow2"><td class="CTableRow2">'.$langs->trans("Amount");
$amount .= '</td><td class="CTableRow2">';
$amount .= '<b>'.price($object->total_ttc, 0, $langs, 1, -1, -1, $conf->currency).'</b>';
if ($object->multicurrency_code != $conf->currency) {
$amount .= ' ('.price($object->multicurrency_total_ttc, 0, $langs, 1, -1, -1, $object->multicurrency_code).')';
}
$amount .= '</td></tr>'."\n";

// Call Hook amountPropalSign
Expand Down

0 comments on commit 2e620ba

Please sign in to comment.