@extends('layouts.app') @section('content')

@if($isBranchAdmin) Branch Statement Report - {{ auth()->user()->branch->name ?? 'Your Branch' }} @else Branch Statement Report @endif

🖨️ Print View
@if(!$isBranchAdmin)
@endif
@if(!$isBranchAdmin)
@endif
Total Sales
{{ number_format($totalSales, 2) }}
Total Cash (SR)
{{ number_format($totalCash, 2) }}
Total Bank (SR)
{{ number_format($totalBankSR, 2) }}
Total Due
{{ number_format($totalDue, 2) }}
Total Due Collection
{{ number_format($totalDueCollection, 2) }}
@if(!$isBranchAdmin)
Total Agent Commission
{{ number_format($totalAgentCommission, 2) }}
Total Profit
{{ number_format($totalProfit, 2) }}
@endif
Today Sales
{{ number_format($todaySales, 2) }}
Today Cash (SR)
{{ number_format($todayCash, 2) }}
Today Bank (SR)
{{ number_format($todayBankSR, 2) }}
Today Due
{{ number_format($todayDue, 2) }}
Today Due Collection
{{ number_format($todayDueCollection, 2) }}
@if(!$isBranchAdmin)
Today Agent Commission
{{ number_format($todayAgentCommission, 2) }}
Today Profit
{{ number_format($todayProfit, 2) }}
@endif
@if(!$isBranchAdmin) @endif @if(!$isBranchAdmin) @endif @forelse($records as $record) @if(!$isBranchAdmin) @endif @if(!$isBranchAdmin) @endif @empty @endforelse
Create Date Delivery Date Invoice NoBranch NameCustomer Name Identity No Service Name Service Rate Cash (SR) Bank (SR) Tax ID Due Due CollectionAgent Name Agent Commission Profit
{{ \Carbon\Carbon::parse($record->create_date)->format('Y-m-d H:i') }} {{ $record->delivery_date ? \Carbon\Carbon::parse($record->delivery_date)->format('Y-m-d') : 'N/A' }} {{ $record->invoice_no }}{{ $record->branch_name }}{{ $record->customer_name }} {{ $record->customer_id }} {{ $record->service_name }} {{ number_format($record->service_rate, 2) }} {{ number_format($record->cash, 2) }} {{ number_format($record->bank_sr, 2) }} {{ $record->tax_id ?? 'N/A' }} {{ number_format($record->due, 2) }} {{ number_format($record->due_collection, 2) }}{{ $record->agent_name ?? 'N/A' }} {{ number_format($record->agent_commission, 2) }} {{ number_format($record->profit, 2) }}
No records found.
@endsection