{!! html_entity_decode(Form::label('name', __('sales/customer_invoice.entry_name') . '', ['class' => 'control-label'])) !!}
{!! Form::text('name', old('name',$customer_invoice->name), ['class' => 'form-control', 'placeholder' => __('sales/customer_invoice.entry_name'),'readonly']) !!}
{!! html_entity_decode(Form::label('customer', __('sales/customer_invoice.entry_customer_id') . '', ['class' => 'control-label'])) !!}
{!! Form::text('customer', old('customer',$customer_invoice->customer->name), ['class' => 'form-control', 'placeholder' => __('sales/customer_invoice.entry_customer_id'),'readonly']) !!}
{!! html_entity_decode(Form::label('branch_office', __('sales/customer_invoice.entry_branch_office_id') . '', ['class' => 'control-label'])) !!}
{!! Form::text('branch_office', old('branch_office',$customer_invoice->branchOffice->name), ['class' => 'form-control', 'placeholder' => __('sales/customer_invoice.entry_branch_office_id'),'readonly']) !!}
{!! html_entity_decode(Form::label('currency', __('sales/customer_invoice.entry_currency_id') . '', ['class' => 'control-label'])) !!}
{!! Form::text('currency', old('currency',$customer_invoice->currency->name_sat), ['class' => 'form-control', 'placeholder' => __('sales/customer_invoice.entry_currency_id'),'readonly']) !!}
{!! html_entity_decode(Form::label('currency_value', __('sales/customer_invoice.entry_currency_value') . '', ['class' => 'control-label'])) !!}
{!! Form::text('currency_value', old('currency_value',round($customer_invoice->currency_value,4)), ['class' => 'form-control text-center', 'placeholder' => __('sales/customer_invoice.entry_currency_value'),'readonly']) !!}
{!! html_entity_decode(Form::label('amount_total', __('sales/customer_invoice.entry_amount_total') . '', ['class' => 'control-label'])) !!}
{!! Form::text('amount_total', old('amount_total',money($customer_invoice->amount_total, $customer_invoice->currency->code, true)->format()), ['class' => 'form-control text-right', 'placeholder' => __('sales/customer_invoice.entry_amount_total'),'readonly']) !!}
{!! html_entity_decode(Form::label('balance', __('sales/customer_invoice.entry_balance') . '', ['class' => 'control-label'])) !!}
{!! Form::text('balance', old('balance',money($customer_invoice->balance, $customer_invoice->currency->code, true)->format()), ['class' => 'form-control text-right', 'placeholder' => __('sales/customer_invoice.entry_balance'),'readonly']) !!}
{!! html_entity_decode(Form::label('reconciled', __('sales/customer_invoice.entry_reconciled') . '', ['class' => 'control-label'])) !!}
{!! Form::text('reconciled', old('reconciled',money($customer_invoice->amount_total-$customer_invoice->balance, $customer_invoice->currency->code, true)->format()), ['class' => 'form-control text-right', 'placeholder' => __('sales/customer_invoice.entry_reconciled'),'readonly']) !!}