/home/techb158/ileadtechnology.com/SSM/app/Models/finance/fee
NameSizeModeActions
FeeAllocation.php32700644editdlrm
FeeAllocationGroup.php15750644editdlrm
FeeConcession.php20380644editdlrm
FeeConcessionDetail.php17170644editdlrm
FeeGroup.php20070644editdlrm
FeeHead.php24570644editdlrm
FeeInstallment.php19350644editdlrm
FeeInstallmentDetail.php11480644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/finance/fee/FeeConcession.php (2038B)
'array']; protected $primaryKey = 'id'; protected $table = 'fee_concessions'; protected static $logName = 'fee_concession'; protected static $logFillable = true; protected static $logOnlyDirty = true; protected static $ignoreChangedAttributes = ['updated_at']; public function academicSession() { return $this->belongsTo('App\Models\Academic\AcademicSession'); } public function feeConcessionDetails() { return $this->hasMany('App\Models\Finance\Fee\FeeConcessionDetail'); } public function studentFeeRecords() { return $this->hasMany('App\Models\Student\StudentFeeRecord'); } public function getOption(string $option) { return array_get($this->options, $option); } public function scopeFilterById($q, $id) { if (! $id) { return $q; } return $q->where('id', '=', $id); } public function scopeFilterBySession($q, $session_id = null) { return $q->where('academic_session_id', '=', $session_id ? : config('config.default_academic_session.id')); } public function scopeFilterByAcademicSessionId($q, $academic_session_id) { if (! $academic_session_id) { return $q; } return $q->where('academic_session_id', '=', $academic_session_id); } public function scopeFilterByName($q, $name, $s = 0) { if (! $name) { return $q; } return $s ? $q->where('name', '=', $name) : $q->where('name', 'like', '%'.$name.'%'); } }