@extends('backend.partials.master') @section('title', 'Return Payment') @section('maincontent') Return Payment @csrf @if(!empty($salereturnpay)) @method('PUT') @endif Record Number * @error('record_no') {{ $message }} @enderror Customer * Select Customer @foreach($customers as $customer) customer_id ?? '') == $customer->id ? 'selected' : '' }}> {{ $customer->fname }} @endforeach @error('customer_id') {{ $message }} @enderror Pending Amount * @error('pending_amt') {{ $message }} @enderror Date Payment Method * Details Amount * Narration * @error('date'){{ $message }}@enderror Select Payment Method payment_method ?? '') == 'cash_online' ? 'selected' : '' }}>Cash + Online payment_method ?? '') == 'cash' ? 'selected' : '' }}>Cash payment_method ?? '') == 'cheque' ? 'selected' : '' }}>Cheque payment_method ?? '') == 'epayment' ? 'selected' : '' }}>E‑payment @error('payment_method') {{ $message }} @enderror Cash Amount Online Amount Transaction ID/Cheque No Cheque Amount E-payment Amount @error('amount') {{ $message }} @enderror {{ empty($returnpayment) ? 'Create' : 'Update' }} Cancel @endsection @push('scripts') @endpush