@extends('cr_blank') @section('content') @include('componentes.pedido_header')
Fecha: |
{{ date('d/m/Y',strtotime($datos->fecha_registro)) }} |
NIT/CI: |
{{ $datos->nit }} |
||
Nombre/Razón social: |
{{ $datos->razon_social }} |
{{-- Dirección: | --}} {{--{{ $datos->cliente->direccion }} | --}}Telf/Cel.: |
{{ $datos->cliente->celular }} |
Fecha de vencimiento: |
{{ $datos->fecha_vigencia?date('d/m/Y',strtotime($datos->fecha_vigencia)):'' }} |
| N. | CANT. | UNIDAD | DESCRIPCIÓN | LONGITUD (Mt) | TOTAL (ML) | PRECIO UNITARIO | DESC | SUB TOTAL | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$i }} | {{ $item->cantidad }} | @php $nro = $item->lote->ingreso->nro; // Suponiendo que es un string o número $ultimos5 = substr($nro, -5); @endphp @if ($item->producto->es_bobina && $item->longitud)PZA | {{ $item->producto->nombre }} ({{ $item->tipo->nombre }}) ({{ $ultimos5 }}) ({{ $item->lote->lote }}) | {{--{{ $item->producto->nombre }} CALAMINA TIPO {{ $item->tipo->nombre }}, ({{ $item->lote->detalle }}) | --}} @else{{ $item->unidad->sigla }} | {{ $item->producto->nombre }} ({{ $ultimos5 }}) ({{ $item->lote->lote }}) | @endif {{--{{ date('d-m-Y H:i',strtotime($item->fecha)) }} | --}}{{ $item->longitud?$item->longitud:'' }} | @if ($item->producto->es_bobina) @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 $total_desc += $item->descuento; @endphp
| TOTAL DESC. Bs. | {{ number_format($total_desc,2) }} | ||||||||||||||
| TRANSPORTE. Bs. | {{ number_format($datos->monto_transporte,2) }} | ||||||||||||||
| TOTAL Bs. | {{ number_format($datos->total,2) }} | ||||||||||||||
|
Peso aprox.
|
{{ number_format($peso,2) }} |