|
|
@@ -4902,7 +4902,7 @@ class common {
|
|
|
$needContainerData = true;
|
|
|
}
|
|
|
|
|
|
- $needCustomerSQL = " ";
|
|
|
+ $needCustomerSQL = "";
|
|
|
if($needCustomer){
|
|
|
$needCustomerSQL = " case when oo.order_from ='public' and oo.transport_mode ='sea' then (select customer_code from public.ocean_extend ex where ex.serial_no = oo.serial_no limit 1)
|
|
|
when oo.order_from ='sfs' and oo.transport_mode ='sea' then (select customer_code from sfs.ocean_extend ex where ex.serial_no = oo.serial_no limit 1)
|
|
|
@@ -4912,7 +4912,7 @@ class common {
|
|
|
end as \"Controlling Customer\", ";
|
|
|
}
|
|
|
|
|
|
- $needteuSQL = " ";
|
|
|
+ $needteuSQL = "";
|
|
|
if($needteu){
|
|
|
$needteuSQL = " CASE
|
|
|
WHEN oe.manifest_type in ('LCL','GPE','CIL','COL') THEN 0::numeric
|