@extends('layouts.app') @section('content') {{-- SUCCESS TOAST --}} @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ERRORS --}} @if($errors->any())
@endif {{-- OUTER CARD --}}
{{-- Card Header --}}

{{ isset($agencyProof) ? 'Edit' : 'Submit' }} Agency Payment Proof

Back
{{-- Breadcrumb --}}
{{-- Card Body --}}
@csrf {{-- Basic Details --}}
Basic Details
{{-- Full Name --}}
{{-- Company Name ← WAS MISSING --}}
{{-- Email ← WAS MISSING --}}
{{-- Mobile Number ← WAS MISSING --}}
{{-- Paid Amount --}}
{{-- Payment Method --}}
Payment Method
{{-- UPI Fields --}}
UPI Payment Details
{{-- Bank Transfer Fields --}}
Bank Transfer Details
{{-- Cash Fields --}}
Cash Payment Details
{{-- Proof Upload & Status --}}
Proof & Status
@if(isset($agencyProof->payment_proof) && $agencyProof->payment_proof) @php $fileExt = pathinfo($agencyProof->payment_proof, PATHINFO_EXTENSION); @endphp
@if(in_array(strtolower($fileExt), ['jpg', 'jpeg', 'png', 'gif'])) Payment Proof Current Proof @elseif(strtolower($fileExt) === 'pdf') View PDF @endif
@endif Allowed: JPG, PNG, PDF
{{-- /card-body --}}
{{-- /card --}} @endsection