@extends('layouts.app', ['title' => __('Orders')]) @section('content')

{{ __('Item Management') }}

@if(auth()->user()->hasRole('owner')) {{ __('Back to items') }} @elseif(auth()->user()->hasRole('admin')) {{ __('Back to items') }} @endif

@include('partials.flash')
{{ __('Item information') }}
@csrf @method('put')
@if ($errors->has('item_name')) {{ $errors->first('item_name') }} @endif
@if ($errors->has('item_description')) {{ $errors->first('item_description') }} @endif
@if ($errors->has('item_price')) {{ $errors->first('item_price') }} @endif
@include('partials.input',['id'=>'vat','name'=>__('VAT percentage( calculated into item price )'),'placeholder'=>__('Item VAT percentage'),'value'=>$item->vat,'required'=>false,'type'=>'number'])