X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fallocations%2Fsupplier_allocation_main.php;h=4796399d97770ef515a47560b6165b411abb9e6f;hb=f0f460043b9bcb6153c0f6f82d4a74433efe4ad8;hp=69d342fa9996f31e619e78252432bf3b566cc636;hpb=80dd97a37f674cc3691fa04af4c29607067566b2;p=fa-stable.git diff --git a/purchasing/allocations/supplier_allocation_main.php b/purchasing/allocations/supplier_allocation_main.php index 69d342fa..4796399d 100644 --- a/purchasing/allocations/supplier_allocation_main.php +++ b/purchasing/allocations/supplier_allocation_main.php @@ -64,7 +64,7 @@ function systype_name($dummy, $type) { global $systypes_array; - return $systypes_array[$type; + return $systypes_array[$type]; } function trans_view($trans) @@ -117,10 +117,6 @@ if (isset($_POST['customer_id'])) { $table =& new_db_pager('alloc_tbl', $sql, $cols); $table->set_marker('check_settled', _("Marked items are settled."), 'settledbg', 'settledfg'); -if (get_post('_ShowSettled_update') || get_post('_supplier_id_update') ) { - $table->set_sql($sql); - $table->set_columns($cols); -} $table->width = "80%"; start_form();