@extends('layout.main') @section('content')

REPORTE DE VENTAS POR PERSONAL


{{--
Tienda o Sucursal
--}}
Personal
Tipo de Transaccion
Medio de Pago
Fecha Inicio
Fecha Fin

VENTAS DE HOY CON BOLETA O FACTURA

@foreach ($data1 as $venta) @if ($venta->medio_pago=="EFECTIVO") @endif @if ($venta->medio_pago=="YAPE") @endif @if ($venta->medio_pago=="PLIN") @endif @if ($venta->medio_pago=="TARJETA") @endif @if ($venta->medio_pago=="OTRO") @endif @if (!$venta->medio_pago) @endif @endforeach @foreach ($consulta as $venta) @endforeach
Personal DNI N° de Ventas Monto S/ Fecha de Venta Acciones
{{ $i }} {{ $venta->nombres }} {{ $venta->apellidos }} {{ $venta->dni }} {{ $venta->ventas }} {{ $venta->monto }} {{ $venta->fecha_venta }} {{--
--}}
{{--
--}}
TOTAL {{ $ventas }} {{ number_format($total, 2, '.', '') }}
EFECTIVO: S/ {{ number_format($efectivo1, 2, '.', '') }}            YAPE: S/ {{ number_format($yape1, 2, '.', '') }}            PLIN: S/ {{ number_format($plin1, 2, '.', '') }}            TARJETA: S/ {{ number_format($tarjeta1, 2, '.', '') }}            OTRO: S/ {{ number_format($otro1, 2, '.', '') }}

VENTAS DE HOY COMO PEDIDO

@foreach ($data2 as $venta) @if ($venta->medio_pago=="EFECTIVO") @endif @if ($venta->medio_pago=="YAPE") @endif @if ($venta->medio_pago=="PLIN") @endif @if ($venta->medio_pago=="TARJETA") @endif @if ($venta->medio_pago=="OTRO") @endif @if (!$venta->medio_pago) @endif @endforeach @foreach ($consulta2 as $venta) @endforeach
Personal DNI N° de Pedidos Monto S/ Fecha de Venta Acciones
{{ $i }} {{ $venta->nombres }} {{ $venta->apellidos }} {{ $venta->dni }} {{ $venta->ventas }} {{ $venta->monto }} {{ $venta->fecha_emision }} {{--
--}}
{{--
--}}
TOTAL {{ $ventas1 }} {{ number_format($total1, 2, '.', '') }}
EFECTIVO: S/ {{ number_format($efectivo2, 2, '.', '') }}            YAPE: S/ {{ number_format($yape2, 2, '.', '') }}            PLIN: S/ {{ number_format($plin2, 2, '.', '') }}            TARJETA: S/ {{ number_format($tarjeta2, 2, '.', '') }}            OTRO: S/ {{ number_format($otro2, 2, '.', '') }}

TOTAL DE VENTAS DE HOY S/ {{ number_format($total+$total1, 2, '.', '') }}
TOTAL EFECTIVO: S/ {{ number_format($efectivo1+$efectivo2, 2, '.', '') }}            TOTAL YAPE: S/ {{ number_format($yape1+$yape2, 2, '.', '') }}            TOTAL PLIN: S/ {{ number_format($plin1+$plin2, 2, '.', '') }}            TOTAL TARJETA: S/ {{ number_format($tarjeta1+$tarjeta2, 2, '.', '') }}            TOTAL OTRO: S/ {{ number_format($otro1+$otro2, 2, '.', '') }}
@stop @section('scripts') @stop