29 lines
792 B
PHP
29 lines
792 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<style>
|
|
</style>
|
|
</head>
|
|
<body>
|
|
@if(Session::has('success'))
|
|
<div class="alert alert-success">
|
|
{{Session::get('success')}}
|
|
</div>
|
|
@endif
|
|
<div>
|
|
<form method="post" action="{{ route("order.store") }}">
|
|
@foreach($products as $product)
|
|
<input type="hidden" name="products[{{ $loop->index }}]" value="{{ $product->uuid }}">
|
|
<x-product :product="$product" />
|
|
@endforeach
|
|
|
|
<textarea name="address"></textarea>
|
|
<input type="submit">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|