X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fcustomer_allocation_inquiry.php;h=700bb18557f4dc46bdc972b41aeee90ac31ceb6a;hb=0b0690657989cd259e5966faaac7cacbfa89cee2;hp=b02525612cdc0945fdd145f1ec92f8907667f0af;hpb=7b0f3f68c9aaeffec2f57af1160efaabf7a5abcb;p=fa-stable.git diff --git a/sales/inquiry/customer_allocation_inquiry.php b/sales/inquiry/customer_allocation_inquiry.php index b0252561..700bb185 100644 --- a/sales/inquiry/customer_allocation_inquiry.php +++ b/sales/inquiry/customer_allocation_inquiry.php @@ -31,8 +31,8 @@ start_row(); customer_list_cells(_("Select a customer: "), 'customer_id', $_POST['customer_id'], true); -date_cells(_("from:"), 'TransAfterDate', null, -30); -date_cells(_("to:"), 'TransToDate', null, 1); +date_cells(_("from:"), 'TransAfterDate', '', null, -30); +date_cells(_("to:"), 'TransToDate', '', null, 1); cust_allocations_list_cells(_("Type:"), 'filterType', null); @@ -185,8 +185,7 @@ while ($myrow = db_fetch($result)) } label_cell(systypes::name($myrow["type"])); - - label_cell(get_customer_trans_view_str($myrow["type"], $myrow["trans_no"])); + label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"])); label_cell($myrow["reference"]); label_cell($preview_order_str); label_cell(sql2date($myrow["tran_date"]), "nowrap");