@extends('layouts.app') @section('title', 'Branch Statement Report') @section('content')
Total Sales
{{ number_format($totalSales, 2) }}
Total Cash (SR)
{{ number_format($totalCash, 2) }}
Total Bank (SR)
{{ number_format($totalBank, 2) }}
Total Due
{{ number_format($totalDue, 2) }}
Total Due Collection
{{ number_format($totalDueCollection, 2) }}
Total Refund
{{ number_format($totalRefund, 2) }}
Total Service Charge Deduction
{{ number_format($totalServiceChargeDeduction, 2) }}
Total Agent Commission (Payable)
{{ number_format($totalAgentCommissionPayable, 2) }}
Total Agent Commission (Paid)
{{ number_format($totalAgentCommissionPaid, 2) }}
Total Profit
{{ number_format($totalProfit, 2) }}
Today Sales
{{ number_format($todaySales, 2) }}
Today Cash (SR)
{{ number_format($todayCash, 2) }}
Today Bank (SR)
{{ number_format($todayBank, 2) }}
Today Due
{{ number_format($todayDue, 2) }}
Today Due Collection
{{ number_format($todayDueCollection, 2) }}
Today Refund
{{ number_format($todayRefund, 2) }}
Today Service Charge Deduction
{{ number_format($todayServiceChargeDeduction, 2) }}
Today Agent Commission (Paid)
{{ number_format($todayAgentCommissionPaid, 2) }}
| Created | Delivery | Invoice No | @if(!$isBranchAdmin)Branch | @endifCustomer | ID | @if(!$isBranchAdmin)Phone | @endifService | Rate | Cash | Bank | Due | Due Coll. | @if(!$isBranchAdmin)Agent Comm. | Agent | Profit | @endifType |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($record['date'])->format('Y-m-d') }} | {{ $record['delivery_date'] ? \Carbon\Carbon::parse($record['delivery_date'])->format('Y-m-d') : 'N/A' }} | {{ Str::limit(Str::of($record['invoice_no'])->replace('-', ''), 12) }} | @if(!$isBranchAdmin){{ Str::limit($record['branch_name'] ?? 'N/A', 8) }} | @endif{{ Str::limit($record['customer_name'], 10) }} | {{ Str::limit($record['customer_id'] ?? 'N/A', 6) }} | @if(!$isBranchAdmin){{ $record['customer_phone'] }} | @endif{{ Str::limit($record['service_name'] ?? 'N/A', 10) }} | {{ number_format($record['service_rate'] ?? 0, 2) }} | {{ number_format($record['cash'] ?? 0, 2) }} | {{ number_format($record['bank'] ?? 0, 2) }} | {{ number_format($record['due'] ?? 0, 2) }} | {{ number_format($record['due_collection'] ?? 0, 2) }} | @if(!$isBranchAdmin){{ number_format($record['agent_commission_payable'] ?? 0, 2) }} | {{ $record['agent_name'] ?? 'N/A' }} | {{ number_format($record['profit'] ?? 0, 2) }} | @endif{{ ucfirst($record['type'] ?? 'N/A') }} |
No data found.
@endif