@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.currencies', 1)])) @section('content')
{!! Form::open(['url' => 'settings/currencies', 'role' => 'form']) !!}
{{ Form::textGroup('name', trans('general.name'), 'id-card-o') }} {{ Form::selectGroup('code', trans('currencies.code'), 'code', $codes) }} {{ Form::textGroup('rate', trans('currencies.rate'), 'money') }} {{ Form::textGroup('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::radioGroup('enabled', trans('general.enabled')) }} {{ Form::radioGroup('default_currency', trans('currencies.default')) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush