certificate : ps
This commit is contained in:
parent
6f54ce04e7
commit
59fc8c4c18
@ -391,7 +391,7 @@ $sql = "SELECT
|
|||||||
if(sms.acmts = '','-',IFNULL(sms.acmts, '-')) AS acmts,
|
if(sms.acmts = '','-',IFNULL(sms.acmts, '-')) AS acmts,
|
||||||
if(sfs.ftype = '','-',IFNULL(sfs.ftype, '-')) AS ctype,
|
if(sfs.ftype = '','-',IFNULL(sfs.ftype, '-')) AS ctype,
|
||||||
if(sms.certname = '','-',IFNULL(sms.certname, '-')) AS certname,
|
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(sfb.bdate = '','-',IFNULL(sfb.bdate, '-')) AS initialPaid,
|
||||||
if(scd.eid = '','-',IFNULL(scd.eid, '-')) AS Enrollment_id,
|
if(scd.eid = '','-',IFNULL(scd.eid, '-')) AS Enrollment_id,
|
||||||
if(std.name = '','-',IFNULL(std.name, '-')) AS Student_name,
|
if(std.name = '','-',IFNULL(std.name, '-')) AS Student_name,
|
||||||
@ -434,7 +434,7 @@ LEFT JOIN
|
|||||||
app.Comments AS acmts,
|
app.Comments AS acmts,
|
||||||
CertificationType AS ctype,
|
CertificationType AS ctype,
|
||||||
app.CertificationType AS certname,
|
app.CertificationType AS certname,
|
||||||
SUM(bal.balpayable) AS balance,
|
SUM(bal.balpayable) AS balance,bal.totalpaid,bal.totalpayable,
|
||||||
app.CourierDetails AS courierdetails
|
app.CourierDetails AS courierdetails
|
||||||
FROM
|
FROM
|
||||||
T_ApplicationStatus AS app
|
T_ApplicationStatus AS app
|
||||||
@ -538,7 +538,7 @@ LEFT JOIN
|
|||||||
$sql.=" ORDER BY sfb.bdate ASC";
|
$sql.=" ORDER BY sfb.bdate ASC";
|
||||||
//echo $sql;
|
//echo $sql;
|
||||||
|
|
||||||
// print_r($sql);die();
|
print_r($sql);die();
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$cert_statusDetails = $leadDet->result();
|
$cert_statusDetails = $leadDet->result();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user