|
@@ -1137,8 +1137,8 @@
|
|
|
MAX( a.company_id ) AS "companyId",
|
|
MAX( a.company_id ) AS "companyId",
|
|
|
MAX( a.partner_companies_name ) AS "partnerCompaniesName",
|
|
MAX( a.partner_companies_name ) AS "partnerCompaniesName",
|
|
|
IFNULL(max(f.settleMentAmount) , 0.00) +IFNULL ( max(d.settleMentAmount),0.00)-IFNULL(max(f.settleMentAmount) , 0.00) AS "allInvoicCommissionFeevalue",
|
|
IFNULL(max(f.settleMentAmount) , 0.00) +IFNULL ( max(d.settleMentAmount),0.00)-IFNULL(max(f.settleMentAmount) , 0.00) AS "allInvoicCommissionFeevalue",
|
|
|
- IFNULL(max(f.settleMentAmount) , 0.00) as "readyCommissionFeevalue",
|
|
|
|
|
- IFNULL(max(f.settleMentAmount) , 0.00) as "invoicCommissionFeevalue",
|
|
|
|
|
|
|
+ IFNULL(max(f.settleMentAmount) , 0.00) + IFNULL(max(d.settleMentAmount) , 0.00) as "readyCommissionFeevalue",
|
|
|
|
|
+ IFNULL(max(d.settleMentAmount) , 0.00) as "invoicCommissionFeevalue",
|
|
|
sum(COALESCE( a.other_feevalue,0.00) )-IFNULL ( max(d.settleMentAmount),0.00) as "noInvoicCommissionFeevalue",
|
|
sum(COALESCE( a.other_feevalue,0.00) )-IFNULL ( max(d.settleMentAmount),0.00) as "noInvoicCommissionFeevalue",
|
|
|
sum(COALESCE( a.other_feevalue,0.00) )-COALESCE(max(c.settleMentAmount),0.00)+IFNULL ( max(d.settleMentAmount),0.00) AS "unSettledAmount",
|
|
sum(COALESCE( a.other_feevalue,0.00) )-COALESCE(max(c.settleMentAmount),0.00)+IFNULL ( max(d.settleMentAmount),0.00) AS "unSettledAmount",
|
|
|
IFNULL(max(f.taxesFees) , 0.00) as "taxesFees",
|
|
IFNULL(max(f.taxesFees) , 0.00) as "taxesFees",
|