@extends('layouts.app') @section('title', auth()->user()->unit_type === 'marketing' ? 'Consumer Contact Plan' : 'Panel Test') @section('content')
{{ $isMarketing ? 'Kelola semua consumer contact plan' : 'Kelola semua sesi panel test produk' }}
| No. | {{ $isMarketing ? 'No. Consumer Contact' : 'Nomor Panel Test' }} | {{ $isMarketing ? 'Nama Brand Aktivasi' : 'Judul Panel Test' }} | {{ $isMarketing ? 'Nama APS/SPG/TL yang Bertugas' : 'Produk' }} | @if(!$isMarketing)Tipe | @endifTanggal | @if(!$isMarketing)Lokasi | @endif @if(!$isMarketing)Pertanyaan | @endifStatus | Aksi |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{-- Nomor Panel Test --}}
@if($test->test_number)
{{ $test->test_number }}
@else
-
@endif
|
{{-- Judul --}}
{{ $test->title }}
@if(!$isMarketing)
oleh {{ $test->creator->name }}
@endif
|
{{-- Produk --}}
{{ $test->product->name }} | {{-- Tipe --}} @if(!$isMarketing)@if($test->type === 'internal') π’ Internal @elseif($test->type === 'public') π Publik @else πΊοΈ Regional @endif | @endif {{-- Tanggal --}}{{ $test->test_date->format('d M Y') }} | @if(!$isMarketing) {{-- Lokasi --}}{{ $test->location ?: '-' }} | @endif @if(!$isMarketing) {{-- Pertanyaan --}}{{ $test->questions->count() }} pertanyaan | @endif {{-- Status --}}{{ ucfirst($test->status) }} | {{-- Aksi --}}|
| @if(request()->hasAny(['search','status','type','date'])) Tidak ada hasil untuk filter yang dipilih. Reset filter @else Belum ada panel test. Buat sekarang @endif | |||||||||