@extends('layouts.pdf-layout') @section('letter_title')
S.N | AGENT NAME | BRANCH | OFFICE | CONTACTS NO | NO OF PARCELS | TOTAL SALES(TZS) | ||
---|---|---|---|---|---|---|---|---|
" . strtoupper($title) . ' - SALES | ||||||||
" . htmlspecialchars($index + 1) . " | " . htmlspecialchars(strtoupper($agent->agent_name)) . " | " . htmlspecialchars($agent->branch_name) . " | " . htmlspecialchars($agent->office_name) . " | " . htmlspecialchars($agent->agent_contacts) . " | " . number_format($agent->total_parcels_count, 0) . " | " . number_format($agent->total_agent_sales, 0) . " | ||
" . strtoupper($title) . " TOTAL | " . number_format($sectionTotalParcels, 0) . " | " . number_format($sectionTotalSales, 0) . " | ||||||
" . strtoupper($title) . '- NO SALES | ||||||||
" . htmlspecialchars($index + 1) . " | " . htmlspecialchars(strtoupper($agent->agent_name)) . " | " . htmlspecialchars($agent->branch_name) . " | " . htmlspecialchars($agent->office_name ?? 'N/A') . " | " . htmlspecialchars($agent->agent_contacts) . " | 0 | 0 | ||
" . strtoupper($title) . ' - NO SALES | ||||||||
No data available | ||||||||
GROUND TOTAL | {{ number_format($grandTotalParcels, 0) }} | {{ number_format($grandTotalSales, 0) }} |