{{-- unserialize --}} @php $menu = App\Menu::all()->toArray(); $sum = 0; @endphp @extends('master') @section('main_content')

Order #{{$oid}}

Order #{{$oid}} was placed on {{$order[0]->created_at}} and is currently Being prepared.

If you have any questions, please feel free to contact us, our customer service center is working for you 24/7.

Your profile

@if ($errors -> any() )
@endif
{{Session::get('user_name')}}

{{ $user[0]->{'street'} . ','. $user[0]->{'streetNum'} }}
{{$user[0]->{'city'} }}
{{$user[0]->{'country'} }}
ZIP : {{$user[0]->{'ZIP'} }}

Product
Price
Quantity
Total
@foreach (unserialize($order[0]->data) as $value)
${{$value['price']}}
{{$value['quantity']}}
${{$totle = $value['price'] * $value['quantity'] }}
@php $sum = $sum +$totle; @endphp @endforeach
@endsection