@php header("Content-type: application/vnd.ms-excel; charset=utf-8"); header("Content-Disposition: attachment; filename=ventas-mercadolibre-".$anio."-".$mes.".xls"); header("Pragma: no-cache"); header("Expires: 0"); @endphp @foreach($ventas as $v) @if(!empty($v->pdf_id_ml)) @else @endif @if(!empty($v->estado_nombre)) @elseif($v->estado_ml == 'cancelled') @else @endif @if($v->tipo_logistica == 'fulfillment') @else @endif @if($v->venta_flex == 'si') @else @endif @if(empty($v->envio_id_ml)) @else @endif @endforeach
ID Venta Vendedor ML Comprador ML Productos Total Compra Fecha Creación Documento Nº Boleta - Factura Venta Facturada Estado Full Flex Acuerdo de entrega Nota
{{ $v->venta_id_ml }} {{ $v->vendedor_ml_nick }} {{ $v->comprador_ml_nick }} {{ $v->producto_titulo }}
MLC: {{ $v->producto_id_ml }} SKU: {{ $v->codigo_sku }}
$ {{ \FCR::num_cl($v->total_compra) }} {{ $v->fecha_creacion }} {{ ucwords($v->venta_documento) }} {{ $v->softnet_boleta_factura_id }}Si{{ $v->estado_nombre }}CanceladoSiNoSiNoSiNo{{ $v->venta_nota }}