@php header("Content-type: application/vnd.ms-excel; charset=utf-8"); header("Content-Disposition: attachment; filename=notificaciones-ventas-mercadolibre-".$anio."-".$mes.".xls"); header("Pragma: no-cache"); header("Expires: 0"); $headStyle = 'background:#9ebbe6;font-style: italic;font-weight:bold;'; @endphp @foreach($ventas as $venta) @if(!empty($venta->pack_id_ml)) @else @endif @endforeach
N° Venta SKU Precio Venta Utilidad Fecha Acción Cuenta
Nº {{ $venta->pack_id_ml }}Nº {{ $venta->venta_id_ml }}{{ $venta->codigo_sku }} ${{ \FCR::num_cl($venta->total_compra) }} {{ str_replace('.', ',', $venta->porcentaje_utilidad) }}% {{ \FCR::fecha_completa($venta->fecha_observacion) }} {{ $venta->accion_notificacion_ml_nombre }} {{ $venta->vendedor_ml_nick }}