$body['order'] = Session::get($body['session_order_key']); ?> <html lang="it"> <head> <meta charset="utf-8"> </head> <body> <h2>{{Config::get('authentication::app_name')}}: {{L::t('Order submitted successfully')}}</h2> <div> {{L::t('Hello')}} {{ $body['email'] }} <strong>{{L::t('Order number')}}: {{$body['order']->id}} {{L::t('submitted successfully')}}.</strong> <br/> <strong>{{L::t('Order details')}}:</strong> @foreach($body['order']->getRowOrders() as $order) <?php $product = Product::find($order->product_id); ?> <ul> <li> <strong>{{L::t('Name')}}: </strong>{{$product->name}} </li> <li> <strong>{{L::t('Code')}}: </strong>{{$product->code}} </li> <li> <strong>{{L::t('Quantity')}}: </strong>{{$order->quantity}} </li> <li> <strong>{{L::t('Unitary price')}} </strong>{{round($order->total_price / $order->quantity, 2)}} </li> <li>