@extends('layouts.simple.master') @section('main_content') @include('operations.comercial.ofertas.navigation_explotacion')
@if($competitor)
{{ $competitor->nombre }}
@endif
@if($competitor)
Ranking Competidor

{{ $competitorRanking->competitor_rank ?? 'N/A' }}

Porcentaje de Ganados

{{ $percentageWon !== null ? number_format($percentageWon, 2, ',', '.') . '%' : 'N/A' }}

% Exclusion

{{ $percentageExcluded !== null ? number_format($percentageExcluded, 2, ',', '.') . '%' : 'N/A' }}

Queda 2º

{{ $percentageSecond !== null ? number_format($percentageSecond, 2, ',', '.') . '%' : 'N/A' }}

Descuento Medio

{{ $averageDiscount !== null ? number_format($averageDiscount, 2, ',', '.') . '%' : 'N/A' }}

Media Negocio Aspirado

{{ $averageEstimatedBusiness !== null ? number_format($averageEstimatedBusiness, 2, ',', '.') : 'N/A' }}

@endif @if($competitor)
% Descuento del Competidor
Performance Económica

{{ number_format($performanceEcon, 2, ',', '.') }}%

Performance Técnica

{{ number_format($performanceTca, 2, ',', '.') }}%

Descuento Adjudicado

{{ number_format($descuentoAdjudicado, 2, ',', '.') }}%

@if($emblematicClient)
Cliente Emblemático

{{ $emblematicClient->cliente }} ({{ number_format($emblematicClient->importe_estimado, 2, ',', '.') }} €)

@endif @if($bestYear)
Mejor Año

{{ $bestYear->year }} ({{ number_format($bestYear->total_amount, 2, ',', '.') }} €)

@endif
@if($bestBusinessLine)
Mejor Línea de Negocio

{{ $bestBusinessLine->linea_negocio }} ({{ number_format($bestBusinessLine->total_amount, 2, ',', '.') }} €)

@endif @if($bestClientActivity)
Mejor Actividad Cliente

{{ $bestClientActivity->actividad_cliente }} ({{ number_format($bestClientActivity->total_amount, 2, ',', '.') }} €)

@endif
@endif @if($competitor)
Territorio
@foreach($territoryData as $data) @endforeach
Provincia Presentadas % Ganado % Exclusión % Queda 2º % Descuento Medio Media Negocio Aspirado Performance Económica Performance Técnica Descuento Adjudicado
{{ $data->provincia_oferta }} {{ number_format($data->total_presented, 0, '.', ',') }} {{ number_format($data->percentage_won, 2, '.', ',') }}% {{ number_format($data->percentage_excluded, 2, '.', ',') }}% {{ number_format($data->percentage_second, 2, '.', ',') }}% {{ number_format($data->average_discount, 2, '.', ',') }}% {{ number_format($data->average_estimated_business, 2, '.', ',') }} {{ number_format($data->performance_econ, 2, '.', ',') }}% {{ number_format($data->performance_tca, 2, '.', ',') }}% {{ number_format($data->descuento_adjudicado, 2, '.', ',') }}%
{{ $territoryData->appends(request()->query())->links('pagination::bootstrap-5') }}
@endif @if($competitor)
Línea de Negocio
@foreach($businessLineData as $data) @endforeach
Línea de Negocio Presentadas % Ganado % Exclusión % Queda 2º % Descuento Medio Media Negocio Aspirado Performance Económica Performance Técnica Descuento Adjudicado
{{ $data->linea_negocio }} {{ number_format($data->total_presented, 0, '.', ',') }} {{ number_format($data->percentage_won, 2, '.', ',') }}% {{ number_format($data->percentage_excluded, 2, '.', ',') }}% {{ number_format($data->percentage_second, 2, '.', ',') }}% {{ number_format($data->average_discount, 2, '.', ',') }}% {{ number_format($data->average_estimated_business, 2, '.', ',') }} {{ number_format($data->performance_econ, 2, '.', ',') }}% {{ number_format($data->performance_tca, 2, '.', ',') }}% {{ number_format($data->descuento_adjudicado, 2, '.', ',') }}%
{{ $businessLineData->appends(request()->query())->links('pagination::bootstrap-5') }}
@endif @if($competitor)
Actividad Cliente
@foreach($clientActivityData as $data) @endforeach
Actividad Cliente Presentadas % Ganado % Exclusión % Queda 2º % Descuento Medio Media Negocio Aspirado Performance Económica Performance Técnica Descuento Adjudicado
{{ $data->actividad_cliente }} {{ number_format($data->total_presented, 0, '.', ',') }} {{ number_format($data->percentage_won, 2, '.', ',') }}% {{ number_format($data->percentage_excluded, 2, '.', ',') }}% {{ number_format($data->percentage_second, 2, '.', ',') }}% {{ number_format($data->average_discount, 2, '.', ',') }}% {{ number_format($data->average_estimated_business, 2, '.', ',') }} {{ number_format($data->performance_econ, 2, '.', ',') }}% {{ number_format($data->performance_tca, 2, '.', ',') }}% {{ number_format($data->descuento_adjudicado, 2, '.', ',') }}%
{{ $clientActivityData->appends(request()->query())->links('pagination::bootstrap-5') }}
@endif
@endsection @push('scripts') @endpush