@if($exportar==1) @php header("Cache-Control: maxage=1"); header("Pragma: public"); header('Content-type: application/vnd.ms-excel'); header("Content-Disposition: attachment; filename=precios.xls"); header("Pragma: no-cache"); header("Expires: 0"); @endphp @endif
| codigo | nombre | costo Caja | costo Frcc | Venta_Caja | venta_Frcc | utilida_Caja | utilida_Frcc | Nuevo_P_Caja | Nuevo_Util_Caja | Nuevo_P_Frcc | Nuevo_Util_Frcc | Precio_bli_A | Precio_bli_Nu | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$item->codigoProd}} | {{$item->nombre}} | {{$cosotoCaja}} | {{$costoFrrc}} | {{$pcaja}} | {{$pfrcc}} | {{$utcaja}} | {{$utfrcc}} | @if(round($nuevPC/ 50) * 50 > $pcaja){{round($nuevPC/ 50) * 50}} | @else @if(round($nuevPC/ 50) * 50 == $pcaja){{round($nuevPC/ 50) * 50}} | @else{{round($nuevPC/ 50) * 50}} | @endif @endif{{$utiCaja}} | @if(round($nuevPF/ 50) * 50 > $pfrcc){{round($nuevPF/ 50) * 50}} | @else @if(round($nuevPF/ 50) * 50 == $pfrcc){{round($nuevPF/ 50) * 50}} | @else{{round($nuevPF/ 50) * 50}} | @endif @endif{{$utiFrcc}} | {{$item->precioblister}} | @if(round($precioblister/ 50) * 50 > $item->precioblister){{round($precioblister/ 50) * 50}} | @else @if(round($precioblister/ 50) * 50 == $item->precioblister){{round($precioblister/ 50) * 50}} | @else{{round($precioblister/ 50) * 50}} | @endif @endif