Added ability for registrars to make their own deposit via Stripe

This commit is contained in:
Pinga 2023-11-17 20:55:24 +02:00
parent 2236e77d18
commit b8345209eb
8 changed files with 231 additions and 32 deletions

View file

@ -69,6 +69,9 @@ $app->group('', function ($route) {
$route->get('/invoices', FinancialsController::class .':invoices')->setName('invoices');
$route->map(['GET', 'POST'], '/deposit', FinancialsController::class .':deposit')->setName('deposit');
$route->map(['GET', 'POST'], '/create-payment', FinancialsController::class .':createPayment')->setName('createPayment');
$route->map(['GET', 'POST'], '/payment-success', FinancialsController::class .':success')->setName('success');
$route->map(['GET', 'POST'], '/payment-cancel', FinancialsController::class .':cancel')->setName('cancel');
$route->get('/transactions', FinancialsController::class .':transactions')->setName('transactions');
$route->get('/overview', FinancialsController::class .':overview')->setName('overview');