|
@@ -100,17 +100,17 @@ switch ($action) {
|
|
|
}
|
|
}
|
|
|
//特殊处理book,需要加二级菜
|
|
//特殊处理book,需要加二级菜
|
|
|
if($v['s_column'] =="Ocean Booking"){
|
|
if($v['s_column'] =="Ocean Booking"){
|
|
|
- $urlData = $menuSetting[$v['s_column']];
|
|
|
|
|
- $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
|
|
|
|
|
- // $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
|
|
|
|
|
- // $children = array();
|
|
|
|
|
-
|
|
|
|
|
// $urlData = $menuSetting[$v['s_column']];
|
|
// $urlData = $menuSetting[$v['s_column']];
|
|
|
- // $children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
|
|
|
|
|
- // $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
|
|
|
|
|
- // $bookingManagement["children"] = $children;
|
|
|
|
|
- // $menuList[] = $bookingManagement;
|
|
|
|
|
- // $index = $index + 1;
|
|
|
|
|
|
|
+ // $menuList[] = array("index"=>"$index","label"=>$urlData['label'],"icon"=>$urlData['icon'],"path"=>$urlData['path']);
|
|
|
|
|
+ $bookingManagement = array("index"=>"$index","label"=>"Booking","icon"=>"icon_booking__fill_b","type"=>"list");
|
|
|
|
|
+ $children = array();
|
|
|
|
|
+
|
|
|
|
|
+ $urlData = $menuSetting[$v['s_column']];
|
|
|
|
|
+ $children[] = array("index"=>$index.'-1',"label"=>"Booking Management","path"=>$urlData['path']);
|
|
|
|
|
+ $children[] = array("index"=>$index.'-2',"label"=>"Destination Delivery","path"=>"/destination-delivery");
|
|
|
|
|
+ $bookingManagement["children"] = $children;
|
|
|
|
|
+ $menuList[] = $bookingManagement;
|
|
|
|
|
+ $index = $index + 1;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -159,6 +159,8 @@ switch ($action) {
|
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
$sqlWhere .= common::getDashboardTransportationSqlWhere();
|
|
$sqlWhere .= common::getDashboardTransportationSqlWhere();
|
|
|
|
|
+ $sqlWhere .= common::getDashboardContactIDSqlWhere();
|
|
|
|
|
+
|
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
|
|
|
// $list = common::excuteListSql("select * from public.online_order_status_date_kln_pending('$type'::text, '$sqlWhere'::text) "
|
|
// $list = common::excuteListSql("select * from public.online_order_status_date_kln_pending('$type'::text, '$sqlWhere'::text) "
|
|
@@ -220,6 +222,7 @@ switch ($action) {
|
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
$sqlWhere = $sqlWhere . common::getDashboardTransportationSqlWhere();
|
|
$sqlWhere = $sqlWhere . common::getDashboardTransportationSqlWhere();
|
|
|
|
|
+ $sqlWhere .= common::getDashboardContactIDSqlWhere();
|
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
|
|
|
// $list = common::excuteListSql("select * from public.online_order_status_date_kln_r1_r2('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text,'$date_type'::text) "
|
|
// $list = common::excuteListSql("select * from public.online_order_status_date_kln_r1_r2('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text,'$date_type'::text) "
|
|
@@ -266,6 +269,7 @@ switch ($action) {
|
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
$sqlWhere = $sqlWhere . common::getDashboardTransportationSqlWhere();
|
|
$sqlWhere = $sqlWhere . common::getDashboardTransportationSqlWhere();
|
|
|
|
|
+ $sqlWhere .= common::getDashboardContactIDSqlWhere();
|
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
|
|
|
$date_type = strtolower($_REQUEST["date_type"]);
|
|
$date_type = strtolower($_REQUEST["date_type"]);
|
|
@@ -347,6 +351,7 @@ switch ($action) {
|
|
|
$list= array();
|
|
$list= array();
|
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
+ $sqlWhere .= common::getDashboardContactIDSqlWhere("container_bar");
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
//这个20 40 45都查询出来。否则值查询都对应的size,其他的不查询
|
|
//这个20 40 45都查询出来。否则值查询都对应的size,其他的不查询
|
|
|
$value_arr = common::excuteListSql("select * from public.online_order_status_date_kln_r1_r2('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text, '$date_type'::text) "
|
|
$value_arr = common::excuteListSql("select * from public.online_order_status_date_kln_r1_r2('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text, '$date_type'::text) "
|
|
@@ -603,6 +608,7 @@ switch ($action) {
|
|
|
|
|
|
|
|
$sqlWhere = ' where ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' where ' . common::searchExtendHand_KLN("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere .= common::getDashboardTransportationSqlWhere();
|
|
$sqlWhere .= common::getDashboardTransportationSqlWhere();
|
|
|
|
|
+ $sqlWhere .= common::getDashboardContactIDSqlWhere();
|
|
|
|
|
|
|
|
// test dome
|
|
// test dome
|
|
|
// $_POST['is_default'] = "no";
|
|
// $_POST['is_default'] = "no";
|