X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocation_main.php;h=ee373036ac4be6b18e9a4589063ae6b31954582a;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=c3c3c3af8af9fa3518ebc0af09979f533100d1ca;hpb=b956923926de6b7eecf57510cf86857354cac1b3;p=fa-stable.git diff --git a/sales/allocations/customer_allocation_main.php b/sales/allocations/customer_allocation_main.php index c3c3c3af..ee373036 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; @@ -88,7 +88,7 @@ function alloc_link($row) function amount_left($row) { - return $row["Total"]-$row["alloc"]; + return price_format($row["Total"]-$row["alloc"]); } function check_settled($row) @@ -103,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', @@ -123,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();