myMedisys/tomcatfiles/mymedisys-frontend/WEB-INF/classes/templates/page/registration/registration-approval.html
2023-09-06 05:56:42 +05:30

36 lines
1.6 KiB
HTML

<p class="m-3"></p>
<th:block th:if="${wpsApproval}">
<form id="dqFormId" name="companyRegistaration" th:action="@{#{'/dataQuality/verify'}}"
th:object="${registrationDto}" autocomplete="off" th:method="post">
<div class="bd-example mb-2">
<h4 class="card-title">Verify</h4>
<div class="row">
<div class="col-12">
<th:block th:if="${wpsStatus != null}">
<div class="form-group">
<div class="form-check-radio form-check-inline" th:each="status : ${wpsStatus}" th:if="${status.initialState == 0}">
<label class="form-check-label">
<input class="form-check-input" type="radio" required="required"
th:field="*{appStatus}" th:value="${status.statusCd}" th:text="${status.statusDesc}">
<span class="circle"><span class="check"></span> </span>
</label>
</div>
</div>
<label class="col-12 text-danger" id="lblStatusRequired" style="display: none" th:text="#{'Please Select Approve / Reject'}" ></label>
</th:block>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form">
<label th:text="#{Remarks}"></label>
<textarea class="form-control valid " th:field="*{remarks}" placeholder="" aria-invalid="false" rows="3"></textarea>
<label class="text-danger" id="lblRemarksRequired" style="display: none" th:text="#{lbl.remarks.req}" />
</div>
</div>
</div>
</div>
<button type="button" th:if="${wpsApproval}" class="btn btn-danger pull-right" id="submitBtnId" onclick="submitForm()">Submit</button>
</form>
</th:block>
<button type="button" class="btn btn-primary" th:onclick="|window.location.href='@{#{url.wps.tasks}}'|">Back</button>