X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_dispatch.php;h=9e499eda7474c13d6d7f61ec76974ec81be12226;hb=7202616e85a0fb8907ced404e418d8a16a5ed53a;hp=d2edafca6282988bb9d88bdb0ac930064854c215;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/sales/view/view_dispatch.php b/sales/view/view_dispatch.php index d2edafca..9e499eda 100644 --- a/sales/view/view_dispatch.php +++ b/sales/view/view_dispatch.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 1; -$path_to_root="../.."; +$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"); @@ -38,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));