@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 }} |
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 | SUB TOTAL | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$i }} | {{ $item->cantidad }} | @php @endphp @if ($item->producto->es_bobina && $item->longitud) @if ($item->factor > 1){{ $item->unidad->sigla }} | @elsePZA | @endif{{ $item->producto->nombre }} ({{ $item->tipo->nombre }}) | @else{{ $item->unidad->sigla }} | {{ $item->producto->nombre }} | @endif{{ $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 @php $total_ml += $item->longitud?$item->longitud*$item->cantidad:$item->cantidad; @endphp @else@endif | {{ number_format($item->precio_aux,2) }} | @if ($item->longitud){{ number_format($item->total - $item->descuento,2) }} | @else{{ number_format($item->total - $item->descuento,2) }} | @endif @php $total_desc += $item->descuento; $total_neto += $item->total; $total_aux += $item->total - $item->descuento; @endphp
| {{ ++$i }} | {{ $item->cantidad }} | {{ $item->detalle }} | @if ($item->longitud){{ $item->longitud }} | {{ $item->cantidad * $item->longitud }} | @else@endif | {{ number_format($item->precio,2) }} | @if ($item->longitud){{ number_format($item->cantidad * $item->longitud * $item->precio,2) }} | @else{{ number_format($item->cantidad * $item->precio,2) }} | @endif|||||
| Bs. | {{ number_format($total_aux,2) }} | ||||||||||||
| DESC. Bs. | {{ number_format( $total_desc,2) }} | ||||||||||||
| DESC. GRAL. Bs. | {{ number_format($datos->descuento,2) }} | ||||||||||||
| TRANSPORTE. Bs. | {{ number_format($datos->monto_transporte,2) }} | ||||||||||||
| TOTAL Bs. | {{ number_format($datos->total,2) }} | ||||||||||||
| N. | RECIBO | FECHA | DESCRIPCION | MONTO |
|---|---|---|---|---|
| {{ ++$i_ant }} | {{ $item->id }} | {{ date('d/m/Y', strtotime($item->fecha)) }} | {{ $item->descripcion }} | {{ number_format($item->monto,2) }} |
| TOTAL Bs. | {{ number_format($datos->anticipos->sum('monto'),2) }} | |||