From 5f92f123b2b955b9c45c2cb165ec7321ba10ad6a Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Wed, 15 Jan 2025 09:30:16 +0700 Subject: [PATCH] feat(models): add TempBillDetail model - Menambahkan model TempBillDetail untuk tabel temp_bill_details. - Menggunakan trait HasFactory untuk dukungan factory. - Menentukan atribut yang dapat diisi secara massal. --- app/Models/TempBillDetail.php | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 app/Models/TempBillDetail.php diff --git a/app/Models/TempBillDetail.php b/app/Models/TempBillDetail.php new file mode 100644 index 0000000..cd78d21 --- /dev/null +++ b/app/Models/TempBillDetail.php @@ -0,0 +1,39 @@ + + */ + protected $fillable = [ + '_id', + 'repay_ref', + 'repay_amount', + 'writeoff_ref', + 'or_prop_amount', + 'property', + 'bill_type', + 'payment_date', + 'writeoff_amt', + 'os_prop_amount', + 'actual_pay_date', + 'bill_status', + 'payment_type', + 'payment_method', + 'os_total_amount', + 'bill_date', + 'arrangement_id' + ]; +}