Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| RejectedLeave | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| Leave | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| namespace App\Models\Leave; | |
| use Illuminate\Database\Eloquent\Model; | |
| use App\Models\Admin\Leave; | |
| use App\Models\Leave\ApplyLeave; | |
| use OwenIt\Auditing\Contracts\Auditable; | |
| class RejectedLeave extends Model implements Auditable | |
| { | |
| use \OwenIt\Auditing\Auditable; | |
| protected $fillable = ['from_date','to_date','description','is_process','user_id','leave_id','status','leave_type','half_day_type','leave_length','approver_comments']; | |
| public function Leave() | |
| { | |
| return $this->belongsTo(Leave::class); | |
| } | |
| } |