31 lines
780 B
PHP
31 lines
780 B
PHP
<h1>heri jancok</h1>
|
|
@if(session()->has('user'))
|
|
<p>Session aktif: {{ session('user')->name }}</p>
|
|
@else
|
|
<p>Session tidak ditemukan</p>
|
|
@endif
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Booking Pemotretan</title>
|
|
</head>
|
|
<body>
|
|
<h1>Booking Pemotretan</h1>
|
|
|
|
@if(session('success'))
|
|
<p style="color: green;">{{ session('success') }}</p>
|
|
@endif
|
|
|
|
<form action="{{ route('booking.store') }}" method="POST">
|
|
@csrf
|
|
<label for="tanggal_pemotretan">Pilih Tanggal Pemotretan:</label>
|
|
<input type="datetime-local" name="tanggal_pemotretan" required>
|
|
<button type="submit">Booking Sekarang</button>
|
|
</form>
|
|
|
|
<a href="{{ route('dashboard') }}">Kembali ke Dashboard</a>
|
|
</body>
|
|
</html>
|