X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sales%2Fview%2Fview_dispatch.php;h=9e499eda7474c13d6d7f61ec76974ec81be12226;hb=0da4935c1fb5b588bfd7ead31f05069c9566eb8d;hp=9bd01beb5927e08d8b0f74c465609bb14fe81d55;hpb=b6af4ea4c99734cfd051395289107bbba5a405e9;p=fa-stable.git diff --git a/sales/view/view_dispatch.php b/sales/view/view_dispatch.php index 9bd01beb..9e499eda 100644 --- a/sales/view/view_dispatch.php +++ b/sales/view/view_dispatch.php @@ -1,7 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_SALESTRANSVIEW'; +$path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/sales/includes/sales_ui.inc"); @@ -29,7 +38,7 @@ $myrow = get_customer_trans($trans_id, 13); $branch = get_branch($myrow["branch_code"]); -$sales_order = get_sales_order_header($myrow["order_"]); +$sales_order = get_sales_order_header($myrow["order_"], 30); display_heading(sprintf(_("DISPATCH NOTE #%d"),$trans_id)); @@ -146,7 +155,7 @@ label_row(_("Sub-total"), $display_sub_tot, "colspan=6 align=right", "nowrap align=right width=15%"); label_row(_("Shipping"), $display_freight, "colspan=6 align=right", "nowrap align=right"); -$tax_items = get_customer_trans_tax_details(13, $trans_id); +$tax_items = get_trans_tax_details(13, $trans_id); display_customer_trans_tax_details($tax_items, 6); $display_total = price_format($myrow["ov_freight"]+$myrow["ov_amount"]+$myrow["ov_freight_tax"]+$myrow["ov_gst"]);