mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Fixes for credits view in portal
This commit is contained in:
parent
8cf55010c6
commit
b267353ced
@ -54,7 +54,7 @@
|
|||||||
{{ empty($credit->public_notes) ? '/' : $credit->public_notes }}
|
{{ empty($credit->public_notes) ? '/' : $credit->public_notes }}
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
|
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
|
||||||
<a href="{{ route('client.credits.show', $credit->hashed_id) }}" class="button-link text-primary">
|
<a href="{{ route('client.credit.show', $credit->hashed_id) }}" class="button-link text-primary">
|
||||||
@lang('texts.view')
|
@lang('texts.view')
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -58,7 +58,9 @@ Route::group(['middleware' => ['auth:contact', 'locale'], 'prefix' => 'client',
|
|||||||
Route::get('quotes/{quote_invitation}', 'ClientPortal\QuoteController@show')->name('quote.show_invitation');
|
Route::get('quotes/{quote_invitation}', 'ClientPortal\QuoteController@show')->name('quote.show_invitation');
|
||||||
|
|
||||||
Route::get('credits', 'ClientPortal\CreditController@index')->name('credits.index');
|
Route::get('credits', 'ClientPortal\CreditController@index')->name('credits.index');
|
||||||
Route::get('credits/{credit}', 'ClientPortal\CreditController@show')->name('credits.show');
|
Route::get('credits/{credit}', 'ClientPortal\CreditController@show')->name('credit.show');
|
||||||
|
|
||||||
|
Route::get('credits/{credit_invitation}', 'ClientPortal\CreditController@show')->name('credits.show_invitation');
|
||||||
|
|
||||||
|
|
||||||
Route::get('client/switch_company/{contact}', 'ClientPortal\SwitchCompanyController')->name('switch_company');
|
Route::get('client/switch_company/{contact}', 'ClientPortal\SwitchCompanyController')->name('switch_company');
|
||||||
|
Loading…
Reference in New Issue
Block a user