mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:54:30 -04:00
minor fixes for migration
This commit is contained in:
parent
5630193dfe
commit
20f8c7e1e3
@ -523,6 +523,7 @@ info("get company");
|
||||
'updated_at' => $invoice->updated_at ? Carbon::parse($invoice->updated_at)->toDateString() : null,
|
||||
'deleted_at' => $invoice->deleted_at ? Carbon::parse($invoice->deleted_at)->toDateString() : null,
|
||||
'invitations' => $this->getResourceInvitations($invoice->invitations, 'invoice_id'),
|
||||
'auto_bill_enabled' => $invoice->auto_bill,
|
||||
];
|
||||
}
|
||||
|
||||
@ -595,6 +596,7 @@ info("get company");
|
||||
'due_date_days' => $this->transformDueDate($invoice),
|
||||
'remaining_cycles' => $this->getRemainingCycles($invoice),
|
||||
'invitations' => $this->getResourceInvitations($invoice->invitations, 'recurring_invoice_id'),
|
||||
'auto_bill_enabled' => $invoice->auto_bill,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user