@extends('layouts.admin') @section('content')
@can(['currency_create','currency_edit'])
@if (isset($currency_info)) {{ trans('global.edit') }} {{ trans('cruds.currencyInfo.title_singular') }} @else {{ trans('global.add') }} {{ trans('cruds.currencyInfo.title_singular') }} @endif
@if (isset($currency_info))
@method('PUT') @else @endif @csrf
@if($errors->has('date'))
{{ $errors->first('date') }}
@endif {{ trans('cruds.currencyInfo.fields.date_helper') }}
@if($errors->has('currency'))
{{ $errors->first('currency') }}
@endif {{ trans('cruds.currencyInfo.fields.currency_helper') }}
@if($errors->has('rate'))
{{ $errors->first('rate') }}
@endif {{ trans('cruds.currencyInfo.fields.rate_helper') }}
@if (isset($currency_info)) @else @endif
@endcan
{{ trans('global.list') }} {{ trans('cruds.currencyInfo.title_singular') }}
@if (count($currency_info_list) == 0) {{-- --}} @else @php $i = 1; @endphp @foreach ($currency_info_list as $sl) @php $i++; @endphp @endforeach @endif
{{__('ID')}} {{ trans('cruds.currencyInfo.fields.date') }} {{ trans('cruds.currencyInfo.fields.currency') }} {{ trans('cruds.currencyInfo.fields.currency_sym') }} {{ trans('cruds.currencyInfo.fields.rate') }}
Records not found
{{$i}} {{date('d/m/Y',strtotime($sl->date))}} {{$sl->all_currency->code}} {{$sl->all_currency->symbol}} {{number_format($sl->rate,2)}}
@can('currency_edit') @endcan @can('currency_delete') @endcan
@endsection @section('scripts') @endsection