@extends('ventas.promotions.base') @section('promotions_title') {{ $promotion->description }} @endsection @section('promotions_header') {{ $promotion->description }} @endsection @section('promotions_content')

{{ ucwords($promotion->type->name()) }} {{ ($promotion->type === Incoviba\Model\Venta\Promotion\Type::FIXED) ? $format->ufs($promotion->amount) : $format->percent($promotion->amount, 2, true) }}

{{ $promotion->startDate->format('d-m-Y') }} -> {!! $promotion->endDate?->format('d-m-Y') ?? '∞' !!}

VĂ¡lido hasta: {!! $promotion->validUntil?->format('d-m-Y') ?? '∞' !!}

@if (count($promotion->projects()) > 0) @foreach ($promotion->projects() as $project) @endforeach @endif @if (count($promotion->contracts()) > 0) @foreach($promotion->contracts() as $contract) @endforeach @endif @if (count($promotion->units()) > 0) @foreach($promotion->units() as $unit) @endforeach @endif @if (count($promotion->contractUnits()) > 0) @foreach($promotion->contractUnits() as $contractUnit) @endforeach @endif
Proyecto Operador Unidad
Tipo
{{ $project->descripcion }} Todos los Operadores Todas las Unidades
{{ $contract->project->descripcion }} {{ $contract->broker->name }} Todas las Unidades
{{ $unit->project->descripcion }} Todos los Operadores {{ $unit->proyectoTipoUnidad->tipoUnidad->descripcion }} {{ $unit->descripcion }}
{{ $contractUnit->contract->project->descripcion }} {{ $contractUnit->contract->broker->name }} {{ $contractUnit->unidad->proyectoTipoUnidad->tipoUnidad->descripcion }} {{ $contractUnit->unidad->descripcion }}
@endsection