X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fsales_orders_view.php;h=82c103958d9c8b8e8ddb9d05174d4e7083a3afac;hb=0ddbffd3121056b6cf10dbd715d72d10fffdf253;hp=6ad10c1da95ec053cb3bea209fe875392637a3ca;hpb=7d866f768b8be95c82ab0664721da9ca09c7604f;p=fa-stable.git diff --git a/sales/inquiry/sales_orders_view.php b/sales/inquiry/sales_orders_view.php index 6ad10c1d..82c10395 100644 --- a/sales/inquiry/sales_orders_view.php +++ b/sales/inquiry/sales_orders_view.php @@ -71,8 +71,8 @@ start_row(); ref_cells(_("#:"), 'OrderNumber'); if ($_POST['order_view_mode'] != 'DeliveryTemplates' && $_POST['order_view_mode'] != 'InvoiceTemplates') { - date_cells(_("from:"), 'OrdersAfterDate', null, -30); - date_cells(_("to:"), 'OrdersToDate', null, 1); + date_cells(_("from:"), 'OrdersAfterDate', '', null, -30); + date_cells(_("to:"), 'OrdersToDate', '', null, 1); } locations_list_cells(_("Location:"), 'StockLocation', null, true); @@ -172,12 +172,15 @@ if ($result) start_table("$table_style colspan=6 width=95%"); $th = array(_("Order #"), _("Customer"), _("Branch"), _("Cust Order #"), _("Order Date"), - _("Required By"), _("Delivery To"), _("Order Total"), _("Currency"), _("Tmpl"),"", ""); + _("Required By"), _("Delivery To"), _("Order Total"), _("Currency"), ""); if($_POST['order_view_mode']=='InvoiceTemplates' || $_POST['order_view_mode']=='DeliveryTemplates') { $th[3] = _('Description'); - } + } elseif ($_POST['order_view_mode'] != 'OutstandingOnly') { + $th[9] = _('Tmpl'); + $th[] =''; $th[] =''; + } table_header($th); start_form(); @@ -234,7 +237,7 @@ if ($result) else { echo "