Service Cancelations Service Cancelations (With Outstanding Balance) 1 AND D.id=C.invoice_id ) ]]> A.site_id = %%DEFAULT_SITE%% AND A.suspend_billing = 1 ORDER BY ymd DESC 0 ymd Date true true true false false 1 AND D.id=C.invoice_id ) ]]> A.site_id = %%DEFAULT_SITE%% AND A.suspend_billing = 1 ORDER BY name DESC 0 Name name E-mail email Service Id serviceId Outstanding Amt Due due Service Cancelations (With No Outstanding Balance) SELECT DISTINCT from_unixtime(A.date_last,"%Y-%m-%d") as ymd FROM %%AGILE_DB_PREFIX%%service A 1 ) WHERE t1.service_id = A.id ) ]]> ORDER BY ymd DESC 0 ymd Date true true true false false SELECT DISTINCT from_unixtime(A.date_last,"%Y-%m-%d") as ymd, A.id as serviceId, B.email, CONCAT(B.first_name,' ', B.last_name) as name FROM %%AGILE_DB_PREFIX%%service A JOIN %%AGILE_DB_PREFIX%%account B ON (A.account_id=B.id) 1 ) WHERE t1.service_id = A.id ) ]]> ORDER BY name DESC 0 Name name E-mail email Service Id serviceId