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

DETALLES DE VENTAS DE HOY POR PERSONAL

Nombre del Personal :
{{ ucwords(mb_strtolower($usuario->nombres)) }} {{ ucwords(mb_strtolower($usuario->apellidos)) }} ({{ $usuario->username }})
DNI :
{{ $usuario->dni }}
@foreach ($data 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
TOTAL VENDIDO :
S/ {{ $total != null ? $total : '0.00' }}
Total en EFECTIVO :
S/ {{ number_format($efectivo, 2, '.', ',') }}
Total con YAPE:
S/ {{ number_format($yape, 2, '.', ',') }}
Total con PLIN :
S/ {{ number_format($plin, 2, '.', ',') }}
Total con TARJETA :
S/ {{ number_format($tarjeta, 2, '.', ',') }}
Total con OTROS :
S/ {{ number_format($otro, 2, '.', ',') }}
@foreach ($data as $venta) @endforeach
Local Cliente Comprobante Monto S/ Fecha de Venta Medio de Pago
{{ $i }} {{ $venta->local->nombre }} {{ $venta->cliente->nombre }} {{ $venta->nombre_comprobante }} {{ $venta->total_venta }} {{ $venta->created_at }} {{ $venta->medio_pago ? $venta->medio_pago : "EFECTIVO" }}
@stop