|
|
@ -82,7 +82,8 @@ class Vendor_money_model extends CI_Model {
|
|
|
|
) as order_total_receipt,
|
|
|
|
) as order_total_receipt,
|
|
|
|
(select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo
|
|
|
|
(select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo
|
|
|
|
where DeleteFlag=0 and GAI_COLI_SN=COLI_SN
|
|
|
|
where DeleteFlag=0 and GAI_COLI_SN=COLI_SN
|
|
|
|
and GAI_Type not in (" . PAY_OTHER . ")
|
|
|
|
--and GAI_Type not in (" . PAY_OTHER . ")
|
|
|
|
|
|
|
|
and isnull(GAI_VEI_SN,30561) = 30561
|
|
|
|
) as ht_origin,
|
|
|
|
) as ht_origin,
|
|
|
|
(select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo
|
|
|
|
(select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo
|
|
|
|
where DeleteFlag=0 and GAI_COLI_SN=COLI_SN
|
|
|
|
where DeleteFlag=0 and GAI_COLI_SN=COLI_SN
|
|
|
|