X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fallocations%2Fsupplier_allocation_main.php;h=f13b7593e09e2cff40e7c57ae2c039fdf1cc21a7;hb=eb5b2d3ee7cc0fca5ec63dfada65ecf23b693e85;hp=69be12080bf6e6ce0d782f699b22879366db9c07;hpb=b956923926de6b7eecf57510cf86857354cac1b3;p=fa-stable.git diff --git a/purchasing/allocations/supplier_allocation_main.php b/purchasing/allocations/supplier_allocation_main.php index 69be1208..f13b7593 100644 --- a/purchasing/allocations/supplier_allocation_main.php +++ b/purchasing/allocations/supplier_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 amount_total($row) @@ -108,7 +108,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'), _("Supplier") => array('ord'=>''), _("Currency") => array('align'=>'center'), _("Total") => 'amount', @@ -128,6 +128,7 @@ if (get_post('_ShowSettled_update') || get_post('_supplier_id_update') ) { $table->set_sql($sql); $table->set_columns($cols); } +$table->width = "80%"; start_form(); display_db_pager($table);