Merge pull request #7178 from turbo124/master

Fixes for migrations - autobilling
This commit is contained in:
David Bomba 2022-02-03 11:12:34 +11:00 committed by GitHub
commit a65acadafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -799,8 +799,8 @@ trait GenerateMigrationResources
'due_date_days' => $this->transformDueDate($invoice),
'remaining_cycles' => $this->getRemainingCycles($invoice),
'invitations' => $this->getResourceInvitations($invoice->invitations, 'recurring_invoice_id'),
'auto_bill_enabled' => $this->calcAutoBillEnabled($invoice),
'auto_bill' => $this->calcAutoBill($invoice),
'auto_bill_enabled' => $this->calcAutoBill($invoice),
'auto_bill' => $this->calcAutoBillEnabled($invoice),
];
}