@extends('admin.layout') @section('content')

{{ translate('Currency') }}

@foreach ($currencies as $key => $Currency) @endforeach
# {{ translate('Arabic Name') }} {{ translate('English Name') }} {{ translate('Code') }} {{ translate('Arabic Symbol') }} {{ translate('English Symbol') }} {{ translate('Exchange rate') }} {{ translate('Active') }} {{ translate('Options') }}
{{ $key + 1 + ($currencies->currentPage() - 1) * $currencies->perPage() }} {{ $Currency->name_ar }} {{ $Currency->name_en }} {{ $Currency->code }} {{ $Currency->symbol_ar }} {{ $Currency->symbol_en }} {{ $Currency->exchange_rate }}
{{ $currencies->links() }}

{{ translate('Add currency') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\CurrencyController@store', 'files' => true]) !!}
{!! Form::text('name_ar', null, ['class' => 'form-control', 'placeholder' => translate('Arabic Name')]) !!}
@error('name_ar')
{{ $message }}
@enderror
{!! Form::text('name_en', null, ['class' => 'form-control', 'placeholder' => translate('English Name')]) !!}
@error('name_en')
{{ $message }}
@enderror
{!! Form::text('symbol_ar', null, ['class' => 'form-control', 'placeholder' => translate('Arabic Symbol')]) !!}
@error('symbol_ar')
{{ $message }}
@enderror
{!! Form::text('symbol_en', null, ['class' => 'form-control', 'placeholder' => translate('English Symbol')]) !!}
@error('symbol_en')
{{ $message }}
@enderror
{!! Form::text('code', null, ['class' => 'form-control', 'placeholder' => translate('Code')]) !!}
@error('code')
{{ $message }}
@enderror
{!! Form::text('exchange_rate', null, ['class' => 'form-control', 'placeholder' => translate('Exchange rate')]) !!}
@error('exchange_rate')
{{ $message }}
@enderror
{!! Form::checkbox('status', null, 1, ['id' => 'Checkbox_1']) !!}
{!! Form::Close() !!}
@endsection @section('script') @endsection