Fixed header sales order inquiry table header for various display modes.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 28 Mar 2008 16:44:18 +0000 (16:44 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 28 Mar 2008 16:44:18 +0000 (16:44 +0000)
CHANGELOG.txt
sales/inquiry/sales_orders_view.php

index 97335f37e1ee76b5a770022e0daad785437ab7d2..cac60bf67622b53dcdaae7decf08f39abfac7af7 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+28-Mar-2008 Janusz Dobrowolski
+# Fixed headers for various display mode
+$  /sales/inquiry/sales_orders_view.php
+
 28-Mar-2008 Joe Hunt
 + Added print document options in inquiries.
 $ /sales/inquiry/customer_inquiry.php
@@ -41,7 +45,7 @@ $ /reporting/rep101.php
 
 28-Mar-2008 Janusz Dobrowolski
 # Layout/focus fixes for no_[customer/supplier/item]_list option on
-   /includes/ui/ui_lists.inc
+$  /includes/ui/ui_lists.inc
    /purchasing/includes/ui/po_ui.inc
    /sales/credit_note_entry.php
    /sales/sales_order_entry.php
index 6ad10c1da95ec053cb3bea209fe875392637a3ca..e2887fea9d67783ca39d82574b92e87cc7a4bba7 100644 (file)
@@ -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();