@extends('blank') @section('content') @include('componentes.r_header')
|
Nro Orden:
|
{{ $lote->ingreso->nro }}
|
|
Lote/Nro. Bobina:
|
{{ $lote->lote }}
|
|
Producto:
|
{{ $lote->producto->nombre }}
|
|
Cantidad:
|
{{ $lote->cantidad }}
|
|
Cantidad Actual:
|
{{ round($lote->cantidad_actual,2) }}
|
| NRO. VENTA | FECHA | CLIENTE | CANT. | UNIDAD | TIPO | LONG. (Mt) | TOTAL (ML) | PRECIO UNIT. | DESC. | SUB TOTAL |
|---|
|
@if ($venta->tipo_venta == 'SUCURSAL')
SUCURSAL:
@else
CLIENTE:
@endif
|
@if ($venta->tipo_venta == 'SUCURSAL')
{{ $venta->clsucursal->nombre }}
@else
{{ $venta->razon_social }}
@endif
|
Fecha:
|
{{ date('d/m/Y',strtotime($venta->fecha_registro)) }}
|
Telf/Cel.:
|
{{ $venta->cliente->celular }}
|
| CLIENTE | CANTIDAD | UNIDAD | DESCRIPCIĆN | LONGITUD (Mt) | TOTAL (ML) | PRECIO UNITARIO | DESC | SUB TOTAL | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $venta->txt_nro }} | {{ date('d/m/Y',strtotime($venta->fecha_registro)) }} | @if ($venta->tipo_venta == 'SUCURSAL') {{ $venta->clsucursal->nombre }} @else {{ $venta->razon_social }} @endif | {{ $item->cantidad }} | {{--{{ ++$i }} | --}} {{--{{ $item->producto->codigo }} | --}} @if ($item->producto->es_bobina && $item->longitud)PZA | {{ $item->tipo->nombre }} | {{--{{ $item->lote->detalle }} TIPO {{ $item->tipo->nombre }} | --}} @else{{ $item->unidad->sigla }} | {{ $item->producto->nombre }} | @endif {{--{{ date('d-m-Y H:i',strtotime($item->fecha)) }} | --}} {{--{{ $item->producto->unidad->sigla }} | --}}{{ $item->longitud?$item->longitud:'' }} | @if ($item->tipo) @if ($item->tipo->id == 6 || $item->tipo->id == 7){{ ($item->longitud?$item->longitud*$item->cantidad:$item->cantidad)*1.08 }} | @else{{ $item->longitud?$item->longitud*$item->cantidad:$item->cantidad }} | @endif @else@endif | {{ number_format($item->precio,2) }} | {{ number_format($item->descuento,2) }} | @if ($item->longitud){{ number_format($item->cantidad * $item->longitud * $item->precio - $item->descuento,2) }} | @else{{ number_format($item->cantidad * $item->precio - $item->descuento,2) }} | @endif @php if ($item->longitud) { if ($item->tipo->id == 6 || $item->tipo->id == 7) { $lon += ($item->longitud*$item->cantidad)*1.08; } else { $lon += ($item->longitud*$item->cantidad); } $total += ($item->longitud*$item->cantidad*$item->precio)-$item->descuento; } else { $lon += $item->cantidad; $total += ($item->cantidad*$item->precio)-$item->descuento; } @endphp
|
TOTAL (Bs):
|
{{ number_format($total,2) }}
|
|
TOTAL (ML):
|
{{ $lon }}
|
|
TOTAL USADO (ML):
|
{{ round($lote->cantidad - $lote->cantidad_actual,2) }}
|
|
DIF. CUMBRERAS (ML):
|
{{ round($lon - ($lote->cantidad - $lote->cantidad_actual),2) }}
|