From: Janusz Dobrowolski Date: Sat, 24 Nov 2012 10:20:53 +0000 (+0100) Subject: Added option to sort by customer and order number in customer allocations. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=43c2bbe4eca53d0e4cca99b3fc90059e3f91c91a;p=textcart.git Added option to sort by customer and order number in customer allocations. --- diff --git a/sales/inquiry/customer_allocation_inquiry.php b/sales/inquiry/customer_allocation_inquiry.php index e7b0ca2..66bbb58 100644 --- a/sales/inquiry/customer_allocation_inquiry.php +++ b/sales/inquiry/customer_allocation_inquiry.php @@ -139,15 +139,14 @@ function fmt_credit($row) $sql = get_sql_for_customer_allocation_inquiry(); //------------------------------------------------------------------------------------------------ - $cols = array( _("Type") => array('fun'=>'systype_name'), _("#") => array('fun'=>'view_link'), _("Reference"), - _("Order") => array('fun'=>'order_link'), + _("Order") => array('fun'=>'order_link', 'ord'=>''), _("Date") => array('name'=>'tran_date', 'type'=>'date', 'ord'=>'asc'), _("Due Date") => array('type'=>'date', 'fun'=>'due_date'), - _("Customer"), + _("Customer") => array('name' =>'name', 'ord'=>'asc'), _("Currency") => array('align'=>'center'), _("Debit") => array('align'=>'right','fun'=>'fmt_debit'), _("Credit") => array('align'=>'right','insert'=>true, 'fun'=>'fmt_credit'),