@extends('office-panel.office_layouts.app') @section('content')

Edit Payment

{!! Form::model($result, ['route' => ['advance-payment.update', $result->id], 'method' => 'patch', 'id' => 'ajax-submit']) !!}
{!! Form::label('client_id', 'Client Name') !!} {!! Form::select('client_id', ['' => 'Select an Client'] + $clients, null, [ 'class' => 'form-control select2', 'id' => 'cl', 'data-route' => route('client-balance'), ]) !!}
{!! Form::label('amount', 'Amount') !!} {!! Form::text('amount', $result->deposit, ['class' => 'form-control priceValue']) !!}
{{--
{!! Form::label('balance', 'Balance') !!}
--}}
{!! Form::label('deposit_type', 'Type') !!} {!! Form::select('deposit_type', ['' => 'Select Type'] + [1 => 'Deposit'], 1, ['class' => 'form-control ']) !!}
{!! Form::label('notes', 'Notes') !!} {!! Form::textarea('notes', $result->notes, ['class' => 'form-control','rows' => 4]) !!}
{!! Form::close() !!}
@endsection