@php use App\Models\VentasMercadoLibre; header('Content-type: application/vnd.ms-excel; charset=utf-8'); header('Content-Disposition: attachment; filename=notificaciones-ventas-mercadolibre-' . $fecha . '.xls'); header('Pragma: no-cache'); header('Expires: 0'); $headStyle = 'background:#9ebbe6;font-style: italic;font-weight:bold;'; @endphp
N° Venta | Productos | Precio Venta | Utilidad | Acción | Cuenta |
---|---|---|---|---|---|
@if (!empty($venta->pack_id_ml))
Nº {{ $venta->pack_id_ml }}
@else
Nº {{ $venta->venta_id_ml }}
@endif
@if (!empty($venta->fecha_observacion))
Nº OC: @if (!empty($venta->numero_oc_proveedor)) {{ $venta->numero_oc_proveedor }} @endif Fecha OC: {{ \FCR::fecha_completa($venta->fecha_observacion) }} @endif |
@if (!empty($venta->pack_id_ml) && $venta->productos > 1)