X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocation_main.php;h=e874d53d3879c03ce968558f39e03f68b18e1e43;hb=389721f442ea4dc96ba1cafd65919e717e0d8746;hp=3489004d87ce44e4854e38010bb3c8582a0690bf;hpb=795cb201893b54ea61d93b74b20fa09df515c310;p=fa-stable.git diff --git a/sales/allocations/customer_allocation_main.php b/sales/allocations/customer_allocation_main.php index 3489004d..e874d53d 100644 --- a/sales/allocations/customer_allocation_main.php +++ b/sales/allocations/customer_allocation_main.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $path_to_root="../.."; $page_security = 3; @@ -22,13 +22,6 @@ if ($use_popup_windows) page(_("Customer Allocations"), false, false, "", $js); //-------------------------------------------------------------------------------- -if ($ret = context_restore()) { - if(isset($ret['customer_id'])) - $_POST['customer_id'] = $ret['customer_id']; -} -if (isset($_POST['_customer_id_editor'])) { - context_call($path_to_root.'/sales/manage/customers.php?debtor_no='.$_POST['customer_id'] ); -} start_form(); /* show all outstanding receipts and credits to be allocated */ @@ -103,7 +96,7 @@ $cols = array( _("Transaction Type") => array('fun'=>'systype_name'), _("#") => array('fun'=>'trans_view'), _("Reference"), - _("Date") => array('type'=>'date', 'ord'=>'asc'), + _("Date") => array('name'=>'tran_date', 'type'=>'date', 'ord'=>'asc'), _("Customer") => array('ord'=>''), _("Currency") => array('align'=>'center'), _("Total") => 'amount',