wip on loanorders

This commit is contained in:
2023-11-26 21:15:42 +05:00
parent 11ad96e5d8
commit 307f197d27
9 changed files with 300 additions and 28 deletions

View File

@@ -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
*/