@extends('adminlte::page') @section('title', 'Edit Currency') @section('content_header')

Edit Currency: {{ $currency->name }}

@endsection @section('content')

Currency Information

@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror Full name of the currency (e.g., US Dollar)
@error('code')
{{ $message }}
@enderror ISO currency code (e.g., USD, EUR, KES)
@error('symbol')
{{ $message }}
@enderror Symbol for the currency (e.g., $, €, KSh)
@error('sort_order')
{{ $message }}
@enderror Order for displaying currencies (lower numbers appear first)
is_active) ? 'checked' : '' }}>
Enable this currency for use in the system
is_primary) ? 'checked' : '' }}>
Make this the default currency for the system @if($currency->is_primary)
This is currently the primary currency. Unchecking this will require setting another currency as primary.
@endif

Currency Details

ID:
{{ $currency->id }}
Created:
{{ $currency->created_at->format('d M Y H:i') }}
Last Updated:
{{ $currency->updated_at->format('d M Y H:i') }}

Help & Guidelines

Currency Information
  • Name: Full currency name (e.g., "Kenyan Shilling")
  • Code: ISO 4217 code (3 letters, e.g., "KES")
  • Symbol: Display symbol (e.g., "KSh", "$", "€")

Primary Currency

The primary currency is used as the default throughout the system. Only one currency can be primary at a time.

Active Status

Inactive currencies are not available for selection but remain in the system for historical data.

@endsection @push('js') @if(session('success')) Swal.fire({ icon: 'success', title: 'Success!', text: '{{ session("success") }}', timer: 3000, showConfirmButton: false }); @endif @if(session('error')) Swal.fire({ icon: 'error', title: 'Error!', text: '{{ session("error") }}', timer: 3000, showConfirmButton: false }); @endif @endpush