@extends('layouts.page') @section('title', 'Reports') @section('content')

All Report

@php $loginUser = Auth::user(); @endphp
@csrf
@if (empty($loginUser))
@endif @if (@$loginUser->user_type == '1' || empty($loginUser))
@endif @if (@$loginUser->user_type == '1' || @$loginUser->user_type == '2' || empty($loginUser))
@endif @if (@$loginUser->user_type != '4' || empty($loginUser))
@endif @if (empty($loginUser))
@endif
Select Brand (>=3 RXN and >=12 RXN)
Brand wise report:
@if (!$results->isEmpty()) @foreach ($results as $key => $row) {{-- --}} @if ($row->eExportType == 'CustomerWiseDetailReportFromTableExport') @elseif($row->eExportType == 'SkuWiseReportExport') @elseif($row->eExportType == 'DoctorWiseRxREportExport') @elseif($row->eExportType == 'BrandSpecilityWiseReportExport') @elseif($row->eExportType == 'MonthBrandRxbrReportExport') @elseif($row->eExportType == 'CoreDoctorReportExport_dr_3') @elseif($row->eExportType == 'CoreDoctorReportExport_dr_12') @elseif($row->eExportType == 'IndividualBrandReport') @endif {{-- --}} @if ($row->eStatus != 'Pending' && $row->eStatus != 'InProcess')
Sr. No. Report Type Campaign Name SM RBM ABM BE Report Date & Time Status
{{ $key + 1 }}{{ ($results->currentPage() - 1) * $results->perPage() + $key + 1 }}Customer Wise Detail ReportSKU Wise ReportDoctor Wise Rx REportBrand Specility Wise ReportMULTI-BRAND RXBR REPORTCORE DRS (>=3 RXN) {{ $row->brand ? ' Brand- ' . $row->brand : '' }} CORE DRS (>=12 RXN) {{ $row->brand ? ' Brand- ' . $row->brand : '' }} Individual Brand Report @php $temp = json_decode($row->jData); @endphp {{ isset($temp->campaigns) ? $temp->campaigns : '-' }} @php $temp = json_decode($row->jData); $campaigns = isset($temp->campaigns) ? $temp->campaigns : '-'; @endphp {{ is_array($campaigns) ? implode(', ', $campaigns) : $campaigns }} {{ $row->smname ? $row->smname : '-' }} {{ $row->rbmname ? $row->rbmname : '-' }} {{ $row->abmname ? $row->abmname : '-' }} {{ $row->bename ? $row->bename : '-' }}