@extends('layouts.master') @section('title', 'eventos') @section('content')

{{ $evento->nombre }} {{ date('d/m/Y - H:i',strtotime($evento->fecha)) }}

{{ Html::linkRoute('relacionesPublicas.eventos', 'Volver', null, array('class' => 'btn btn-secondary btn-block')) }}

Resumen

@if(count($evento->rrpps)) @foreach ($entradas as $key => $entrada) @endforeach @foreach ($entradas as $key => $entrada) @endforeach
{{ $entrada->nombre}}Total
{{ count(Auth::User()->entradas($evento->id, $entrada->id)) }}
$ {{ number_format( count(Auth::User()->entradas($evento->id, $entrada->id)) * $entrada->valor, 0, ',', '.') }}
{{ count(Auth::User()->entradasTotales($evento->id)) }}
$ {{ number_format(Auth::User()->entradasTotalesValores($evento->id) ) }}
@else

No Existen Registros


@endif

Invitados

@if(0)
@endif
@if(count($evento->invitadosConfirmadosRRPP)) @foreach ($evento->invitadosConfirmadosRRPP as $key => $invitado) @if($invitado->pivot->entrada_whatsapp == NULL) @elseif ($invitado->pivot->entrada_whatsapp == 1) @elseif ($invitado->pivot->entrada_whatsapp == 2) @endif @endforeach
ID Nombre
Telefono
Entrada
Valor
Medio de Pago Creado
Ingreso
Estado
{{ sprintf('%06d', $invitado->pivot->id) }} {{ $invitado->name }} {{ $invitado->documento }}
{{ $invitado->telefono }}
{{ $invitado->pivot->entrada->nombre }}
${{ $invitado->pivot->entrada->valor }}
{{ $invitado->pivot->payment_id }} {{ date('d/m - H:i:s', strtotime($invitado->pivot->created_at)) }} @if($invitado->pivot->fecha_ingreso)
{{ date('d/m - H:i', strtotime($invitado->pivot->fecha_ingreso)) }} @endif
@else

No Existen Registros


@endif
@endsection @section('javascript') @endsection