mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Set todays date on a new expense
This commit is contained in:
parent
0d067cad7d
commit
67c34f80a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user