@extends('layouts.app') @section('style') @stop @section('content')
  @lang('layout.ReceiveByFactor')
{{Form::open(['route' => 'receiveByFactor.store','method' => 'POST','class' => 'form-horizontal','id'=>'receiveByFactor-form'])}}
@{{errors.first('member_id')}}
@{{errors.first('number')}}
@{{errors.first('ref_no')}}
@{{selectedCurrency.symbol}}
@{{ (selectedBank)?format_number( Number(selectedBank.balance)+(Number(amount)-Number(defaultAmount))):0 }}
@{{selectedCurrency.symbol}}
@{{ errors.first('amount') }}
@{{errors.first('date')}}
@{{errors.first('description')}}
{{getHomeCurrency()["symbol"]}}
@lang('layout.ReferenceNumber') @lang('layout.InvoiceNumber') @lang('layout.Currency') @lang('layout.Rate') @lang('layout.Invoice') @lang('layout.Amount') @lang('layout.Remain') @lang('layout.Discount')
@{{ errors.first('sale_id['+index+']') }}
%
@lang('layout.Currency') @lang('layout.Payable') @lang('layout.Receivable')
@{{ summ.currency }} @{{ member_format_number(Number(summ.invoice)) }}
@lang('layout.Total') @lang('layout.Amount') : @{{myRound(amount)}} @{{selectedCurrency.symbol}}
@lang('layout.Total') @lang('layout.Factor') : @{{myRound(sub_Subtotal)}} @{{selectedCurrency.symbol}}
@lang('layout.Total') @lang('layout.Remain') @lang('layout.Factor') : @{{myRound(sum_remain)}} @{{selectedCurrency.symbol}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush