@extends("layoutfrontend") @section('title', 'Booking | Pembayaran') @section("css") @endsection @section("content")
$hotel->sub_url]) }}" method="post"> @csrf
Orders
@php $grandtotal = 0 @endphp @if (count($orders) > 0) @foreach ($orders as $order) @php $grandtotal += @$order->subtotal @endphp
{{--
--}}
@endforeach @else
You don't have any order right now.
@endif
{{-- Checkout Section --}}
Checkout
Please fill all required fields to make the payment.
check() ? @Auth::guard("guests")->user()->name : ""}}" placeholder="John Doe">
check() ? @Auth::guard("guests")->user()->email : ""}}" placeholder="youremail@mail.com">
Grand total: Rp {{ribuan($grandtotal)}}
{{--
Down Payment: Rp {{ ribuan($grandtotal / 2) }}
--}} {{-- Required deposit is 50%. Balance payment upon arrival --}}
@endsection @section("js") @endsection