@extends('layouts.app') @section('content') @php $payment_modes = ['cash' => 'Cash', 'cheque' => 'Cheque', 'netbanking' => 'Net Banking', 'upi' => 'UPI']; @endphp
{{ Form::open(['url' => url('payment/store'), 'method' => 'POST', 'id' => 'dataForm']) }} {{ Form::hidden('invoice_id', '', ['id' => 'invoice_id']) }} {{ Form::hidden('invoice_remaining_hidden', '', ['id' => 'invoice_remaining_hidden']) }}
Profile Picture
Customer Name
Phone
Email
Address
Select Invoice Due Date Invoice Amount Amount Paid Remaining
{{ Form::text('total_amount', '', ['class'=>'form-control', 'id'=>'total_amount', 'readonly']) }}
{{ Form::number('amount_paid', '', ['class'=>'form-control', 'id'=>'amount_paid', 'step'=>'0.01', 'min'=>'0.01', 'required']) }}
{{ Form::text('remaining_amount', '', ['class'=>'form-control', 'id'=>'remaining_amount', 'readonly']) }}
{{ Form::select('payment_mode', $payment_modes, null, ['class'=>'form-control', 'id'=>'payment_mode', 'required']) }}
{{ Form::date('payment_date', \Carbon\Carbon::now()->format('Y-m-d'), ['class'=>'form-control', 'id'=>'payment_date', 'required']) }}
{{ Form::text('remarks', '', ['class'=>'form-control', 'id'=>'remarks']) }}
{{ Form::submit('Make Payment', ['class' => 'btn btn-primary float-end', 'id' => 'saveBtn']) }}
{{ Form::close() }}
@stop @section('scripting') @stop