@extends('layouts.app') @section('content')

Currency List

@foreach($currencies as $index => $val) @endforeach
SL Currency Name Short Name Decimal Points Actions
{{ $currencies->firstItem() + $index }} {{ $val->currency_name }} {{ $val->c_shortname }} {{ $val->decimal_points }}
{{-- Pagination --}}
    @if($currencies->onFirstPage())
  • @else
  • @endif @foreach($currencies->getUrlRange(1, $currencies->lastPage()) as $page => $url)
  • {{ $page }}
  • @endforeach @if($currencies->hasMorePages())
  • @else
  • @endif
{{-- /Pagination --}}
{{-- Add/Edit Currency Modal --}} {{-- Auto-open modal on validation errors --}} @if($errors->any()) @endif {{-- Session toast after redirect (add/edit success) --}} @if(session('success')) @endif @endsection @section('scripts') @endsection