@extends('layouts.app') @section('content')
  @lang('layout.CurrencyExchangeEdit')
{!! Form::model($currencyExch, ['method' => 'PATCH','class'=>'form-horizontal','route' => ['currencyExchange.update',$currencyExch->id]]) !!} {{ csrf_field() }}
@{{msg}}
@{{ errors.first('sp_amount') }}
@{{balance = Number(selectedBank.balance)+(Number(amount)-Number(defaultAmount))}} @{{balance = Number(selectedBank.balance)-(Number(amount)-Number(defaultAmount)) }}
@{{selectedCurrency.code}}
@{{ errors.first('ex_amount') }} {{-- @{{exchange_amount_to_word}} --}}
@{{exBalance = Number(selectedExBank.balance)-(Number(exchange_amount)-Number(defaultAmount)) }} @{{exBalance = Number(selectedExBank.balance)+(Number(exchange_amount)-Number(defaultAmount))}}
@{{selectedCurrency.code}}
@{{ errors.first('member_id') }}
@{{ errors.first('member_name') }}
@{{ errors.first('phone') }}
{!! Form::text('monetary_source', null, array('placeholder' => __('layout.MonetarySource'),'class' => 'form-control')) !!}
{!! Form::text('trans_type', null, array('placeholder' => __('layout.TransactionType'),'class' => 'form-control')) !!}
@if(systemConfig()[29] == 1)
@{{ errors.first('transaction_confirm') }}
@endif
{!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 1, 'cols' => 30)) !!}
{!! Form::textarea('description1', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 1, 'cols' => 30)) !!}
{!! Form::textarea('description2', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 1, 'cols' => 30)) !!}
@lang('layout.TodayRate') -- @lang('layout.BaseCurrency') ( {!! getHomeCurrency()["code"] !!} )
@lang('layout.Currency') @lang('layout.Rate')
@{{ crr.code }} @{{(crr.rate)}} @{{ crr.code }} @{{(crr.rate)}}
@lang('layout.Currency') @lang('layout.Payable') @lang('layout.Receivable')
@{{ summ.currency }} @{{ member_format_number(Number(summ.payment)) }} @{{member_format_number(Number(summ.invoice)) }}
@if(systemConfig()[22] == 1)
@lang('layout.RiskStep') @lang('type.High') @lang('type.Medium') @lang('type.Low')
@endif

@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush