Fixed start order in initialy sorted pagers.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index 5f5482f9fe6565b749c0650a972bdd9e11253c7c..cb88dd45652c4bcf1750ed701c4e6d9cbb5420c6 100644 (file)
@@ -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();