@extends('layouts.app') @section('stitle', __('messages.Orders')) @section('title', __('messages.Orders')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @elseif($errors->any()) @else @endif
@include('orders.order_menu')
@csrf

{{__('messages.Categories')}}

@foreach($categories as $category) @endforeach
{{__('messages.name')}}
{{ $category->name }}

{{__('messages.Products')}}

{{__('messages.name')}}
{{__('messages.DueAt')}}
{{__('messages.ReceiptNotes')}}
{{__('messages.KitchenNotes')}}
@foreach($orderProducts as $pro) @endforeach
{{__('messages.ORDERITEMS')}}
{{ $pro->name }} - ({{Auth::user()->business->currency->symbol}} {{ $pro->price }})
{{__('messages.SubTotal')}}
{{Auth::user()->business->currency->symbol}} {{ $order->subtotal_price }}
{{__('messages.VAT')}}
{{Auth::user()->business->currency->symbol}} 0
{{__('messages.Total')}}
{{Auth::user()->business->currency->symbol}} {{ $order->total_price }}
@endsection @push('my_scripts') @endpush