refs #1985 fixed wizard and report path..
This commit is contained in:
parent
0ea7a063af
commit
9b6f729b13
@ -35,7 +35,7 @@
|
||||
@endcan
|
||||
@can('delete-common-reports')
|
||||
<div class="dropdown-divider"></div>
|
||||
{!! Form::deleteLink($report, 'common/reports') !!}
|
||||
{!! Form::deleteLink($report, 'reports.destroy') !!}
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
|
@ -70,7 +70,7 @@
|
||||
</button>
|
||||
@can('delete-settings-currencies')
|
||||
<div class="dropdown-divider"></div>
|
||||
{!! Form::deleteLink($item, 'wizard/currencies') !!}
|
||||
{!! Form::deleteLink($item, 'wizard.currencies.destroy') !!}
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
|
@ -67,7 +67,7 @@
|
||||
</button>
|
||||
@can('delete-settings-taxes')
|
||||
<div class="dropdown-divider"></div>
|
||||
{!! Form::deleteLink($item, 'wizard/taxes') !!}
|
||||
{!! Form::deleteLink($item, 'wizard.taxes.destroy') !!}
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,12 @@ Route::group(['as' => 'wizard.'], function () {
|
||||
Route::get('companies', 'Wizard\Companies@edit')->name('companies.edit');
|
||||
Route::patch('companies', 'Wizard\Companies@update')->name('companies.update');
|
||||
|
||||
Route::get('currencies/{currency}/enable', 'Settings\Currencies@enable')->name('currencies.enable');
|
||||
Route::get('currencies/{currency}/disable', 'Settings\Currencies@disable')->name('currencies.disable');
|
||||
Route::resource('currencies', 'Wizard\Currencies');
|
||||
|
||||
Route::get('taxes/{tax}/enable', 'Settings\Taxes@enable')->name('taxes.enable');
|
||||
Route::get('taxes/{tax}/disable', 'Settings\Taxes@disable')->name('taxes.disable');
|
||||
Route::resource('taxes', 'Wizard\Taxes');
|
||||
|
||||
Route::get('finish', 'Wizard\Finish@index')->name('finish.index');
|
||||
|
Loading…
x
Reference in New Issue
Block a user