@extends('layouts.app') @section('title', 'Branch Wise Report') @section('content')

Branch Wise Report

@if(!$userBranchId)
@endif Reset
@php $dateLabel = $dateFrom->format('d M Y') . ' - ' . $dateTo->format('d M Y'); function cascadeRound($value): int { $parts = explode('.', number_format((float) $value, 6, '.', '')); if (count($parts) !== 2) return (int) round($value); $carry = false; for ($i = strlen($parts[1]) - 1; $i >= 0; $i--) { $carry = ((int) $parts[1][$i] + ($carry ? 1 : 0)) >= 5; } return (int) $parts[0] + ($carry ? 1 : 0); } @endphp

Bookings

{{ $invoiceCount }}
Total Invoice ({{ $dateLabel }})

Total Sales

@currency(cascadeRound($invoiceTotalAmount), 0, null, cascadeRound($invoiceTotalAmountBdt))
{{ $dateLabel }}

Total Received (Booking)

@currency(cascadeRound($totalInitialPayment), 0, null, cascadeRound($totalInitialPaymentBdt))
Total
@currency(cascadeRound($initialPaymentCash), 0, null, cascadeRound($initialPaymentCashBdt))
Cash
@currency(cascadeRound($initialPaymentBank), 0, null, cascadeRound($initialPaymentBankBdt))
Bank
{{ $dateLabel }}

Total Due

@currency(cascadeRound($totalDue), 0, null, cascadeRound($totalDueBdt))
Receivable ({{ $dateLabel }})

Total Due Collection

@currency(cascadeRound($totalDueCollection), 0, null, cascadeRound($totalDueCollectionBdt))
Total
@currency(cascadeRound($dueCollectionCash), 0, null, cascadeRound($dueCollectionCashBdt))
Cash
@currency(cascadeRound($dueCollectionBank), 0, null, cascadeRound($dueCollectionBankBdt))
Bank
Collection ({{ $dateLabel }})

Fingerprint

{{ $fingerprintApproved }}
Approved
{{ $fingerprintDone }}
Done
{{ $fingerprintProcessing }}
Processing
{{ $dateLabel }}

Visa

{{ $visaSubmitted }}
Submitted
{{ $visaIssued }}
Issued
{{ $visaPending }}
Pending
{{ $dateLabel }}

Ticket

{{ $inboundTicket ?? 0 }}
Inbound Ticket
{{ $outboundTicket ?? 0 }}
Outbound Ticket
{{ $pendingTicket ?? 0 }}
Pending Ticket
{{ $dateLabel }}
{{ $totalPassengers ?? 'N/A' }}
Total Passengers
{{ $dateLabel }}

Payment History

Showing - of Previous Next
Cash: Bank: Total:
Print
@endsection @push('scripts') @endpush