$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"),
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();
//--------------------------------------------------------------------------------