X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=sales%2Fview%2Fview_sales_order.php;h=5c925b26c676f5abf0ab852750d216ec11eba387;hp=3276b9582b89fb0a45e391dc207b98dbdac431a5;hb=805b766842402a275c6bd0526df5278af03138ed;hpb=fbfb1ee42fac43d2e149eaad52de19becfc10034 diff --git a/sales/view/view_sales_order.php b/sales/view/view_sales_order.php index 3276b958..5c925b26 100644 --- a/sales/view/view_sales_order.php +++ b/sales/view/view_sales_order.php @@ -224,8 +224,9 @@ foreach ($_SESSION['View']->line_items as $stock_item) { end_row(); } -label_row(_("Shipping"), price_format($_SESSION['View']->freight_cost), - "align=right colspan=6", "nowrap align=right", 1); +if ($_SESSION['View']->freight_cost != 0.0) + label_row(_("Shipping"), price_format($_SESSION['View']->freight_cost), + "align=right colspan=6", "nowrap align=right", 1); $sub_tot = $_SESSION['View']->get_items_total() + $_SESSION['View']->freight_cost;