@extends('layout') @section('content') @section('ventas-active', 'active') @section('guias-remision-active', 'active')

REGISTRAR NUEVA GUIA DE REMISION

{{csrf_field()}}

Guia de Remision

Registrar datos de la guia de remision:

@if ($errors->has('fecha_documento')) {{ $errors->first('fecha_documento') }} @endif
@if ($errors->has('fecha_atencion')) {{ $errors->first('fecha_atencion') }} @endif
@if ($errors->has('cantidad_productos')) {{ $errors->first('cantidad_productos') }} @endif
@if ($errors->has('peso_productos')) {{ $errors->first('peso_productos') }} @endif

Dirección de Partida

Registrar dirección de partida de los productos:

@if ($errors->has('ubigeo_partida')) {{ $errors->first('ubigeo_partida') }} @endif
@if ($errors->has('direccion_empresa')) {{ $errors->first('direccion_empresa') }} @endif

Dirección de llegada

Registrar dirección de llegada de los productos:

@if ($errors->has('tienda')) {{ $errors->first('tienda') }} @endif
@if ($errors->has('departamento')) {{ $errors->first('departamento') }} @endif {{-- @if ($errors->has('ubigeo_llegada')) {{ $errors->first('ubigeo_llegada') }} @endif --}}
@if ($errors->has('provincia')) {{ $errors->first('provincia') }} @endif
@if ($errors->has('ubigeo_llegada')) {{ $errors->first('ubigeo_llegada') }} @endif
@if ($errors->has('direccion_tienda')) {{ $errors->first('direccion_tienda') }} @endif

Detalles del envio

Registrar datos adicionales del envio:

@if ($errors->has('dni_conductor')) {{ $errors->first('dni_conductor') }} @endif
@if ($errors->has('placa_vehiculo')) {{ $errors->first('placa_vehiculo') }} @endif
@if ($errors->has('motivo_traslado')) {{ $errors->first('motivo_traslado') }} @endif
@if ($errors->has('observacion')) {{ $errors->first('observacion') }} @endif

Detalle de la Guia de Remision

{{-- --}} {{-- --}} @foreach($detalles as $producto) @php $descripcion = ''; @endphp @foreach ($producto['tallas'] as $talla) @php $descripcion .= '['.$talla['talla_nombre'].'/'.intval($talla['cantidad']).']'; @endphp @endforeach {{-- --}} @endforeach
ACCIONES CANTIDAD UNIDAD DE MEDIDA PESO (KG) DESCRIPCION DEL PRODUCTO PRECIO TOTALACCIONES CANT DESCRIPCION DEL PRODUCTO DESCRIPCION(TALLA/CANT) PESO (KG)DESCRIPCION DEL PRODUCTO PRECIO TOTAL
- {{$producto['cantidad_total']}} {{$producto['producto_codigo'].' - '.$producto['modelo_nombre'].' - '.$producto['producto_nombre'].' - '.$producto['color_nombre']}}{{$descripcion}} 00.00
{{ $detalle->lote->producto->id }} - {{ $detalle->cantidad }} {{ $detalle->lote->producto->getMedida()}} {{ number_format($detalle->lote->producto->peso_producto * $detalle->cantidad,2 , '.', '') }} {{ $detalle->lote->producto->nombre.' - '. $detalle->lote->codigo }} {{ $detalle->precio_nuevo }} {{ number_format($detalle->precio_nuevo * $detalle->cantidad,2 , '.', '') }} {{ $detalle->lote->producto->medida }}
Sub Total: {{ number_format($documento->sub_total,2 , '.', '') }}
IGV 18% : {{ number_format($documento->total_igv,2 , '.', '') }}
TOTAL: {{ number_format($documento->total,2 , '.', '') }}
Los campos marcados con asterisco () son obligatorios.
Regresar
@include('ventas.documentos.modal') @stop @push('styles') @endpush @push('scripts') @endpush