155 lines
6.8 KiB
HTML
155 lines
6.8 KiB
HTML
<th:block th:utext="#{title.personal.info}"></th:block>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-3 col-lg-3">
|
|
<div class="card card-profile">
|
|
<th:block th:if="${#lists.isEmpty(lstPhoto)}">
|
|
<img class="card-img-top" style="width: 100%; height: 300px;" />
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(lstPhoto)}">
|
|
<input type="hidden" class="imageLoad" id="photoUrl" th:value="${lstPhoto[0]?.photoUrl} + ':' + ${lstPhoto[0]?.bucketName}"/>
|
|
<img class="card-img-top lazy" id="photoUrlObj" style="width: 100%; height: 300px;" />
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-12 col-md-9 col-lg-9">
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{First Name}"></label>
|
|
<h6>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.firstName}"></th:block>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.lastName}"></th:block>
|
|
</h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Passport Number}"></label>
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.passportNo}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Nationality}"></label>
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.nationality.cntryDesc}"></h6>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Passport Issue Date}"></label>
|
|
<h6 th:text="${#dates.format(workerRegDtlDto.workerProfile.passportIssueDt, 'dd/MM/yyyy')}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Passport Expiry Date}"></label>
|
|
<h6
|
|
th:text="${#dates.format(workerRegDtlDto.workerProfile.passportExpiryDt, 'dd/MM/yyyy')}"></h6>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Date of Birth}"></label>
|
|
<h6 th:text="${#dates.format(workerRegDtlDto.workerProfile.dob, 'dd/MM/yyyy')}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Gender}"></label>
|
|
<h6 th:text="${workerRegDtlDto.workerProfile?.gender == 'M' ? 'MALE' : 'FEMALE'}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Worker Type}"></label>
|
|
<h6 th:text="${workerRegDtlDto?.workerProfile?.wrkrTypeMtdt?.mstrDtDesc?.en}"></h6>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-2">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Contact No}"></label>
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.contactNo}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-8 col-lg-8">
|
|
<label class="text-muted" th:text="#{Address}"></label>
|
|
<h6>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.addr1}"></th:block>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.zipcode}"></th:block>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.nationality.cntryDesc}"></th:block>
|
|
</h6>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:utext="#{title.nok}"></th:block>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Name}"></label>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.fullname}"></h6>
|
|
</th:block>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Passport Number}"></label>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.passportNo!= ''?workerRegDtlDto.workerProfile.workerKins[0]?.passportNo:'N/A'}"></h6>
|
|
</th:block>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Relationship}"></label>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.relationMtdt?.mstrDtDesc?.en}"></h6>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<label class="text-muted" th:text="#{Contact No}"></label>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.contactNo}"></h6>
|
|
</th:block>
|
|
</div>
|
|
<div class="col-sm-12 col-md-8 col-lg-8">
|
|
<label class="text-muted" th:text="#{Address}"></label>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.workerProfile.workerKins)}">
|
|
<h6>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.addr1}"></th:block>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.zipcode}"></th:block>
|
|
<th:block th:text="${workerRegDtlDto.workerProfile.workerKins[0]?.country?.cntryDesc}"></th:block>
|
|
</h6>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<th:block th:if="${ workerRegDtlDto.saProfile!=null }">
|
|
<th:block th:utext="#{title.agent.dtl}"></th:block>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<small class="text-muted" th:text="#{Full Name}"></small>
|
|
<h6 th:text="${workerRegDtlDto.saProfile.saName!=null ? workerRegDtlDto.saProfile.saName :'-'}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<small class="text-muted" th:text="#{Registration No}"></small>
|
|
<h6 th:text="${workerRegDtlDto.saProfile.saRegNo!=null ? workerRegDtlDto.saProfile.saRegNo :'-'}"></h6>
|
|
</div>
|
|
<div class="col-sm-12 col-md-4 col-lg-4">
|
|
<small class="text-muted" th:text="#{Contact No}"></small>
|
|
<h6 th:text="${workerRegDtlDto.saProfile.contactNo!=null ? workerRegDtlDto.saProfile.contactNo :'-'}"></h6>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 col-md-12 col-lg-12">
|
|
<small class="text-muted" th:text="#{Address}"></small>
|
|
<th:block th:if="${#lists.isEmpty(workerRegDtlDto.saProfile.saAddresses)}">
|
|
<h6 th:text="#{-}"></h6>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(workerRegDtlDto.saProfile.saAddresses)}">
|
|
<h6 th:text="${workerRegDtlDto.saProfile.saAddresses[0]?.addr1}"></h6>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
</th:block> |