wip on loanorders

This commit is contained in:
nurmuhammet committed 2023-11-26 21:15:42 +05:00
1 parent 11ad96e5d8
commit 307f197d27
9 files changed
+300 -28

No files matched your search

+11
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
*/