@extends('layouts.app') @section('title', 'Call Details - ' . $school->school_name) @section('content')
Tele-Marketing Task: {{ $task->title }}
{{ $school->school_name }}
{{ $school->contact_person ?? '-' }}
{{ $school->province ?? '-' }}
{{ $school->district ?? '-' }}
| Call Date | Call Status | Call Responder | Called By | Existing System | Future Planning | Current Software | Contact Numbers | Location | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $call->called_date ? \Carbon\Carbon::parse($call->called_date)->format('d M Y') : '-' }} | @if($call->call_status) {{ $call->call_status }} @else - @endif | {{ $call->call_responder ?? '-' }} | {{ $call->called_by ?? '-' }} | {{ $call->existing_system ?? '-' }} | {{ $call->future_planning ?? '-' }} | {{ $call->current_software_name ?? '-' }} |
@if($call->contact_numbers && count($call->contact_numbers) > 0)
@foreach($call->contact_numbers as $contact)
@php
$contactData = is_array($contact) ? $contact : ['number' => $contact, 'name' => '', 'position' => ''];
@endphp
@if(!empty($contactData['name']))
{{ $contactData['name'] }}
@if(!empty($contactData['position']))
({{ $contactData['position'] }})
@endif
@endforeach
@else
-
@endif
@endif {{ $contactData['number'] ?? $contact }} |
@if($call->location) {{ Str::limit($call->location, 50) }} @else - @endif |
|
No call data available for this school.
Make First Call