@extends('metronic.base') @section('extracss') @endsection @section('extrajs') @endsection @section('titulo') Orden de Producción @endsection @section('content') @include('sessions')
Crear Orden de Producción
@csrf
{{--
Código
--}} {{--
Número de orden
--}}
Cliente
@if ($orderP->cliente_id == null)
Seleccione...
@endif @foreach ($clientes as $cliente) @if ($orderP->cliente_id != null and $orderP->cliente_id == $cliente->id)
{{ $cliente->nombre_cliente }}
@else
{{ $cliente->nombre_cliente }}
@endif @endforeach
Orden de venta
@if ($orderP->orden_venta_id == null)
Seleccione...
@endif @foreach ($ordenesVenta as $orden) @if ($orderP->orden_venta_id != null and $orderP->orden_venta_id == $orden->id)
{{ $orden->file_code }}
@else
{{ $orden->file_code }}
@endif @endforeach
Bodega
@if ($orderP->bodega_id == null)
Seleccione...
@endif @foreach ($bodegas as $item) @if ($orderP->bodega_id != null and $orderP->bodega_id == $item->id)
{{ $item->bodega }}
@else
{{ $item->bodega }}
@endif @endforeach
Fecha de inicio
Fecha estimada de fin
Línea de producción
Seleccione...
@if ($orderP->line_producction_id == null)
Seleccione...
@endif @foreach ($lineasProd as $item) @if ($orderP->line_producction_id != null and $orderP->line_producction_id == $item->id)
{{ $item->nombre }}
@else
{{ $item->nombre }}
@endif @endforeach {{-- @foreach ($lineasProd as $item)
{{ $item->nombre }}
@endforeach --}}
Guardar
@endsection @section('extrajs') @endsection