@extends('cr_blank') @section('content') @include('componentes.r_header') @if ($ini && $fin)
| N. | {{--N° RECIBO | --}}FECHA | {{--CANT. BOB. | --}}VENDEDOR | PRODUCTO | CLIENTE | {{--VENTA CREDITO | --}} {{--VENTA EFECTIVO | --}} {{--A CUENTA (Bs) | --}}ML | P/U (Bs) | {{--SALDO (Bs) | --}}TOTAL (Bs) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$i }} | {{--{{ $item->nro_recibo }} | --}}{{ date('d/m/Y',strtotime($item->fecha)) }} | {{--{{ $item->cant_bobinas }} | --}}{{ $item->usuario->nombres }} |
@if ($dt_bob->longitud)
{{ $dt_bob->producto->nombre }} ({{ $dt_bob->tipo->nombre }}) ({{ $dt_bob->lote->lote }})
@else
{{ $dt_bob->producto->nombre }} ({{ $dt_bob->lote->lote }})
@endif
|
@if ($item->tipo_venta == 'SUCURSAL')
{{ $item->clsucursal->nombre }} | @else{{ $item->razon_social }} | @endif {{--ml | --}} @if ($dt_bob->tipo->id == 6 || $dt_bob->tipo->id == 7){{ ($dt_bob->longitud?$dt_bob->longitud*$dt_bob->cantidad:$dt_bob->cantidad)*1.08 }} | @else{{ $dt_bob->longitud?$dt_bob->longitud*$dt_bob->cantidad:$dt_bob->cantidad }} | @endif {{--pu | --}}{{ number_format($dt_bob->precio,2) }} | {{--{{ number_format($item->t_credito,2) }} | {{ number_format($item->t_contado,2) }} | {{ number_format($item->a_cuenta,2) }} | --}} {{--{{ number_format($item->saldo,2) }} | --}} @if ($dt_bob->longitud){{ number_format($dt_bob->cantidad * $dt_bob->longitud * $dt_bob->precio - $dt_bob->descuento,2) }} | @else{{ number_format($dt_bob->cantidad * $dt_bob->precio - $dt_bob->descuento,2) }} | @endif
| TOTALES | {{--{{ number_format($s_credito,2) }} | {{ number_format($s_contado,2) }} | {{ number_format($s_cuenta,2) }} | --}}{{ $s_ml }} | {{-- | {{ number_format($s_saldo,2) }} | --}}{{ number_format($s_subtotal,2) }} | |||||||||||