@extends('blank') @section('content') @include('componentes.r_header')
|
Nro Orden:
|
{{ $datos->ingreso->nro }}
|
|
Lote/Nro. Bobina:
|
{{ $datos->lote }}
|
|
Producto:
|
{{ $datos->producto->nombre }}
|
|
Cantidad Ingresado:
|
{{ $datos->cantidad }}
|
|
Cantidad Actual:
|
{{ round($datos->cantidad_actual,2) }}
|
|
Cantidad Vendido:
|
{{ round($datos->cantidad - $datos->cantidad_actual,2) }}
|
| NRO. VENTA | FECHA | CLIENTE | CANT. | UNIDAD | TIPO | LONG. (Mt) | TOTAL (ML) | PRECIO UNIT. | DESC. | SUB TOTAL | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NRO. VENTA | FECHA | CLIENTE | CANT. | UNIDAD | PRECIO UNIT. | DESC. | SUB TOTAL | |||||||||||||||
| {{ $item->venta->txt_nro }} | {{ date('d/m/Y',strtotime($item->venta->fecha_registro)) }} | @if ($item->venta->tipo_venta == 'SUCURSAL') {{ $item->venta->clsucursal->nombre }} @else {{ $item->venta->razon_social }} @endif | {{ $item->cantidad }} | {{--{{ ++$i }} | --}} {{--{{ $item->producto->codigo }} | --}} @if ($datos->producto->es_bobina) @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 @else | {{ $item->unidad->sigla }} | @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 { if ($datos->producto->es_bobina) { $lon += $item->cantidad; } else { // conversion de unidades $lon += ($item->cantidad * $item->factor) / $datos->factor; } $total += ($item->cantidad*$item->precio)-$item->descuento; } @endphp
|
TOTAL (Bs):
|
{{ number_format($total,2) }}
|
|
@if ($datos->producto->es_bobina)
TOTAL (ML):
@else
TOTAL ({{ $datos->unidad->sigla }}):
@endif
|
{{ $lon }}
|
|
TOTAL USADO (ML):
|
{{ round($datos->cantidad - $datos->cantidad_actual,2) }}
|
|
DIF. CUMBRERAS (ML):
|
{{ round($lon - ($datos->cantidad - $datos->cantidad_actual),2) }}
|