74 lines
2.9 KiB
PHP
74 lines
2.9 KiB
PHP
<div class="modal fade" id="checkoutModal" tabindex="-1" aria-labelledby="checkoutModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title fw-bold" id="checkoutModalLabel">Pesanan Catering RSAB Harapan Kita</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<form id="checkoutForm">
|
|
<div class="modal-body">
|
|
<div class="row g-3">
|
|
<div class="col-md-4 text-center">
|
|
<input type="hidden" id="apakah_someday">
|
|
<input type="hidden" id="apakah_menu_siang">
|
|
<input type="hidden" id="apakah_menu_sore">
|
|
<input type="hidden" id="tgl_tersedia">
|
|
<img id="cathering_order_photo" class="img-fluid rounded shadow" style="max-height: 370px; width:270px;" alt="Foto Menu">
|
|
</div>
|
|
<div class="col-md-8">
|
|
<h5 id="cathering_order_name" class="mb-2 fw-bold"></h5>
|
|
<div id="kalori_detail" class="mb-2"></div>
|
|
<div id="tgl_menu_tersedia" class="mb-2"></div>
|
|
|
|
<div class="card shadow-sm border-0 rounded-3 p-3 bg-light">
|
|
<div class="d-flex justify-content-between align-items-center small mb-2 d-none">
|
|
<span class="text-muted">
|
|
<i class="bi bi-person-badge"></i> Harga Karyawan:
|
|
</span>
|
|
<span class="fw-bold text-success" id="cathering_order_price_karyawan"></span>
|
|
</div>
|
|
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
<span class="">
|
|
<i class="bi bi-cash-coin"></i> Harga:
|
|
</span>
|
|
<span class="fw-bold fs-5 text-primary" id="cathering_order_price_public"></span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p id="cathering_order_deskripsi"
|
|
class="text-muted small mb-2 mt-2"
|
|
style="
|
|
max-width: 100%;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
">
|
|
</p>
|
|
|
|
|
|
<div id="tag_klasifikasi_menu" class="mb-2"></div>
|
|
<div id="kalori_menu" class="mb-2"></div>
|
|
|
|
<input type="hidden" id="cathering_order_menu_id">
|
|
<input type="hidden" id="cathering_order_jenis_menu">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Tutup</button>
|
|
<button type="submit" class="btn btn-success">
|
|
<i class="fas fa-shopping-cart me-1"></i> Pesan Sekarang
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|