@extends('layouts.app')
@section('title', 'Consultor')
@section('content')
ETAPA
| Etapa |
|
@if(isset($shop->periods) && count($shop->periods) > 0)
{{ ucwords(Calendar::getHumanMonth($shop->periods()->first()->month))}}
@endif
|
GRUPO
| Grupo |
|
@if(isset($shop->groups) && count($shop->groups) > 0)
{{strtoupper($shop->groups()->first()->name)}}
@endif
|
RANKING
| Posicion |
Tienda |
Porcentaje cumplimiento |
| 1 |
Tienda 1 |
40% |
PARCHE
@if(isset($shop->members[0]) && count($shop->members) > 0)
| Amigo |
Cedula |
Cargo |
@foreach($shop->members as $member)
| {{strtoupper($member->name)}} {{strtoupper($member->surname)}} |
{{strtoupper($member->document_type->abbreviation)}} {{strtoupper($member->document)}} |
@if(isset($member->charges[0]->name))
{{strtoupper($member->charges[0]->name)}}
@else
SIN CARGO
@endif
|
@endforeach
@else
No tienes parche
@endif
@stop