mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
Fixes for subscription service
This commit is contained in:
parent
4e127fab2d
commit
013d0f7ab5
@ -75,9 +75,9 @@ class SubscriptionService
|
|||||||
$recurring_invoice = $this->convertInvoiceToRecurring($payment_hash->payment->client_id);
|
$recurring_invoice = $this->convertInvoiceToRecurring($payment_hash->payment->client_id);
|
||||||
$recurring_invoice_repo = new RecurringInvoiceRepository();
|
$recurring_invoice_repo = new RecurringInvoiceRepository();
|
||||||
|
|
||||||
$recurring_invoice->next_send_date = now()->format('Y-m-d');
|
|
||||||
$recurring_invoice = $recurring_invoice_repo->save([], $recurring_invoice);
|
$recurring_invoice = $recurring_invoice_repo->save([], $recurring_invoice);
|
||||||
$recurring_invoice->next_send_date = $recurring_invoice->nextSendDate();
|
// $recurring_invoice->next_send_date = now()->format('Y-m-d');
|
||||||
|
// $recurring_invoice->next_send_date = $recurring_invoice->nextSendDate();
|
||||||
$recurring_invoice->auto_bill = $this->subscription->auto_bill;
|
$recurring_invoice->auto_bill = $this->subscription->auto_bill;
|
||||||
|
|
||||||
/* Start the recurring service */
|
/* Start the recurring service */
|
||||||
|
Loading…
Reference in New Issue
Block a user