@extends('layouts.default') @section('title', trans('invoices.payments')) @section('new_button') @endsection @section('content')
{!! Form::open(['url' => 'incomes/invoices/customerpayment', 'files' => true, 'id' => 'customerpayment','role' => 'form']) !!}
{{ Form::textGroup('name', trans('general.coustomer_name'), 'id-card-o',['disabled' => 'disabled'] ,$customer->name) }} {{ Form::textGroup('paid_at',trans('general.date'), 'calendar',['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'mm-dd-yyyy\'', 'data-mask' => ''], Date::now()->format($date_format)) }} {{ Form::selectGroup('payment_method', trans_choice('general.payment_methods', 1), 'credit-card', $payment_methods,isset($customer->payment_method)?$customer->payment_method:config('accounts.payment_method') ) }} {{ Form::selectGroup('account_id', trans_choice('general.depositto', 1), 'university', $accounts, setting('general.default_account'),['data-live-search'=>'true']) }}
{{ Form::hidden('account_chart_id',null,['id'=>'account_chart_id']) }} {{ Form::hidden('customer_id',isset($customer->id)) }} {!! Form::hidden('currency_code', setting('general.default_currency') , ['id' => 'currency_code']) !!}

Outstanding Transactions

{{ trans('general.description') }} {{ trans('invoices.due_date') }} {{ trans('general.totalamount') }} {{ trans('general.recivedamount') }} {{ trans_choice('general.balance', 2) }} {{ 'Discount Account' }} {{ 'Discount' }} {{ trans_choice('general.payments',1) }}
{{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }}
{{ Form::saveButtons('incomes/invoices') }}
{!! Form::close() !!} @endsection