@extends('layouts.master') @section('content')
| SKU | Product Name | Primary Unit | Set Target | Actions |
|---|---|---|---|---|
| {{ $p->sku }} |
{{ $p->item_name }}
|
{{ $p->unit_name }} | @if ($kpi && $p->target) @else @endif |
| Brand Name | Primary Unit | Set Target | Actions |
|---|---|---|---|
| {{ $b['brand_name'] }} | {{ $b['unit_name'] }} | @if ($kpi && $b['target']) @else @endif |
| SKU | Product Name | Primary Unit | Set Target | Actions |
|---|---|---|---|---|
| {{ $p->sku }} |
{{ $p->item_name }}
|
{{ $p->unit_name }} | @if ($kpi && $p->additional_target) @else @endif |
| Brand Name | Primary Unit | Set Target | Actions |
|---|---|---|---|
| {{ $b['brand_name'] }} | {{ $b['unit_name'] }} | @if ($kpi && $b['additional_target']) @else @endif |
| Channel Name | Set Target | Actions |
|---|---|---|
| {{ $c->retailer_type_name }} | @if ($kpi && $c->additional_target) @else @endif |
| Other KPI's | Set Target | Actions |
|---|---|---|
| Average Productivity Target (%) | @if (sizeof($kpi_additionals) && sizeof(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4)) && array_values(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4))[0]['avg_productivity']) @else @endif | |
| Average SKUs Per Bill Target | @if (sizeof($kpi_additionals) && sizeof(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4)) && array_values(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4))[0]['avg_sku_per_bill']) @else @endif | |
| Average Drop Size Per Bill | @if (sizeof($kpi_additionals) && sizeof(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4)) && array_values(array_filter($kpi_additionals, fn($x) => $x['type_id'] == 4))[0]['avg_drop_size_per_bill']) @else @endif |