wip on loanorders
This commit is contained in:
@@ -57,6 +57,17 @@ class LoanOrder extends Model
|
||||
'notes',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'born_at' => 'date',
|
||||
'passport_given_at' => 'date',
|
||||
'work_started_at' => 'date',
|
||||
];
|
||||
|
||||
/**
|
||||
* Loan type
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user