diff --git a/wms/estimated_shipping_date_report.php b/wms/estimated_shipping_date_report.php index c08a0759..9872d265 100644 --- a/wms/estimated_shipping_date_report.php +++ b/wms/estimated_shipping_date_report.php @@ -1,5 +1,5 @@ = '$start_y-$start_m-0' AND real_contract_arrival_date <= '$end_y-$end_m-0' ) AS new_order @@ -172,6 +174,7 @@ $sql = " w.renovate_type FROM wipwholestatus AS w WHERE 1=1 + AND status = '1' AND real_contract_arrival_date >= '$start_y-$start_m-0' AND real_contract_arrival_date <= '$end_y-$end_m-0' AND contract_type = 'B'