/home/techb158/ileadtechnology.com/SSM/app/Models/transport
NameSizeModeActions
vehicle/-0755rm
TransportCircle.php20420644editdlrm
TransportFee.php19930644editdlrm
TransportFeeDetail.php17640644editdlrm
TransportRoute.php19200644editdlrm
TransportRouteDetail.php17680644editdlrm
TransportRouteStudent.php17610644editdlrm
TransportStoppage.php19290644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/transport/TransportRouteStudent.php (1761B)
'array']; protected $primaryKey = 'id'; protected $table = 'transport_route_students'; protected static $logName = 'transport_route_student'; protected static $logFillable = true; protected static $logOnlyDirty = true; protected static $ignoreChangedAttributes = ['updated_at']; public function transportRouteDetail() { return $this->belongsTo('App\Models\Transport\TransportRouteDetail'); } public function studentRecord() { return $this->belongsTo('App\Models\Student\StudentRecord'); } 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 scopeFilterByTransportRouteDetailId($q, $transport_route_detail_id) { if (! $transport_route_detail_id) { return $q; } return $q->where('transport_route_detail_id', '=', $transport_route_detail_id); } public function scopeFilterByStudentRecordId($q, $student_record_id) { if (! $student_record_id) { return $q; } return $q->where('student_record_id', '=', $student_record_id); } }