mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
a6e529f658
@ -532,7 +532,7 @@ class QuoteController extends BaseController
|
||||
return response()->json(['message' => ctrans('texts.sent_message')], 200);
|
||||
}
|
||||
|
||||
if ($action == 'convert') {
|
||||
if ($action == 'convert' || $action == 'convert_to_invoice') {
|
||||
$this->entity_type = Quote::class;
|
||||
$this->entity_transformer = QuoteTransformer::class;
|
||||
|
||||
|
@ -192,6 +192,7 @@ class BillingSubscriptionService
|
||||
throw new \Exception("Could not match an invoice for payment of billing subscription");
|
||||
|
||||
//todo - need to remove the promo code - if it exists
|
||||
|
||||
return InvoiceToRecurringInvoiceFactory::create($invoice);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user