{{-- Extends layout --}} @extends('layout.default') @section('content')
| Sl No | Show Date | Payment Method | Name | Phone Number | Request Initiator | Amount | Status | |
|---|---|---|---|---|---|---|---|---|
| {{$n}} | {{date("d-M-Y", strtotime($pending_ticket->invoice->show_date))}} | @if(isset($pending_ticket->invoice->payment_method)) {{$pending_ticket->invoice->paymentmethod->method}} @endif | @if(isset($pending_ticket->invoice->visitor_name)) {{$pending_ticket->invoice->visitor_name}} @endif | @if(isset($pending_ticket->invoice->visitor_phone_number)) {{$pending_ticket->invoice->visitor_phone_number}} @endif | @if(isset($pending_ticket->request_user_id)) {{$pending_ticket->requestuser->name}} @endif | {{$pending_ticket->invoice->amount}} | @if($pending_ticket->approve_flag==1) @php echo "Approved"; @endphp @elseif ($pending_ticket->approve_flag==2) @php echo "Rejected"; @endphp @else @php echo "Approval Pending"; @endphp @endif |