bug fixes
This commit is contained in:
parent
2eb7de95ad
commit
36ffeb9344
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue