@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 }}
@else @endif
{{--
Detalle de venta.
--}} {{-- --}} @php $total_cant = 0; $total_desc = 0; $peso_producto = 0; $peso_neto = 0; $peso_bruto = 0; @endphp @foreach ($datos->detalleventa as $item) @if ($item->producto->es_bobina && $item->longitud) @else @php $peso_producto += $item->producto->peso * $item->cantidad; @endphp @endif @if ($item->longitud) @else @endif @php $total_cant += $item->cantidad; $total_desc += $item->descuento; $peso_neto += $item->lote->peso_neto; $peso_bruto += $item->lote->peso; @endphp @endforeach @if ($datos->monto_transporte) @endif
N. NRO. ORDEN CÓDIGO BOBINA CANT. UN. DESCRIPCIÓN P.U. DESC P. NETO P. BRUTO SUB TOTAL
{{ ++$i }} {{ $item->lote->ingreso->nro }} {{ $item->lote->lote }} {{ $item->cantidad }}PZA {{ $item->producto->nombre }} ({{ $item->tipo->nombre }}){{ $item->unidad->sigla }} {{ $item->producto->nombre }}{{ number_format($item->precio,2) }} {{ number_format($item->descuento,2) }} {{ $item->lote->peso_neto }} {{ $item->lote->peso }}{{ number_format($item->cantidad * $item->longitud * $item->precio - $item->descuento,2) }}{{ number_format($item->cantidad * $item->precio - $item->descuento,2) }}
TOTAL DESC. Bs.
{{ number_format($total_desc,2) }}
TRANSPORTE. Bs.
{{ number_format($datos->monto_transporte,2) }}
TOTAL Bs.
{{ number_format($datos->total,2) }}
{{ $txt_total }}
@if ($datos->estado == 'ANULADO')
ANULADO
@endif
{{--
Peso Aprox.: {{ number_format($peso,2) }}
--}} @if ($peso != $peso_neto) {{--
El peso no es correcto. Peso aprox. {{ number_format($peso,2) }}
--}} @endif @if ($peso_neto > 0 || $peso_bruto > 0)
Total Cantidad: {{ number_format($total_cant,2) }}
Peso de Bobinas
Peso Neto: {{ number_format($peso_neto,2) }}
Peso Bruto: {{ number_format($peso_bruto,2) }}
@endif @if ($peso_producto > 0) {{--
Peso de Producto
Peso: {{ number_format($peso_producto,3) }}
--}} @endif @if ($datos->observacion)
Observación:
{{ $datos->observacion }}
@endif
{{-- --}} {{-- --}} {{-- --}}
_________________________ _________________________ _________________________
Elaborado por: Interesado: Autorizado por:
@endsection @section('scripts') @endsection