X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep110.php;h=5924f88075c9652b5f3b58ba2beadb8ad5b061de;hb=5d023098e6b5a31416949f00c66ffa28ed3cb589;hp=18ed866a00bc685143e356e4ff079d3c60a4608b;hpb=ec58402529d7c61843274582de9174cbb2e56679;p=fa-stable.git diff --git a/reporting/rep110.php b/reporting/rep110.php index 18ed866a..5924f880 100644 --- a/reporting/rep110.php +++ b/reporting/rep110.php @@ -92,7 +92,7 @@ function print_deliveries() $rep->filename = "Packing_slip" . $myrow['reference'] . ".pdf"; } } - $rep->currency = $cur; + $rep->currency = ($cur == null ? "USD" : $cur); $rep->Font(); $rep->Info($params, $cols, null, $aligns); @@ -158,7 +158,7 @@ function print_deliveries() $rep->NewLine(); if ($myrow['ov_freight'] != 0.0) { - $DisplayFreight = number_format2($sign*$myrow["ov_freight"],$dec); + $DisplayFreight = number_format2($myrow["ov_freight"],$dec); $rep->TextCol(3, 6, _("Shipping"), -2); $rep->TextCol(6, 7, $DisplayFreight, -2); $rep->NewLine();