diff --git a/app/Exceptions/SystemError.php b/app/Exceptions/SystemError.php new file mode 100644 index 000000000000..f15cf8cf1333 --- /dev/null +++ b/app/Exceptions/SystemError.php @@ -0,0 +1,24 @@ + $this->getMessage(), + 'code' => $this->getCode(), + ]); + + + } +} diff --git a/routes/client.php b/routes/client.php index 65590aa78c1e..16cb0679d4a2 100644 --- a/routes/client.php +++ b/routes/client.php @@ -98,7 +98,7 @@ Route::group(['middleware' => ['invite_db'], 'prefix' => 'client', 'as' => 'clie Route::get('quote/{invitation_key}/download_pdf', 'QuoteController@downloadPdf')->name('quote.download_invitation_key'); Route::get('credit/{invitation_key}/download_pdf', 'CreditController@downloadPdf')->name('credit.download_invitation_key'); Route::get('{entity}/{invitation_key}/download', 'ClientPortal\InvitationController@routerForDownload'); - Route::get('{entity}/{client_hash}/{invitation_key}', 'ClientPortal\InvitationController@routerForIframe')->name('invoice.client_hash_and_invitation_key'); //should never need this + // Route::get('{entity}/{client_hash}/{invitation_key}', 'ClientPortal\InvitationController@routerForIframe')->name('invoice.client_hash_and_invitation_key'); //should never need this });