|
@@ -1099,7 +1099,7 @@ class ocean_order {
|
|
|
}
|
|
}
|
|
|
$sql = "SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
$sql = "SELECT m_eta as _m_eta, h_bol as _h_bol, m_bol as _m_bol,job_no as _job_bol,
|
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|
|
o.* ,sh.*, cn.* ,aa.*,dd.*,fd.*,oo.*,
|
|
|
- (select uncode from ports where code = o.port_of_transshipment) as port_of_transshipment_un,
|
|
|
|
|
|
|
+ (select uncode from ports where code = o.port_of_transshipment) as port_of_transshipment_un
|
|
|
from ocean o
|
|
from ocean o
|
|
|
LEFT JOIN LATERAL ( SELECT tracking_no as _tracking_no,shippr_uncode,shipper_city,
|
|
LEFT JOIN LATERAL ( SELECT tracking_no as _tracking_no,shippr_uncode,shipper_city,
|
|
|
consignee_uncode,consignee_city,incoterms,
|
|
consignee_uncode,consignee_city,incoterms,
|