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

Informe NEW {{ $evento->nombre }} {{ \Carbon\Carbon::parse($evento->fecha)->format('d/m/Y') }}

{{-- ===================== ENTRADAS ===================== --}}

Ingreso Entradas

@if($entradas->count())
@foreach($entradas as $entrada) @endforeach @if($evento->salon_id == 2) @endif
Nombre Valor Efectivo Transferencia Credito / Debito QR Free Total / Ingresados / Capacidad Total Descuentos Subtotal
{{ substr($entrada->nombre, 0, 30) }}
Para {{ $entrada->multiplo }} Personas
${{ number_format($entrada->precio_unitario, 0, ',', '.') }} x Personas
${{ number_format($entrada->valor, 0, ',', '.') }} {{ $entrada->cantidadCash }} {{ $entrada->cantidadTransferencia }} {{ $entrada->cantidadCreditoDebito }} {{ $entrada->cantidadQR }} {{ $entrada->cantidadFree }} {{ $entrada->cantidadTotal }} / {{ $entrada->recepcionados }} / {{ $entrada->capacidad }} ${{ number_format($entrada->total, 0, ',', '.') }} ${{ number_format($entrada->descuento, 0, ',', '.') }} ${{ number_format($entrada->subtotal, 0, ',', '.') }}
Total {{ $eventoCantidad['cash'] }} {{ $eventoCantidad['transferencia'] }} {{ $eventoCantidad['credito_debito'] }} {{ $eventoCantidad['qr'] }} {{ $eventoCantidad['free'] }} {{ $confirmadosTotal }} / {{ $recepcionadosTotal }} / {{ $entradas->sum('capacidad') }} ${{ 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 ===================== --}}

RRPP

@if($rrpps->count())
@foreach($entradas as $entrada) @endforeach @foreach($rrpps as $rrpp) @foreach($rrpp->items as $item) @endforeach @endforeach
Nombre{{ $entrada->nombre }}Total
{{ $rrpp->name }}
{{ $rrpp->porcentaje * 100 }}%
{{ $item->cant }}
$ {{ number_format($item->valor, 0, ',', '.') }}
{{ $rrpp->cantTotal }}
$ {{ number_format($rrpp->valorComision, 0, ',', '.') }}
@else
No Existen Registros
@endif
{{-- ===================== INGRESOS (PRODUCTOS) ===================== --}}

Ingresos

@if($productos->count())
@foreach($productos as $producto) @endforeach
Cantidad
Nombre Efectivo Credito / Debito Transferencia Wallet Free Total Subtotal
{{ \Illuminate\Support\Str::limit($producto->nombre, 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
{{-- ===================== COCINA + BARRA ===================== --}} @if(in_array($evento->salon_id, [1,2]))

Ingreso Cocina + Barra

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

Ingreso Billeteras

Nombre Cantidad Efectivo Cantidad Transferencia Cantidad Credito / Debito Cantidad QR Cantidad Free Total
Carga de wallets $ {{ number_format($wallets['cash'], 0, ',', '.') }} $ {{ number_format($wallets['transferencia'], 0, ',', '.') }} $ {{ number_format($wallets['credito_debito'], 0, ',', '.') }} $ {{ number_format($wallets['qr'], 0, ',', '.') }} $ {{ number_format($wallets['free'], 0, ',', '.') }} $ {{ number_format($wallets['total'], 0, ',', '.') }}
{{-- ===================== RESUMEN ===================== --}}

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($wallets['cash'] + $wallets['transferencia'] + $wallets['qr'] + $wallets['credito_debito'], 0, ',', '.') }}
Devolucion Wallets $ {{ number_format(0, 0, ',', '.') }}
Ingresos Totales $ {{ number_format($ingresosTotales, 0, ',', '.') }}

Costo Apertura $ {{ number_format($evento->sena, 0, ',', '.') }}
Total Neto $ {{ number_format($neto, 0, ',', '.') }}
Productora ({{ $evento->porcentaje * 100 }}%) $ {{ number_format($productora, 0, ',', '.') }}
{{-- ===================== MODALS (detalle) ===================== --}} @endsection