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

Currency List

{{-- Toast for session success --}} @if(session('success'))
{{ session('success') }}
@endif
@foreach($currencies as $val) @endforeach
Currency Name Short Name Decimal Points Actions
{{ $val->currency_name }} {{ $val->c_shortname }} {{ $val->decimal_points }}
{{-- EDIT --}} {{-- DELETE --}}
{{-- 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 @endsection @section('scripts') @endsection