@extends('admin.layouts.app') @section('page_title', __('Currency')) @section('css') {{-- Data table --}} {{-- Select2 --}} @endsection @section('content')
@include('admin.layouts.includes.finance_menu')
@if(session('errorMgs'))
{{ __('Warning') }}! {{ session('errorMgs') }}. ×
@endif
{{ __('Finance') }} >> {{ __('Currencies') }}
@if(in_array('App\Http\Controllers\CurrencyController@store', $prms)) @endif
@if (array_intersect(['App\Http\Controllers\CurrencyController@edit', 'App\Http\Controllers\CurrencyController@update', 'App\Http\Controllers\CurrencyController@destroy' ], $prms) ) @endif @foreach ($currencyData as $currency) @if (array_intersect(['App\Http\Controllers\CurrencyController@edit', 'App\Http\Controllers\CurrencyController@destroy' ], $prms) ) @endif @endforeach
{{ __('Name') }} {{ __('Symbol') }} {{ __('Rate') }}{{ __('Action') }}
{{ $currency->name }} {{ $currency->symbol }} {{ formatCurrencyAmount($currency->exchange_rate) }} @if (in_array('App\Http\Controllers\CurrencyController@edit', $prms))   @endif @if (in_array('App\Http\Controllers\CurrencyController@destroy', $prms))
{!! csrf_field() !!}
@endif
@endsection @section('js') @endsection