1234567891011121314 |
- <?php
-
- class TransformativeAction extends Eloquent
- {
- protected $table = 'transformative_actions';
-
- public function scopeStatus($query, $semester_id)
- {
- return $query->join('transformative_action_status')
- ->where('trans_id', $this->id)
- ->where('semester_id', $semester_id)
- ->first();
- }
- }
|