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

Unauthorized access

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

Accounts Totals


Payment Date from
Payment Date to
Client
Branch
Payment Method
Client Groups
Contract Types
Account Managers
@foreach($orders as $order) @endforeach
Branch Client B2B Invoice Number B2B Invoice Date Account Manager Reservation QTY Patient QTY Test QTY Price Discount Subtotal {{$global_symbol['tax'] ?? 'TAX'}} Net Total Cash Visa Credit Cost Price P&L ( Subtotal - Cost ) Remaining Amount Paid Amount
{{$order->NAME_EN}} {{ $order->COMPANY_NAME }} {{$order->B2B_INVOICE_NO ?? ''}} {{$order->B2B_INVOICE_DATE ?? ''}} {{$order->account_manager_name}} {{$order->TOTAL_RESERVATIONS}} {{$order->TOTAL_PATIENTS}} {{$order->TOTAL_QTY}} {{($order->TOTAL_PRICE)+($order->TOTAL_DISCOUNT) - ($order->TOTAL_TAX)}} {{$order->TOTAL_DISCOUNT}} {{$order->SUB_TOTAL}} {{$order->TOTAL_TAX}} {{$order->TOTAL_PRICE}} {{$order->TOTAL_CASH / 100}} {{$order->TOTAL_VISA / 100}} {{$order->TOTAL_CREDIT}} {{$order->COST_PRICE ?? 0}} {{($order->SUB_TOTAL ?? 0) - ($order->COST_PRICE ?? 0)}} {{(empty($order->TOTAL_PRICE) ? 0 : $order->TOTAL_PRICE) - (($order->TOTAL_AMOUNT / 100))}} {{empty($order->TOTAL_INVOICE) ? "0" : $order->TOTAL_INVOICE}}
Totals {{$total_reservations}} {{$total_patients}} {{$total_qty}} {{$price_total}} {{$discount_total}} {{$sub_total}} {{$tax_total}} {{$total_net}} {{$cash_total}} {{$visa_total}} {{$credit_total}} {{$total_cost}} {{$sub_total - $total_cost}} {{$total_net - $total}} {{$total_invoice}}
@endsection