File manager - Edit - /var/www/payraty/hris-standalone/app/Models/PaySlip.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class PaySlip extends Model { protected $fillable = [ 'employee_id', 'net_payble', 'basic_salary', 'salary_month', 'status', 'allowance', 'commission', 'loan', 'saturation_deduction', 'other_payment', 'overtime', 'created_by', ]; public static function employee($id) { return Employee::find($id); } public function employees() { return $this->hasOne('App\Models\Employee', 'id', 'employee_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings