@extends('layouts.wizard') @section('title', trans('general.wizard')) @section('content')

{{ trans_choice('general.currencies', 2) }}

{{ trans_choice('general.taxes', 2) }}

{{ trans_choice('general.finish', 1) }}

{{ trans_choice('general.currencies', 2) }}

{!! Form::open([ 'route' => 'wizard.currencies.store', 'id' => 'currency', '@submit.prevent' => 'onSubmit', '@keydown' => 'form.errors.clear($event.target.name)', 'files' => true, 'role' => 'form', 'class' => 'form-loading-button', 'novalidate' => true ]) !!} @foreach($currencies as $item) @endforeach
@sortablelink('name', trans('general.name')) @sortablelink('enabled', trans('general.enabled')) {{ trans('general.actions') }}
{{ $item->name }} @if (user()->can('update-settings-currencies')) {{ Form::enabledGroup($item->id, $item->name, $item->enabled) }} @else @if ($item->enabled) {{ trans('general.enabled') }} @else {{ trans('general.disabled') }} @endif @endif
{{ Form::textGroup('name', trans('general.name'), 'id-card-o', [], null, '') }} {{ Form::radioGroup('enabled', trans('general.enabled')) }} {!! Form::button( '
', [ ':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-success currency-submit', 'data-loading-text' => trans('general.loading'), 'style' => 'padding: 9px 14px; margin-top: 10px;' ]) !!}
{{ Form::numberGroup('precision', trans('currencies.precision'), 'bullseye') }} {{ Form::textGroup('symbol', trans('currencies.symbol.symbol'), 'font') }} {{ Form::selectGroup('symbol_first', trans('currencies.symbol.position'), 'text-width', ['1' => trans('currencies.symbol.before'), '0' => trans('currencies.symbol.after')]) }} {{ Form::textGroup('decimal_mark', trans('currencies.decimal_mark'), 'columns') }} {{ Form::textGroup('thousands_separator', trans('currencies.thousands_separator'), 'columns', []) }}
{!! Form::close() !!}
@endsection @push('scripts_start') @endpush