certificate : ps

This commit is contained in:
Sanjeev 2020-12-11 11:54:56 +05:30
parent 6f54ce04e7
commit 59fc8c4c18

View File

@ -391,7 +391,7 @@ $sql = "SELECT
if(sms.acmts = '','-',IFNULL(sms.acmts, '-')) AS acmts,
if(sfs.ftype = '','-',IFNULL(sfs.ftype, '-')) AS ctype,
if(sms.certname = '','-',IFNULL(sms.certname, '-')) AS certname,
if(balance = '','-',IFNULL(balance, '-')) AS balance,
balance,totalpaid,totalpayable,
if(sfb.bdate = '','-',IFNULL(sfb.bdate, '-')) AS initialPaid,
if(scd.eid = '','-',IFNULL(scd.eid, '-')) AS Enrollment_id,
if(std.name = '','-',IFNULL(std.name, '-')) AS Student_name,
@ -434,7 +434,7 @@ LEFT JOIN
app.Comments AS acmts,
CertificationType AS ctype,
app.CertificationType AS certname,
SUM(bal.balpayable) AS balance,
SUM(bal.balpayable) AS balance,bal.totalpaid,bal.totalpayable,
app.CourierDetails AS courierdetails
FROM
T_ApplicationStatus AS app
@ -538,7 +538,7 @@ LEFT JOIN
$sql.=" ORDER BY sfb.bdate ASC";
//echo $sql;
// print_r($sql);die();
print_r($sql);die();
$leadDet=$this->db->query($sql);
$cert_statusDetails = $leadDet->result();