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

173 lines
7.6 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>Register</title>
</head>
<body layout:fragment="page_content" id="page_register">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="card">
<div class="card-header card-header-rose card-header-icon">
<div class="card-icon d-flex">
<h3 class="card-title m-0" th:text="#{lbl.reg.sca}" />
<span class="card-title ml-2"
th:switch="${registrationDto?.status?.statusCd}"> <span
th:case="FLD" class="badge badge-pill badge-danger"
th:text="#{REJECTED}"></span> <span th:case="REJ"
class="badge badge-pill badge-success" th:text="#{REJECTED}"></span>
<span th:case="PSD" class="badge badge-pill badge-success"
th:text="#{APPROVED}"></span> <span th:case="APR"
class="badge badge-pill badge-warning" th:text="#{APPROVED}"></span>
<span th:case="DQC" class="badge badge-pill badge-warning"
th:text="#{PENDING APPROVAL}"></span>
</span>
</div>
</div>
<!-- ******************************** -->
<div class="card-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="bd-callout bd-callout-success">
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<label class="text-muted" th:text="#{'Registration Reference No.'}"></label>
<h6 th:text="*{registrationDto?.regRefNo}" />
</div>
<div class="col-lg-4 col-md-12">
<label class="text-muted" th:text="#{'Registration Date'}"></label>
<h6 th:text="${registrationDto?.applyDt != null ? #dates.format(registrationDto?.applyDt, 'dd/MM/yyyy') : '-'}"></h6>
</div>
<div class="col-lg-4 col-md-12">
<label class="text-muted" th:text="#{'Approval Date'}"></label>
<h6 th:text="${registrationDto?.approvedDt != null ? #dates.format(registrationDto?.approvedDt, 'dd/MM/yyyy') : '-'}"></h6>
</div>
</div>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="bd-callout bd-callout-success">
<th:block th:utext="#{title.agent.dtl}"></th:block>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.cmp.name}"></small>
<h6 th:text="*{registrationDto?.saProfile?.saName==null?'-':#strings.toUpperCase(registrationDto?.saProfile?.saName)}"></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.cmpny.reg.no}"></small>
<h6 th:text="*{registrationDto?.saProfile?.saRegNo==null?'-':#strings.toUpperCase(registrationDto?.saProfile?.saRegNo)}"></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.contact}"></small>
<h6 th:text="*{registrationDto?.saProfile?.contactNo==null?'-':registrationDto?.saProfile?.contactNo}" ></h6>
</div>
</div>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.cmny.email}"></small>
<h6 th:text="*{registrationDto?.email==null?'-':registrationDto?.email}"></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.cmny.addr}"></small>
<h6>
<th:block th:text="*{registrationDto?.saProfile?.saAddresse?.addr1}" ></th:block>
<th:block th:text="*{registrationDto?.saProfile?.saAddresse?.addr2}" ></th:block>
<th:block th:text="*{registrationDto?.saProfile?.saAddresse?.addr3}" ></th:block>
<th:block th:with="desc=${@staticreference.countryByCode(registrationDto?.saProfile?.saAddresse?.country?.cntryCode)}">
<th:block th:text="${desc.cntryDesc}"></th:block>
</th:block>
</h6>
</div>
</div>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<a th:href="'javascript:documentPopup(\'file/download?fmId='+${registrationDto?.licenceDocument?.docMgtId}+'&bucketName=myfrims_fms\',\''+ #{'COMPANY REGISTRATION LICENCE'} + '\', \'' + ${registrationDto?.licenceDocument?.docContentType} + '\',\'' + #{'COMPANY REGISTRATION LICENCE'}+ '\');'">
<i class="material-icons">picture_as_pdf</i>
<label th:text="#{'COMPANY REGISTRATION LICENCE'}"></label>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="bd-callout bd-callout-success">
<th:block th:utext="#{title.employer.owner}"></th:block>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.ownr.nm}"></small>
<h6 th:text="*{registrationDto?.saProfile?.saOwner?.fullname}" ></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.contact}"></small>
<h6 th:text="*{registrationDto?.saProfile?.saOwner?.contactNo}" ></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.email}"></small>
<h6 th:text="*{registrationDto?.saProfile?.saOwner?.email}" ></h6>
</div>
</div>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<a th:href="'javascript:documentPopup(\'file/download?fmId=' +
${registrationDto?.ownerIdCardDocument?.docMgtId} + '&bucketName=myfrims_fms\',\''+ #{'PROOF OF IDENTITY'} + '\', \'' + ${registrationDto?.ownerIdCardDocument?.docContentType} + '\',\'' + #{'PROOF OF IDENTITY'}+ '\');'">
<i class="material-icons">picture_as_pdf</i>
<label th:text="#{'PROOF OF IDENTITY'}"></label>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="bd-callout bd-callout-success">
<th:block th:utext="#{title.employer.pic}"></th:block>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.ownr.nm}"></small>
<h6 th:text="*{registrationDto?.saProfile?.picOwner?.fullname}" ></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.contact}"></small>
<h6 th:text="*{registrationDto?.saProfile?.picOwner?.contactNo}" ></h6>
</div>
<div class="col-lg-4 col-md-12">
<small class="text-muted" th:text="#{lbl.email}"></small>
<h6 th:text="*{registrationDto?.saProfile?.picOwner?.email}" ></h6>
</div>
</div>
<div class="row form-row">
<div class="col-lg-4 col-md-12">
<a th:href="'javascript:documentPopup(\'file/download?fmId=' +
${registrationDto?.picIdCardDocument?.docMgtId} + '&bucketName=myfrims_fms\',\''+ #{'PROOF OF IDENTITY'} + '\', \'' + ${registrationDto?.picIdCardDocument?.docContentType} + '\',\'' + #{'PROOF OF IDENTITY'}+ '\');'">
<i class="material-icons">picture_as_pdf</i>
<label th:text="#{'PROOF OF IDENTITY'}"></label>
</a>
</div>
</div>
</div>
</div>
</div>
<th:block th:include="page/registration/registration-approval" ></th:block>
<!-- ******************************** -->
</div>
</div>
</div>
</body>
</html>