@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) @foreach($shop->members as $member) @endforeach
Amigo Cedula Cargo
{{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
@else


No tienes parche

@endif
@stop