X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=sales%2Finquiry%2Fcustomer_inquiry.php;h=eb98d3dad278b040f247b8df3a2f75d7d4dd7bb7;hp=feede0bd8242eda1e1d577fd52a825bcccf7816c;hb=5d8f36d15260bfd9215315935af86b7d96065489;hpb=ca3af895c069979d693a98c49255a48664061cd4 diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index feede0bd..eb98d3da 100644 --- a/sales/inquiry/customer_inquiry.php +++ b/sales/inquiry/customer_inquiry.php @@ -160,6 +160,7 @@ if ($_POST['filterType'] != '2') date_cells(_("From:"), 'TransAfterDate', '', null, -user_transaction_days()); date_cells(_("To:"), 'TransToDate', '', null); } +check_cells(_("Zero values"), 'show_voided'); submit_cells('RefreshInquiry', _("Search"),'',_('Refresh Inquiry'), 'default'); end_row(); @@ -184,7 +185,7 @@ if (get_post('RefreshInquiry') || list_updated('filterType')) } //------------------------------------------------------------------------------------------------ $sql = get_sql_for_customer_inquiry(get_post('TransAfterDate'), get_post('TransToDate'), - get_post('customer_id'), get_post('filterType')); + get_post('customer_id'), get_post('filterType'), check_value('show_voided')); //------------------------------------------------------------------------------------------------ //db_query("set @bal:=0");