@extends('layouts.app') @section('content') {{ csrf_field() }}
@csrf
{{__("Discard")}}

{{__("Number")}}:

{{__("Customer")}}: *

@if($errors->has('customer_id')) @endif

{{__("Date")}}: *

@if($errors->has('order_date')) @endif

{{__("Deadline")}}: *

@if($errors->has('deadline')) @endif

{{__("Area")}}: *

@if($errors->has('area_id')) @endif

{{__("Payment terms")}}: *

{{__("Item type")}}:

{{__("Item")}}:

@csrf
@if(!empty($preparedItems))

{{__("Prepared items")}}

@foreach($preparedItems as $item) @endforeach
{{__('Code')}} {{__('Item')}} {{__('Quantity')}} {{__('Discount')}} {{__('Price')}} {{__('Total')}} {{__('Description')}}
{{$item->code}} {{$item->item_name}} {{$item->quantity}} {{$item->discount}}% {{number_format($item->price, 2, ',', '.')}} {{number_format($item->price*$item->quantity*(1-$item->discount/100), 2, ',', '.')}} {{$item->description}}
@endif
@endsection