@extends('layouts.app') @section('content')
| Invoice ID | @elseOrder ID | @endifCustomer Mobile | Original Branch | Cancel Branch | Customer | Service | Paid Amount | Status | @if(auth()->user()->role === 'branch_admin')Actions | @endif
|---|---|---|---|---|---|---|---|---|---|
| {{ Str::of($order->invoice->invoice_id)->replace('-', '') }} | @else{{ $order->id }} | @endif{{ $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 | @if(auth()->user()->role === 'branch_admin')@endif |