X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocation_main.php;h=b0c67256423967e3397f0b739b655d5484cf311e;hb=8259c324f645a39cb847d5a4346b70e225e1b02c;hp=8d85e42317e8713d9aef77f8c3e93012d9de1548;hpb=0c1bcd8ce3c089d7ddb3722a097f8fc8417f41e6;p=fa-stable.git diff --git a/sales/allocations/customer_allocation_main.php b/sales/allocations/customer_allocation_main.php index 8d85e423..b0c67256 100644 --- a/sales/allocations/customer_allocation_main.php +++ b/sales/allocations/customer_allocation_main.php @@ -56,7 +56,7 @@ function display_allocatable_transactions() $customer_id = $_POST['customer_id']; $trans_items = get_allocatable_from_cust_transactions($customer_id, $settled); - + div_start('alloc_tbl'); start_table($table_style); if (!isset($_POST['customer_id'])) $th = array(_("Transaction Type"), _("#"), _("Reference"), _("Date"), _("Customer"), @@ -107,12 +107,14 @@ function display_allocatable_transactions() if (db_num_rows($trans_items) == 0) display_note(_("There are no allocations to be done."), 1, 2); - + div_end(); end_form(); } //-------------------------------------------------------------------------------- - +if (get_post('_ShowSettled_update')) { + $Ajax->activate('alloc_tbl'); +} display_allocatable_transactions(); //--------------------------------------------------------------------------------