diff --git a/app/Factory/ExpenseFactory.php b/app/Factory/ExpenseFactory.php index f43d71260a..89ccfc3c4c 100644 --- a/app/Factory/ExpenseFactory.php +++ b/app/Factory/ExpenseFactory.php @@ -28,7 +28,7 @@ class ExpenseFactory $expense->tax_rate2 = 0; $expense->tax_name3 = ''; $expense->tax_rate3 = 0; - $expense->date = null; + $expense->date = now()->format('Y-m-d'); $expense->payment_date = null; $expense->amount = 0; $expense->foreign_amount = 0;