@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') != 4 && session('role') != 5 && session('role') != 8 && session('role') != 1 && session('role') != 19)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

User Income Report - Reservation


Payment Date from
Payment Date to
User
Reservation Type
Client
Payment Method
Taxable
@foreach($orders as $order) @endforeach
User Paid User ID Reservation ID Invoice ID Payment Date & Time Reference No Patient Name Nationality Client Name Identity Registration Branch Payment Branch Collection Branch Reservation Type Payment Method Refund Reason POS Serial Number B2B Cash Cash Visa Bank Transfer Online Credit Discount Point Amount Qitaf Amount Subtotal Taxable Amount {{$global_symbol['tax'] ?? 'TAX'}} Net Total Cost Price P&L (Subtotal - Cost) Remaining Amount Client Group Verification Reference Order Notes
{{$order->USERNAME}} {{$order->EMPLOYEE_NUM}} {{$order->END_USER_LAB_ORDER_ID}} {{$order->INVOICE_NUMBER}} {{$order->REFUND_TIME??$order->PAID_TIME}} {{$order->REFERENCE_NO ?? ''}} {{$order->NAME}} {{$order->NATIONALITY_ID == 140 ? 'Saudi' : 'Non Saudi'}} {{$order->COMPANY_NAME}} {{$order->IDENTIFICATION}} {{empty($order->NAME_EN) ? 'Home Visit' : $order->NAME_EN}} {{$order->PAYMENT_BRANCH ?? (empty($order->NAME_EN) ? 'Home Visit' : $order->NAME_EN)}} {{$order->COLLECTED_BRANCH ?? (empty($order->NAME_EN) ? 'Home Visit' : $order->NAME_EN)}} {{$order->TYPE_ID == 1 ? 'Normal' : 'Home Visit'}} {{$order->DESC_EN}} {{$order->REFUND_REASON ?? ''}} {{$order->pos_serial_number}} {{$order->TOTAL_B2B_CASH}} {{$order->CASH_AMOUNT / 100}} {{$order->VISA_AMOUNT / 100}} {{$order->BANK_TRANSFER ?? 0}} {{$order->ONLINE ?? 0}} {{$order->CREDIT ?? 0}} {{$order->DISCOUNT_AMOUNT}} {{$order->POINT_AMOUNT}} {{$order->QITAF_AMOUNT ?? 0}} {{round(($order->SUBTOTAL_AMOUNT),2)}} @if($order->TAX > 0) {{round(($order->PRICE - $order->TAX_AMOUNT),2)}} @else 0 @endif {{round(($order->TAX_AMOUNT),2)}} {{($order->PRICE)}} {{round(($order->COST_PRICE),2)}} {{round(($order->PRICE - $order->TAX_AMOUNT) -($order->COST_PRICE),2)}} {{$order->REMAINING_AMOUNT}} {{$order->CLIENT_GROUP ?? ''}} {{$order->VERIFICATION_REFERENCE_ORDER ?? ''}} @if($order->NOTES) {{ Str::limit($order->NOTES, 50) }} @endif
Totals {{$b2b_total}} {{$cash_total}} {{$visa_total}} {{$discount_total}} {{$point_amount_total}} {{$qitaf_amount_total ?? 0}} {{round($subtotal,2)}} {{round($total_taxable,2)}} {{round($tax_total,2)}} {{round($net_total,2)}} {{round($total_cost_price,2)}} {{round($subtotal - $total_cost_price,2)}} {{round($remaining_total,2)}}
@endsection @section('footer-scripts') @endsection