2018-12-26 16:46:52 +03:00
|
|
|
<?php
|
|
|
|
|
2020-03-04 11:09:28 +03:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
2020-01-31 00:23:09 +03:00
|
|
|
/**
|
|
|
|
* 'signed' middleware and prefix applied to all routes
|
|
|
|
*
|
|
|
|
* @see \App\Providers\Route::mapSignedRoutes
|
|
|
|
* @see \modules\OfflinePayments\Routes\signed.php for module example
|
|
|
|
*/
|
2020-01-30 15:19:33 +03:00
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
Route::get('invoices/{invoice}', 'Portal\Invoices@signed')->name('signed.invoices.show');
|
|
|
|
Route::get('invoices/{invoice}/print', 'Portal\Invoices@printInvoice')->name('signed.invoices.print');
|
|
|
|
Route::get('invoices/{invoice}/pdf', 'Portal\Invoices@pdfInvoice')->name('signed.invoices.pdf');
|
|
|
|
Route::post('invoices/{invoice}/payment', 'Portal\Invoices@payment')->name('signed.invoices.payment');
|
|
|
|
Route::post('invoices/{invoice}/confirm', 'Portal\Invoices@confirm')->name('signed.invoices.confirm');
|
2021-06-24 13:52:49 +03:00
|
|
|
|
|
|
|
Route::get('payments/{payment}', 'Portal\Payments@signed')->name('signed.payments.show');
|
2021-06-30 18:09:30 +03:00
|
|
|
Route::get('payments/{payment}/print', 'Portal\Payments@printPayment')->name('signed.payments.print');
|
|
|
|
Route::get('payments/{payment}/pdf', 'Portal\Payments@pdfPayment')->name('signed.payments.pdf');
|