Eshop-Laravel/resources/views/shop/pre-place-order.blade.php

56 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2019-10-18 09:25:37 +00:00
@php
//
// if (!Session::get('user_id') ) {
//
// dd(header('location: ' . url('') ));
// }
$menu = App\Menu::all()->toArray();
@endphp
@extends('master')
@section('main_content')
<h2>Wait , Please Check your Info before the Check out</h2>
<table class="table table-striped table-dark">
<thead>
<tr>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Country</th>
<th scope="col">Address</th>
<th scope="col">ZIP</th>
<th scope="col">Phone</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{$user[0]->{'name'} }}</td>
<td>{{$user[0]->{'last_name'} }}</td>
<td>{{$user[0]->{'country'} }}</td>
<td>{{$user[0]->{'street'} .' '. $user[0]->{'streetNum'} .','. $user[0]->{'city'} }}</td>
<td>{{$user[0]->{'ZIP'} }}</td>
<td>{{ $user[0]->{'phone'} }}</td>
</tr>
<tr>
<td><a href="{{url('user') .'/' . 'profile'}}" class="btn btn-template">Wait, need to change somthing<i class="fa fa-angle-left"></a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><a href="{{url('shop') .'/' . 'placeorder'}}" class="btn btn-template">All good<i class="fa fa-angle-right"></a></td>
</tr>
</tbody>
</table>
{{-- <div class="row"> --}}
{{-- <div class="col-md-6"> --}}
{{-- </div>
</div> --}}
@endsection