1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Add v3 method to SubscriptionPurchaseController

This commit is contained in:
Benjamin Beganović 2024-02-08 19:55:29 +01:00
parent e2eb53ed30
commit e5f3d19c5d

View File

@ -71,6 +71,17 @@ class SubscriptionPurchaseController extends Controller
]);
}
public function v3(Subscription $subscription, Request $request)
{
// Todo: Prerequirement checks for subscription.
return view('billing-portal.v3.index', [
'subscription' => $subscription,
'hash' => Str::uuid()->toString(),
'request_data' => $request->all(),
]);
}
/**
* Set locale for incoming request.
*