minor fixes for migration
This commit is contained in:
parent
5630193dfe
commit
20f8c7e1e3
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue