@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @section('content')

{{ config('settings.company_name') }}

{{ config('settings.address_1') }} {{ config('settings.address_2') }} {{ config('settings.city') }}


{{ $extra['voucher_type'] }}

{{ $extra['sub_heading'] }}
@if ($extra['from'] && $extra['to'])

From: {{ date(config('settings.date_format'), strtotime($extra['from'])) }} To: {{ date(config('settings.date_format'), strtotime($extra['to'])) }}

@else

{{ 'Upto ' . date(config('settings.date_format'), strtotime(!empty($extra['to']) ? $extra['to'] :now())) }}

@endif
@foreach ($query as $row) @endforeach
S. No. Agent Name No. Of Call No. Of Follow Up
{{ $i }} {{ $row['name'] ?? ' - ' }} {{ $row['total_tasks'] ?? ' - ' }} {{ $row['total_follow_up'] ?? ' - ' }}
@stop