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

Unauthorized access

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

Branch Income Report


Payment Date from
Payment Date to
Branch
Client Groups
Taxable
Reservation Type
@foreach($orders as $order) @php $hospital_query=[]; if(!empty($hospital)){ foreach (explode(',',$hospital) as $h){ $hospital_query[]='hospital[]='.$h; } } if (!empty($hospital_query)){ $hospital_query = implode('&',$hospital_query); } @endphp @endforeach
User Test QTY Reservations QTY Patients QTY Total Price Discount Point Amount Qitaf Amount SubTotal Taxable Amount {{$global_symbol['tax'] ?? 'TAX'}} Net Price Cost Price P&L (Subtotal - Cost) Refund ({{$global_symbol['tax'] ?? 'TAX'}}) Refund Refund-{{$global_symbol['tax'] ?? 'TAX'}} Credit Online Bank Trans Tamara Tabby Cash Visa Delivered Custody Remaining Custody Invoice Payment Branch Employee Number
{{$order->USERNAME}} {{$order->QTY}} {{$order->TOTAL_RESERVATIONS}} {{$order->TOTAL_PATIENT}} {{round($order->TOTAL_DISCOUNT + $order->TOTAL_PRICE - $order->TOTAL_TAX, 2)}} {{$order->TOTAL_DISCOUNT}} {{$order->TOTAL_POINT_AMOUNT}} {{$order->TOTAL_QITAF_AMOUNT ?? 0}} {{round($order->TOTAL_PRICE - $order->TOTAL_TAX, 2)}} {{round($order->TAXABLE, 2)}} {{round($order->TOTAL_TAX,2)}} {{round($order->TOTAL_PRICE, 2)}} {{round($order->COST_PRICE, 2)}} {{round($order->TOTAL_PRICE - $order->TOTAL_TAX, 2) - round($order->COST_PRICE, 2)}} {{round($order->TOTAL_REFUND, 2)}} {{round($order->TOTAL_REFUND - $order->TOTAL_TAX_REFUND, 2)}} {{round($order->TOTAL_TAX_REFUND, 2)}} {{round($order->TOTAL_CREDIT,2)}} {{round(($order->TOTAL_ONLINE),2)}} {{round($order->TOTAL_BANK_TRANSFER,2)}} {{round($order->TOTAL_TAMARA,2)}} {{round($order->TOTAL_TABBY,2)}} {{$order->TOTAL_CASH / 100}} {{$order->TOTAL_VISA / 100}} {{empty($order->TOTAL_INVOICE) ? "0" : $order->TOTAL_INVOICE}} {{round(($order->TOTAL_CASH / 100) + ($order->TOTAL_VISA / 100),2) - (empty($order->TOTAL_INVOICE) ? 0 : round($order->TOTAL_INVOICE,2))}} @permission('view_reporting_income_payment_invoice') @endpermission {{$order->NAME_EN}} {{$order->EMPLOYEE_NUM}}
Totals {{$qty_total}} {{$total_reservations}} {{$total_patient}} {{$total_price}} {{$discount_total}} {{$point_amount_total}} {{$qitaf_amount_total ?? 0}} {{round($sub_total, 2)}} {{round($total_taxable, 2)}} {{round($tax_total,2)}} {{round($net_total, 2)}} {{round($total_cost_price, 2)}} {{round($sub_total-$total_cost_price, 2)}} {{round($total_refund, 2)}} {{round($total_refund-$total_tax_refund, 2)}} {{round($total_tax_refund, 2)}} {{round($credit_total,2)}} {{round(($online_total),2)}} {{round($bank_transfer_total,2)}} {{round($total_tamara,2)}} {{round($total_tabby,2)}} {{$cash_total}} {{$visa_total}} {{$total_invoice}} {{round($total,2) - round($total_invoice,2)}}
@endsection @section('footer-scripts') @endsection