Skip to content

Commit

Permalink
Debug v20
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 20, 2024
1 parent 33a2c49 commit 0dbc872
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_crabe.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs
}

// Revenue stamp
if (price2num($object->revenuestamp) != 0) {
if (price2num($object->revenuestamp, 'MT') != 0) {
$index++;
$pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell($col2x - $col1x, $tab2_hl, $outputlangs->transnoentities("RevenueStamp"), $useborder, 'L', 1);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_octopus.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ protected function drawTotalTable(&$pdf, $object, $deja_regle, $posy, $outputlan


// Revenue stamp
if (price2num($object->revenuestamp) != 0) {
if (price2num($object->revenuestamp, 'MT') != 0) {
$index++;
$pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell($col2x - $col1x, $tab2_hl, $outputlangs->transnoentities("RevenueStamp").(is_object($outputlangsbis) ? ' / '.$outputlangsbis->transnoentities("RevenueStamp", $mysoc->country_code) : ''), $useborder, 'L', 1);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_sponge.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ protected function drawTotalTable(&$pdf, $object, $deja_regle, $posy, $outputlan
}

// Revenue stamp
if (price2num($object->revenuestamp) != 0) {
if (price2num($object->revenuestamp, 'MT') != 0) {
$index++;
$pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell($col2x - $col1x, $tab2_hl, $outputlangs->transnoentities("RevenueStamp").(is_object($outputlangsbis) ? ' / '.$outputlangsbis->transnoentities("RevenueStamp", $mysoc->country_code) : ''), $useborder, 'L', 1);
Expand Down

0 comments on commit 0dbc872

Please sign in to comment.