@extends('layouts.app') @section('link') @endsection @section('style') @endsection @section('content')

Промяна на поръчка

{{ method_field('PATCH') }} {{ csrf_field() }}
@if ($errors->has('technician_id')) {{ $errors->first('technician_id') }} @endif
@if(auth()->user()->role_id==1)
@foreach(__('texte.order_statuses_'.auth()->user()->role_id) as $key=>$value) @if($key<7)
@endif @endforeach @if ($errors->has('status')) {{ $errors->first('status') }} @endif
@else @endif
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@foreach($order_products as $index => $order_product) @endforeach
Категория Продукт Количество Мерна ед.
{{$order_product->category->name}} {{$order_product->product}} {{$order_product->quantity}} {{$order_product->measure}}
@if ($errors) {{ $errors->first() }} @endif
@if(auth()->user()->role_id==2 || auth()->user()->role_id==3 || auth()->user()->role_id==4 || auth()->user()->role_id==7) @else @endif