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

Informe OLD {{ $evento->nombre }} {{ date('d/m/Y',strtotime($evento->fecha)) }}

Ingreso Entradas

@if(count($entradas))
@foreach ($entradas as $key => $entrada) @endforeach @if($evento->salon_id == 2) @endif
Nombre Valor Efectivo Transferencia Credito / Debito QR Free Total / Ingresados / Capacidad Total Descuentos Subtotal
{{ $entrada->nombre }}
Para {{ $entrada->multiplo }} Personas
${{ number_format($entrada->valor / $entrada->multiplo, 0, ',', '.') }} x Personas
${{ number_format($entrada->valor, 0, ',', '.') }} {{ $entrada->cantidadCash }} {{ $entrada->cantidadTransferencia }} {{ $entrada->cantidadCreditoDebito }} {{ $entrada->cantidadQR }} {{ $entrada->cantidadFree }} {{ $entrada->cantidadTotal }} / {{ count($evento->invitadosRecepcionadosEntrada($entrada->id)) }} / {{ $entrada->cantidad * $entrada->multiplo }} ${{ number_format($entrada->total, 0, ',', '.') }} ${{ number_format($entrada->descuento, 0, ',', '.') }} ${{ number_format($entrada->subtotal, 0, ',', '.') }}
Total {{ $evento->cantidadTotalCash}} {{ $evento->cantidadTotalTransferencia}} {{ $evento->cantidadTotalCreditoDebito}} {{ $evento->cantidadTotalQR}} {{ $evento->cantidadTotalFree}} {{ count($evento->invitadosConfirmados) }} / {{ count($evento->invitadosRecepcionados) }} / {{ $evento->entradasCantidadTotal() }} ${{ number_format($totalEntradas, 0, ',', '.') }} ${{ number_format($totalDescuentos, 0, ',', '.') }} ${{ number_format($subtotal, 0, ',', '.') }}
Total Artista (70%) ${{ number_format($subtotal * 0.70, 0, ',', '.') }}
@else

No Existen Registros


@endif

RRPP

@if(count($evento->rrpps))
@foreach ($entradas as $key => $entrada) @endforeach @foreach ($evento->rrpps as $key => $rrpp) @foreach ($entradas as $key => $entrada) @endforeach @endforeach
Nombre{{ $entrada->nombre}}Total
{{ $rrpp->name }}
{{$rrpp->pivot->porcentaje * 100}}%
{{ count($rrpp->entradas($evento->id, $entrada->id)) }}
$ {{ number_format( count($rrpp->entradas($evento->id, $entrada->id)) * ($entrada->valor/$entrada->multiplo), 0, ',', '.') }}
{{ count($rrpp->entradasTotales($evento->id)) }}
$ {{ number_format($rrpp->entradasTotalesValores($evento->id) * $rrpp->pivot->porcentaje, 0, ',', '.' ) }}
@else

No Existen Registros


@endif
@if(0)

Ingresos

@if(count($productos))
@foreach ($productos as $key => $producto) @endforeach
Cantidad
Nombre Efectivo Credito / Debito Transferencia Wallet Free Total Subtotal
{{ substr($producto->nombre, 0, 45) }} {{ $producto->categoria->nombre }} {{ $producto->cantidadCash }} {{ $producto->cantidadMP }} {{ $producto->cantidadTransfe }} {{ $producto->cantidadWallet }} {{ $producto->cantidadFree }} {{ $producto->cantidadTotal }} $ {{ number_format($producto->total, 0, ',', '.') }}
Total $ {{ number_format($totalProductosCash, 0, ',', '.') }} $ {{ number_format($totalProductosMP, 0, ',', '.') }} $ {{ number_format($totalProductosTransfe, 0, ',', '.') }} $ {{ number_format($totalProductosWall, 0, ',', '.') }} $ {{ number_format($totalProductosFree, 0, ',', '.') }} {{ $totalCantidadProductos }} $ {{ number_format($totalProductosCash + $totalProductosMP + $totalProductosTransfe, 0, ',', '.') }}
@else

No Existen Registros


@endif
@endif @if(1)

Ingreso Cocina + Barra

Barra Cocina Total
$ {{ number_format($barra, 0, ',', '.') }} $ {{ number_format($cocina, 0, ',', '.') }} $ {{ number_format($barra+$cocina, 0, ',', '.') }}
@endif

Ingreso Billeteras

Nombre Cantidad Efectivo Cantidad Transferencia Cantidad Credito / Debito Cantidad QR Cantidad Free Total
Carga de wallets $ {{ number_format($evento->movimientoCreditos(1)->sum('credito'), 0, ',', '.') }} $ {{ number_format($evento->movimientoCreditos(5)->sum('credito'), 0, ',', '.') }} $ {{ number_format($evento->movimientoCreditos(6)->sum('credito'), 0, ',', '.') }} $ {{ number_format($evento->movimientoCreditos(2)->sum('credito'), 0, ',', '.') }} $ {{ number_format($evento->movimientoCreditos(4)->sum('credito'), 0, ',', '.') }} $ {{ number_format($evento->movimientoCreditos(0)->sum('credito'), 0, ',', '.') }}
@if(1)

Resumen {{ $evento->nombre }}

Ingresos Entradas $ {{ number_format($subtotal, 0, ',', '.') }}
Ingresos Barra - Cash $ {{ number_format($totalProductosCash, 0, ',', '.') }}
Ingresos Barra - MP $ {{ number_format($totalProductosMP, 0, ',', '.') }}
Wallets $ {{ number_format($evento->movimientoCreditos(1)->sum('credito') + $evento->movimientoCreditos(5)->sum('credito') + $evento->movimientoCreditos(2)->sum('credito') + $evento->movimientoCreditos(6)->sum('credito'), 0, ',', '.') }}
Devolucion Wallets $ {{ number_format((0), 0, ',', '.') }}
Ingresos Totales $ {{ number_format(( $subtotal + $totalProductosCash + $totalProductosMP + $evento->movimientoCreditos(1)->sum('credito') + $evento->movimientoCreditos(5)->sum('credito') + $evento->movimientoCreditos(2)->sum('credito')), 0, ',', '.') }}

Costo Apertura $ {{ number_format($evento->sena, 0, ',', '.') }}
Total Neto $ {{ number_format($subtotal + $totalProductosCash + $totalProductosMP + $evento->movimientoCreditos(1)->sum('credito') + $evento->movimientoCreditos(5)->sum('credito') + $evento->movimientoCreditos(2)->sum('credito') - $evento->sena, 0, ',', '.') }}
Productora ({{ $evento->porcentaje * 100}}%) $ {{ number_format(($subtotal + $totalProductosCash + $totalProductosMP + $evento->movimientoCreditos(1)->sum('credito') + $evento->movimientoCreditos(5)->sum('credito') + $evento->movimientoCreditos(2)->sum('credito') - $evento->sena)*$evento->porcentaje, 0, ',', '.') }}
@endif
@endsection