@extends('super_admins.layouts.master') @section('title') Edit Currency @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Home Currencies Edit Currency {{-- --}} Edit Currency @csrf @method('PUT') Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Select Code Select Currency @foreach ($currency_codes as $key => $curr) code == $curr->code) selected @endif>{{$curr->code}} @endforeach @if ($errors->has('code')) {{ $errors->first('code') }} @endif Select Symbol Select Currency @foreach ($currency_codes as $key => $curr) symbol == $curr->symbol) selected @endif>{{$curr->symbol}} @endforeach @if ($errors->has('symbol')) {{ $errors->first('symbol') }} @endif Select Direction Select Currency direction == 'ltr') selected @endif>Left to Right (LTR) direction == 'rtl') selected @endif>Right to Left (RTL) @if ($errors->has('direction')) {{ $errors->first('direction') }} @endif Decimal Places @if ($errors->has('decimal_places')) {{ $errors->first('decimal_places') }} @endif {{-- Value @if ($errors->has('value')) {{ $errors->first('value') }} @endif --}} {{-- Default is_default) checked @endif class="custom-control-input" id="is_default" aria-describedby="IsDefaultError" aria-invalid="true"> Select Currency To Be Default Or Not @if ($errors->has('is_default')) {{ $errors->first('is_default') }} @endif Active is_active) checked @endif class="custom-control-input" id="is_active" aria-describedby="IsActiveError" aria-invalid="true"> Select Currency To Be Active Or Not @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Update {{-- --}} @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection