50 lines
1.8 KiB
HTML
50 lines
1.8 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||
|
xmlns:th="http://www.thymeleaf.org"
|
||
|
layout:decorate="~{layouts/blank-layout}">
|
||
|
<head>
|
||
|
<title th:text="${pageTitle}">Payment Details</title>
|
||
|
</head>
|
||
|
<div layout:fragment="page_subtitle">
|
||
|
<h1 class="title">Payment Details</h1>
|
||
|
</div>
|
||
|
<body layout:fragment="page_content" id="page_payment_details">
|
||
|
<form id="paymentDetailsForm" name="paymentDetailsForm" th:action="@{''}"
|
||
|
autocomplete="off" th:method="POST" enctype="multipart/form-data">
|
||
|
<input type="hidden" name="sellerOrderNo" th:value="${payForm.sellerOrderNo}"/>
|
||
|
<div class="section-space"></div>
|
||
|
<div class="cd-section">
|
||
|
<div class="row">
|
||
|
<h2 class="title">Payment</h2>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<h5 class="title">Application Summary</h5>
|
||
|
</div>
|
||
|
<th:block th:if="${spForm?.appType?.mstrDtCode == 'STD' or spForm?.appType?.mstrDtCode == 'VST'}">
|
||
|
<div class="cd-section" th:include="page/payment/summary-student-tourist"></div>
|
||
|
</th:block>
|
||
|
<th:block th:if="${spForm?.appType?.mstrDtCode == 'GW' or spForm?.appType?.mstrDtCode == 'EXP'}">
|
||
|
<div class="cd-section" th:include="page/payment/summary-expat-worker"></div>
|
||
|
</th:block>
|
||
|
<div class="row">
|
||
|
<h6 class="title">Invoice</h6>
|
||
|
</div>
|
||
|
<div class="cd-section" th:include="page/payment/invoice"></div>
|
||
|
</div>
|
||
|
<th:block th:if="${isPaid}">
|
||
|
<div class="cd-section" th:include="page/payment/transaction-summary"></div>
|
||
|
</th:block>
|
||
|
<div class="row pb-3">
|
||
|
<th:block th:if="${!isPaid}">
|
||
|
<div class="ml-auto">
|
||
|
<input type="submit" class="btn btn-fill btn-primary btn-wd" value="Make Payment">
|
||
|
</div>
|
||
|
</th:block>
|
||
|
<th:block th:if="${isPaid}">
|
||
|
<div class="ml-auto">
|
||
|
<a th:href="@{#{url.sp.list}}" class="btn btn-fill btn-primary btn-wd" th:text="#{'Done'}"></a>
|
||
|
</div>
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|