@extends('cr_blank') @section('content') @include('componentes.pedido_header') @if ($datos->tipo_venta == 'SUCURSAL')
Fecha: |
{{ date('d/m/Y',strtotime($datos->fecha_registro)) }} |
{{-- | NIT/CI: | --}}
||
Nombre/Razón social: |
{{ $datos->clsucursal->nombre }} |
{{-- Dirección: | --}} {{--{{ $datos->cliente->direccion }} | --}}Telf/Cel.: |
{{ $datos->clsucursal->telefono }} |
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 }} |
| N. | @if ($datos->tipo_venta == 'SUCURSAL')NRO. ORDEN | CÓDIGO BOBINA | @endifCANT | UNIDAD | DESCRIPCIÓN | @if ($datos->tipo_venta == 'SUCURSAL') @elseLONGITUD (Mt) | TOTAL (ML) | @endifPRECIO UNITARIO | SUB TOTAL | DESC | TOTAL NETO | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$i }} | @if ($datos->tipo_venta == 'SUCURSAL')- | - | @endif{{ fmod($item->cantidad_real, 1) == 0 ? intval($item->cantidad_real) : $item->cantidad_real }} | @if ($datos->tipo_venta == 'SUCURSAL') @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 @else @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 @endif {{--{{ date('d-m-Y H:i',strtotime($item->fecha)) }} | --}} @if ($datos->tipo_venta == 'SUCURSAL') @else{{ $item->longitud?$item->longitud:'' }} | @if ($item->producto->es_bobina) @if ($item->tipo->id == 6 || $item->tipo->id == 7){{ ($item->longitud?$item->longitud*$item->cantidad_real:$item->cantidad_real)*1.08 }} | @else{{ $item->longitud?$item->longitud*$item->cantidad_real:$item->cantidad_real }} | @endif @php $total_ml += $item->longitud?$item->longitud*$item->cantidad_real:$item->cantidad_real; @endphp @else@endif @endif |
@if (round((float) $item->precio, 2) != round((float) $item->precio_aux, 2))
|
@if ($item->longitud)
{{ number_format($item->total - $item->descuento,2) }} | @else{{ number_format($item->total - $item->descuento,2) }} | @endif @if ($item->descuento > 0){{ number_format($item->descuento,2) }}
{{ $item->porcentaje }} %
|
@else
{{ number_format(0,2) }} | @endif{{ number_format($item->total,2) }} | @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. | --}}Bs. | {{ number_format($total_neto,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($total_aux,2) }} | |||||||||||||||||||||||
|
@if ($datos->estado == 'ANULADO')
ANULADO
@endif
|
Peso aprox.
@if ($total_ml > 0)
Total ML
@endif
|
{{ number_format($peso,2) }}
@if ($total_ml > 0)
{{ $total_ml }}
@endif
|
| _________________________ | _________________________ | _________________________ |
| Elaborado por: | Interesado: | Autorizado por: |