mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
recurring migration
This commit is contained in:
parent
4c87d6864a
commit
9afd6c6fc2
@ -243,6 +243,7 @@ class StepsController extends BaseController
|
||||
'clients' => $this->getClients(),
|
||||
'products' => $this->getProducts(),
|
||||
'invoices' => $this->getInvoices(),
|
||||
'recurring_invoices' => $this->getRecurringInvoices(),
|
||||
'quotes' => $this->getQuotes(),
|
||||
'payments' => array_merge($this->getPayments(), $this->getCredits()),
|
||||
'credits' => $this->getCreditsNotes(),
|
||||
|
@ -15,6 +15,7 @@ use App\Models\PaymentTerm;
|
||||
use App\Models\Product;
|
||||
use App\Models\TaxRate;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\Crypt;
|
||||
|
||||
trait GenerateMigrationResources
|
||||
@ -425,7 +426,7 @@ trait GenerateMigrationResources
|
||||
'client_id' => $invoice->client_id,
|
||||
'user_id' => $invoice->user_id,
|
||||
'company_id' => $invoice->account_id,
|
||||
'status_id' => $this->transformRecurringStatusId($invoice->invoice_status_id),
|
||||
'status_id' => $this->transformRecurringStatusId($invoice),
|
||||
'design_id' => $invoice->invoice_design_id,
|
||||
'number' => '',
|
||||
//'number' => $invoice->invoice_number,
|
||||
|
Loading…
x
Reference in New Issue
Block a user