merge constant
This commit is contained in:
commit
1dc4136da6
@ -113,6 +113,10 @@ defined('OTHER') OR define('OTHER','OTHER');
|
|||||||
// define default payment type
|
// define default payment type
|
||||||
defined('WAIVER') OR define('WAIVER','WAIVER');
|
defined('WAIVER') OR define('WAIVER','WAIVER');
|
||||||
defined('REFERRAL') OR define('REFERRAL','REFERRAL');
|
defined('REFERRAL') OR define('REFERRAL','REFERRAL');
|
||||||
|
defined('CASH') OR define('CASH','CASH');
|
||||||
|
defined('CHEQUE') OR define('CHEQUE','CHEQUE');
|
||||||
|
defined('ONLINETRANSACTION') OR define('ONLINETRANSACTION','ONLINE TRANSACTION');
|
||||||
|
defined('CreditDebitCard') OR define('CreditDebitCard','Credit/Debit Card');
|
||||||
|
|
||||||
//encript database table name
|
//encript database table name
|
||||||
defined('LOGIN') OR define('LOGIN','T_Login');
|
defined('LOGIN') OR define('LOGIN','T_Login');
|
||||||
@ -163,6 +167,7 @@ defined('APPLICATION_CONST') OR define('APPLICATION_CONST','APPLICATION');
|
|||||||
// registration type constant
|
// registration type constant
|
||||||
defined('NEWREGISTRATION_CONST') OR define('NEWREGISTRATION_CONST','New Registration');
|
defined('NEWREGISTRATION_CONST') OR define('NEWREGISTRATION_CONST','New Registration');
|
||||||
defined('RE_REGISTRATION_CONST') OR define('RE_REGISTRATION_CONST','Re-registration');
|
defined('RE_REGISTRATION_CONST') OR define('RE_REGISTRATION_CONST','Re-registration');
|
||||||
|
defined('DMC_CONST') OR define('DMC_CONST','DMC');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -172,11 +177,5 @@ defined('RE_REGISTRATION_CONST') OR define('RE_REGISTRATION_CONST','Re-registrat
|
|||||||
defined('ENCR_PASSWORD') OR define('ENCR_PASSWORD','e99a18c428cb38d5f260853678922e03');
|
defined('ENCR_PASSWORD') OR define('ENCR_PASSWORD','e99a18c428cb38d5f260853678922e03');
|
||||||
//end of encripted password
|
//end of encripted password
|
||||||
|
|
||||||
//transaxtion methods
|
|
||||||
defined('CASH') OR define('CASH','CASH');
|
|
||||||
defined('CHEQUE') OR define('CHEQUE','CHEQUE');
|
|
||||||
defined('ONLINETRANSACTION') OR define('ONLINETRANSACTION','ONLINE TRANSACTION');
|
|
||||||
defined('CreditDebitCard') OR define('CreditDebitCard','Credit/Debit Card');
|
|
||||||
|
|
||||||
//end of transaction
|
|
||||||
|
|
||||||
|
|||||||
@ -537,7 +537,7 @@ class Fees_status_model extends CI_Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Entry for all status screen except fees
|
// Entry for all status screen except fees
|
||||||
$this->entryForAllStatus($feesPaidDetails,$courseID);
|
$this->entryForAllStatus($feesPaidDetails,$courseID,substr($feesName,0,3));
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
@ -1701,11 +1701,17 @@ class Fees_status_model extends CI_Model
|
|||||||
* Entry for all status update
|
* Entry for all status update
|
||||||
* created by kms
|
* created by kms
|
||||||
* */
|
* */
|
||||||
public function entryForAllStatus($feesDetails=null,$courseID=null){
|
public function entryForAllStatus($feesDetails=null,$courseID=null,$feesName=null){
|
||||||
$singleFeesDetails=["SEM 1","SEM 2","SEM 3","SEM 4","SEM 5","SEM 6","SEM 7","SEM 8"];
|
$singleFeesDetails=["SEM 1","SEM 2","SEM 3","SEM 4","SEM 5","SEM 6","SEM 7","SEM 8"];
|
||||||
// get pick list expected status
|
// get pick list expected status
|
||||||
$this->db->select('ListCode,ListName');
|
$this->db->select('ListCode,ListName');
|
||||||
$this->db->where('ListName','EXPECTED');
|
if(strtoupper($feesName)==DMC_CONST){
|
||||||
|
$this->db->where('ListName','NOT APPLICABLE');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$this->db->where('ListName','EXPECTED');
|
||||||
|
}
|
||||||
|
|
||||||
$this->db->where('BranchCode',$feesDetails['UpdatedBy']);
|
$this->db->where('BranchCode',$feesDetails['UpdatedBy']);
|
||||||
$this->db->where('IsActive','1');
|
$this->db->where('IsActive','1');
|
||||||
$existStatusDetails = $this->db->get(PICK_LIST_DETAILS)->last_row();
|
$existStatusDetails = $this->db->get(PICK_LIST_DETAILS)->last_row();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user