Ensure factories for invoice,quotes,credits have at least todays date on them
This commit is contained in:
parent
deb5fe832e
commit
0ae4fe4117
|
|
@ -28,7 +28,7 @@ class CreditFactory
|
|||
$credit->terms = '';
|
||||
$credit->public_notes = '';
|
||||
$credit->private_notes = '';
|
||||
$credit->date = null;
|
||||
$credit->date = now()->format('Y-m-d');
|
||||
$credit->due_date = null;
|
||||
$credit->partial_due_date = null;
|
||||
$credit->is_deleted = false;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class InvoiceFactory
|
|||
$invoice->terms = '';
|
||||
$invoice->public_notes = '';
|
||||
$invoice->private_notes = '';
|
||||
$invoice->date = null;
|
||||
$invoice->date = now()->format('Y-m-d');
|
||||
$invoice->due_date = null;
|
||||
$invoice->partial_due_date = null;
|
||||
$invoice->is_deleted = false;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class QuoteFactory
|
|||
$quote->terms = '';
|
||||
$quote->public_notes = '';
|
||||
$quote->private_notes = '';
|
||||
$quote->date = null;
|
||||
$quote->date = now()->format('Y-m-d');
|
||||
$quote->due_date = null;
|
||||
$quote->partial_due_date = null;
|
||||
$quote->is_deleted = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue