mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
bug fixes
This commit is contained in:
parent
2eb7de95ad
commit
36ffeb9344
@ -241,7 +241,7 @@ class BaseDriver extends AbstractPaymentDriver
|
||||
|
||||
event(new PaymentWasCreated($payment, $payment->company, Ninja::eventVars()));
|
||||
|
||||
(new BillingSubscriptionService)->completePurchase($this->payment_hash);
|
||||
//(new BillingSubscriptionService)->completePurchase($this->payment_hash);
|
||||
|
||||
return $payment->service()->applyNumber()->save();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ class AddInvoiceIdToClientSubscriptionsTable extends Migration
|
||||
{
|
||||
Schema::table('client_subscriptions', function (Blueprint $table) {
|
||||
$table->unsignedInteger('invoice_id')->nullable();
|
||||
|
||||
$table->unsignedInteger('quantity')->default(1);
|
||||
$table->foreign('invoice_id')->references('id')->on('invoices')->onDelete('cascade')->onUpdate('cascade');
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user