@extends('layouts.admin') @section('title', trans_choice('general.tax_rates', 2)) @permission('create-settings-taxes') @section('new_button') {{ trans('general.add_new') }} @endsection @endpermission @section('content') @if ($taxes->count())
{{ Form::bulkActionAllGroup() }} | @sortablelink('name', trans('general.name'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) | @sortablelink('rate', trans('taxes.rate_percent')) | @sortablelink('type', trans_choice('general.types', 1)) | @sortablelink('enabled', trans('general.enabled')) | {{ trans('general.actions') }} |
---|---|---|---|---|---|
@if (user()->can('update-settings-taxes')) {{ Form::bulkActionGroup($item->id, $item->name) }} @else {{ Form::bulkActionGroup($item->id, $item->name, ['disabled' => 'disabled']) }} @endif | {{ $item->name }} | {{ $item->rate }} | {{ $types[$item->type] }} |
@if (user()->can('update-settings-taxes'))
{{ Form::enabledGroup($item->id, $item->name, $item->enabled) }}
@else
@if ($item->enabled)
|