@extends('layouts.wizard') @section('title', trans('general.wizard')) @section('content')
@sortablelink('name', trans('general.name')) | @sortablelink('code', trans('currencies.code')) | @sortablelink('rate', trans('currencies.rate')) | @sortablelink('enabled', trans('general.enabled')) | {{ trans('general.actions') }} |
---|---|---|---|---|
id }}')"> {{ $item->name }} | {{ $item->code }} | {{ $item->rate }} |
@if (user()->can('update-settings-currencies'))
{{ Form::enabledGroup($item->id, $item->name, $item->enabled) }}
@else
@if ($item->enabled)
|
|
{{ Form::textGroup('name', trans('general.name'), 'font', [], null, '') }} | {{ Form::selectGroup('code', trans('currencies.code'), 'code', $codes, null, ['required' => 'required', 'change' => 'onChangeCode', 'model' => 'form.code'], '') }} | {{ Form::textGroup('rate', trans('currencies.rate'), 'percentage', ['required' => 'required'], null, '') }} | {{ Form::radioGroup('enabled', trans('general.enabled')) }} |
{!! Form::button(
trans('general.save'), [
':disabled' => 'form.loading',
'type' => 'submit',
'class' => 'btn btn-success',
]) !!}
{{ 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', []) }}
|