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