|
|
@@ -182,9 +182,9 @@ switch ($action) {
|
|
|
|
|
|
$date_type = strtolower($_REQUEST["date_type"]);
|
|
|
if (isset($_REQUEST['date_start']) && !empty($_REQUEST['date_start']))
|
|
|
- $sqlWhere .= " and $date_type >= '" . common::usDate2sqlDate($_REQUEST['date_start']) . " 00:00:00'";
|
|
|
+ $sqlWhere .= " and $date_type >= ''" . common::usDate2sqlDate($_REQUEST['date_start']) . " 00:00:00''";
|
|
|
if (isset($_REQUEST['date_end']) && !empty($_REQUEST['date_end']))
|
|
|
- $sqlWhere .= " and $date_type <= '" . common::usDate2sqlDate($_REQUEST['date_end']) . " 23:59:59'";
|
|
|
+ $sqlWhere .= " and $date_type <= ''" . common::usDate2sqlDate($_REQUEST['date_end']) . " 23:59:59''";
|
|
|
|
|
|
$transportation = strtolower($_REQUEST["transportation"]);
|
|
|
if(!is_array($transportation)){
|