@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.currency.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.currency.fields.name_helper') }}
@if($errors->has('code'))
{{ $errors->first('code') }}
@endif {{ trans('cruds.currency.fields.code_helper') }}
main_currency || old('main_currency', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('main_currency'))
{{ $errors->first('main_currency') }}
@endif {{ trans('cruds.currency.fields.main_currency_helper') }}
@endsection