@isset($exportar) @php header("Cache-Control: maxage=1"); header("Pragma: public"); header('Content-type: application/vnd.ms-excel'); header("Content-Disposition: attachment; filename=Facturas_Resumidas.xls"); header("Pragma: no-cache"); header("Expires: 0"); @endphp @endisset
| bodega | Tipo_Factu | valorVenta | totalcosto | Rentabilidad | efectivo | tarjeta | trasferencia | credito | Servicio |
|---|---|---|---|---|---|---|---|---|---|
| {{$key}} | {{$k}} | {{$v["valorVenta"]}} | {{$v["totalcosto"]}} | {{$rentab}} | {{$v["efectivo"]}} | {{$v["tarjeta"]}} | {{$v["trasferencia"]}} | {{$v["credito"]}} | {{$v["propina"]}} |
| {{$key}} | TOTALES | {{$totalventa}} | {{$totalCosto}} | {{$totalRentabilidad}} | {{$efectivo}} | {{$tarjeta}} | {{$trasferencia}} | {{$credito}} | {{$servicio}} |