@extends('layouts.admin') @section('title', trans_choice('general.currencies', 2)) @permission('create-settings-currencies') @section('new_button') {{ trans('general.add_new') }} @endsection @endpermission @section('content')
{!! Form::open([ 'method' => 'GET', 'route' => 'currencies.index', 'role' => 'form', 'class' => 'mb-0' ]) !!}
{{ Form::bulkActionRowGroup('general.currencies', $bulk_actions, ['group' => 'settings', 'type' => 'currencies']) }} {!! Form::close() !!}
@foreach($currencies as $item) @endforeach
{{ Form::bulkActionAllGroup() }} @sortablelink('name', trans('general.name'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) @sortablelink('code', trans('currencies.code')) @sortablelink('rate', trans('currencies.rate')) @sortablelink('enabled', trans('general.enabled')) {{ trans('general.actions') }}
{{ Form::bulkActionGroup($item->id, $item->name) }} {{ $item->name }} {{ $item->code }} {{ $item->rate }} @if (user()->can('update-settings-currencies')) {{ Form::enabledGroup($item->id, $item->name, $item->enabled) }} @else @if ($item->enabled) {{ trans('general.yes') }} @else {{ trans('general.no') }} @endif @endif
@endsection @push('scripts_start') @endpush