X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_dispatch.php;h=8c1b031332ee13c4c50f6321c65019f8388f6071;hb=66cfb670d9261ad0364a91822dc0766de1620799;hp=300c67f4d39140026a3b21fa49345281eae450aa;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/sales/view/view_dispatch.php b/sales/view/view_dispatch.php index 300c67f4..8c1b0313 100644 --- a/sales/view/view_dispatch.php +++ b/sales/view/view_dispatch.php @@ -149,10 +149,11 @@ if (db_num_rows($result) > 0) } else display_note(_("There are no line items on this dispatch."), 1, 2); - -$display_freight = price_format($myrow["ov_freight"]); - -label_row(_("Shipping"), $display_freight, "colspan=6 align=right", "nowrap align=right"); +if ($myrow['ov_freight'] != 0.0) +{ + $display_freight = price_format($myrow["ov_freight"]); + label_row(_("Shipping"), $display_freight, "colspan=6 align=right", "nowrap align=right"); +} $tax_items = get_trans_tax_details(ST_CUSTDELIVERY, $trans_id); display_customer_trans_tax_details($tax_items, 6);