@extends('layouts.app') @section('content') @include("layouts.Cmodal")
  @if($duplicate) @lang('layout.CreateNewPay') @else @lang('layout.EditPay') @endif
@if($duplicate) {!! Form::model($payment, ['method' => 'post','class'=>'form-horizontal','route' => ['pay.storeNew',$payment->id]]) !!} @else {!! Form::model($payment, ['method' => 'PATCH','class'=>'form-horizontal','route' => ['pay.update',$payment->id]]) !!} @endif
@{{errors.first('member_id')}}
@if($duplicate)
@else
@endif
@{{msg}}
@if(systemConfig()[16] != 0)
@endif @if(systemConfig()[21] != 0)
@endif
@{{selectedCurrency.symbol}}
@{{paymentCurrency.symbol}}
@{{selectedCurrency.symbol}}
@{{errors.first('amount')}}
@{{ (selectedBank)?format_number( Number(selectedBank.balance)-(Number(amount)-Number(defaultAmount))-Number(first_discount)+Number(discount)):0 }}
@{{paymentCurrency.symbol}}
@{{ errors.first('date') }}
@if(systemConfig()[25] == 1)
@endif
{{Form::text('overdue_date',$payment->overdue_date,['class' => 'form-control date','id'=>'date','autocomplete'=>'off'])}}
@if(getHourType() == 24) @else @endif

Warning: Undefined variable $payment in E:\Ampps\www\CAS\resources\views\pays\edit.blade.php on line 251

Warning: Attempt to read property "description" on null in E:\Ampps\www\CAS\resources\views\pays\edit.blade.php on line 251

Warning: Undefined variable $payment in E:\Ampps\www\CAS\resources\views\pays\edit.blade.php on line 252

Warning: Attempt to read property "discount" on null in E:\Ampps\www\CAS\resources\views\pays\edit.blade.php on line 252
@if(systemConfig()[5] == 1)
@endif
{{Form::textarea('description',$description,['class'=>'form-control','rows'=>'1'])}}
@if(getcommission() =="true")
{{Form::number('commission_amount',$payment->commAmount,['class' => 'form-control',"placeholder"=>__('layout.Amount')])}}
{{Form::textarea('commission_description',$payment->comm_description,['class'=>'form-control','rows'=>'1'])}}
@endif @if(isGroupCompany())
@endif
@lang('layout.Currency') @lang('layout.Payable') @lang('layout.Receivable') @lang('layout.AverageRate')
@{{ summ.currency }} @{{ member_format_number(Number(summ.payment)) }} @{{ member_format_number(Number(summ.invoice)) }} @{{member_format_number(Number(summ.rate))}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush