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

Finanzas Metricas {{ date('d/m/Y',strtotime($fecha_inicio)) }} a {{ date('d/m/Y',strtotime($fecha_fin)) }}

Metricas de Eventos

@if($eventos != null)
@else

No Existen Registros


@endif

Cambiar Fecha

{{ Form::open(['route' => ['finanzas.metricas', null], 'method'=>'POST']) }}
{{ Form::label('', "Fecha de Inicio", ['style'=>'font-weight: bold;']) }} * {{ Form::date('fecha_inicio',date('Y-m-d', strtotime($fecha_inicio)), ['required' => 'required', 'class'=>'form-control']) }}
{{ Form::label('', "Fecha de Fin", ['style'=>'font-weight: bold;']) }} * {{ Form::date('fecha_fin',date('Y-m-d',strtotime($fecha_fin)), ['required' => 'required', 'class'=>'form-control']) }}
{{ Form::submit('Actualizar', array('class'=> 'btn btn-success btn-lg btn-block'))}}

Eventos Facturacion Total

@if(count($eventos)) @foreach ($eventos as $key => $evento) @endforeach
Nombre Total Entradas Vendidas Total Productos Vendidos Total Entradas Facturadas Total Productos Facturados Facturacion Total
{{ $evento->nombre }} {{ $evento->cantidadEntradas }} {{ $evento->cantidadComandas }} $ {{number_format ($evento->entradasPrecioTotal, 0, ',', '.') }} $ {{number_format ($evento->comandasPrecioTotal, 0, ',', '.') }} $ {{ number_format( $evento->cantidadFacturado, 0, ',', '.') }}
Total {{ $evento->cantidadEntradasTotal }} {{ $evento->cantidadComandasTotal }} $ {{number_format ($evento->entradasSumaPrecioTotal, 0, ',', '.') }} $ {{number_format ($evento->comandasSumaPrecioTotal, 0, ',', '.') }} $ {{number_format ($evento->totalFacturacion, 0, ',', '.') }}
@else

No Existen Registros


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