X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocation_main.php;h=ee373036ac4be6b18e9a4589063ae6b31954582a;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=4ba875bd9524161fa9ab081e0223281a28cbe007;hpb=e000d0b3fb245b02de604356b1f60c65b5f4962f;p=fa-stable.git diff --git a/sales/allocations/customer_allocation_main.php b/sales/allocations/customer_allocation_main.php index 4ba875bd..ee373036 100644 --- a/sales/allocations/customer_allocation_main.php +++ b/sales/allocations/customer_allocation_main.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $path_to_root="../.."; $page_security = 3; include($path_to_root . "/includes/db_pager.inc"); @@ -74,13 +83,12 @@ function alloc_link($row) { return pager_link(_("Allocate"), "/sales/allocations/customer_allocate.php?trans_no=" - .$row["trans_no"] . "&trans_type=" . $row["type"] - ); + .$row["trans_no"] . "&trans_type=" . $row["type"], ICON_MONEY); } function amount_left($row) { - return $row["Total"]-$row["alloc"]; + return price_format($row["Total"]-$row["alloc"]); } function check_settled($row) @@ -95,7 +103,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', @@ -115,6 +123,7 @@ if (get_post('_ShowSettled_update') || get_post('_customer_id_update')) { $table->set_sql($sql); $table->set_columns($cols); } +$table->width = "75%"; display_db_pager($table); end_form();