@if (session()->has('success'))
{{ session('success') }}
@endif
Buscador ventas web históricas por fecha
Resumen {{-- Listado --}}
Ventas por fecha
@if ($ventasweb->count()) @foreach ($ventasweb as $sale) @php $webpay += $sale->order_total; @endphp @endforeach
# Fecha Venta Rut Cliente Total Fecha Envio Fecha Confirmacion Acción
{{ $sale->order_id }} {{ $sale->paid_date }} {{ $sale->rut }} {{ $sale->nombre . ' ' . $sale->ap_pat . ' ' . $sale->ap_mat }} {{ Currency::currency("CLP")->format(round($sale->order_total)) }} {{ $sale->fecha_envio ?: 'Sin Notificacion' }} {{ $sale->confirmacion == 'RECEPCIONADO' ? $sale->fecha_confirmacion : 'SIN FECHA' }} @if($sale->fecha_comprobante) @endif @php $mostrarBotonEnvio = $sale->envio_tipo != 'fs_1' && $sale->envio_tipo != 'fs_6' && !$sale->fecha_comprobante; @endphp @if($mostrarBotonEnvio) @endif @if ($sale->confirmacion == 'ENVIADO') @endif @if($sale->envio_tipo != 'fs_1') @endif
@else @endif
{{-- {{$ventasweb->links()}} --}}
Tota ventas
WEBPAY {{Currency::currency("CLP")->format($webpay)}}
REEMBOLSOS {{Currency::currency("CLP")->format($totalReembolsos)}}
CAMBIOS {{Currency::currency("CLP")->format($totalCambio)}}
VENTAS {{$tventas}}
PRODUCTOS @foreach ($tproductos as $item) @endforeach {{$sumprod}}
ENVIOS {{$tenvios}}
TOTAL {{Currency::currency("CLP")->format(($webpay + $totalCambio) - $totalReembolsos)}}
@push('scripts') @endpush