@extends('layouts.app') @section('content')

Pending Cancellation Refunds

@if (session('success')) @endif @if (session('error')) @endif @if ($pendingCancellations->isEmpty()) @else @if(auth()->user()->isAdmin() || auth()->user()->isAuditor()) @else @endif @if(auth()->user()->role === 'branch_admin') @endif @foreach ($pendingCancellations as $order) @if(auth()->user()->isAdmin() || auth()->user()->isAuditor()) @else @endif @if(auth()->user()->role === 'branch_admin') @endif @endforeach
Invoice IDOrder IDCustomer Mobile Original Branch Cancel Branch Customer Service Paid Amount StatusActions
{{ Str::of($order->invoice->invoice_id)->replace('-', '') }}{{ $order->id }}{{ $order->customer->mobile_no }} {{ $order->branch->name ?? 'N/A' }} {{ $order->cancelBranch->name ?? $order->branch->name ?? 'N/A' }} {{ $order->customer->name }} {{ $order->service->name }} SR {{ number_format($order->invoice ? $order->invoice->payments->sum('amount') : 0, 2) }} Cancellation Processing
@endif
@push('scripts') @endpush @endsection