/home/techb158/ileadtechnology.com/SSM/app/Models/student
NameSizeModeActions
Admission.php21260644editdlrm
Registration.php30020644editdlrm
Student.php75740644editdlrm
StudentAccount.php19130644editdlrm
StudentAttendance.php24670644editdlrm
StudentDocument.php19770644editdlrm
StudentFeeRecord.php29860644editdlrm
StudentFeeRecordDetail.php18960644editdlrm
StudentOptionalFeeRecord.php16920644editdlrm
StudentParent.php55590644editdlrm
StudentQualification.php17110644editdlrm
StudentRecord.php77660644editdlrm
StudentSibling.php16450644editdlrm
TransferCertificate.php19890644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/student/StudentFeeRecord.php (2986B)
'array', 'due_date' => 'date']; protected $primaryKey = 'id'; protected $table = 'student_fee_records'; protected static $logName = 'student_fee_record'; protected static $logFillable = true; protected static $logOnlyDirty = true; protected static $ignoreChangedAttributes = ['updated_at']; public function studentRecord() { return $this->belongsTo('App\Models\Student\StudentRecord'); } public function studentFeeRecordDetails() { return $this->hasMany('App\Models\Student\StudentFeeRecordDetail'); } public function studentOptionalFeeRecords() { return $this->hasMany('App\Models\Student\StudentOptionalFeeRecord'); } public function feeInstallment() { return $this->belongsTo('App\Models\Finance\Fee\FeeInstallment'); } public function transportCircle() { return $this->belongsTo('App\Models\Transport\TransportCircle'); } public function feeConcession() { return $this->belongsTo('App\Models\Finance\Fee\FeeConcession'); } public function transactions() { return $this->hasMany('App\Models\Finance\Transaction\Transaction'); } 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 scopeFilterByStatus($q, $status) { if (! $status) { return $q; } return $q->where('status', '=', $status); } public function scopeFilterByStudentRecordId($q, $student_record_id) { if (! $student_record_id) { return $q; } return $q->where('student_record_id', '=', $student_record_id); } public function scopeFilterByFeeInstallmentId($q, $fee_installment_id) { if (! $fee_installment_id) { return $q; } return $q->where('fee_installment_id', '=', $fee_installment_id); } }