269 lines
13 KiB
HTML
269 lines
13 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.mc.reg}" />
|
||
|
<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">
|
||
|
<th:block th:utext="#{title.mc.dtl}"></th:block>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.name}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcName==null?'-':#strings.toUpperCase(registrationDto?.mcProfile?.mcName)}"></h6>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{'Registration No.'}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcRegNo==null?'-':#strings.toUpperCase(registrationDto?.mcProfile?.mcRegNo)}"></h6>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.contact}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.contactNo==null?'-':registrationDto?.mcProfile?.contactNo}" ></h6>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.email}"></small>
|
||
|
<h6 th:text="*{registrationDto?.email==null?'-':registrationDto?.email}"></h6>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12" th:with="desc=${@staticreference.countryByCode(registrationDto?.mcProfile?.country?.cntryCode)}">
|
||
|
<small class="text-muted" th:text="#{'Country'}"></small>
|
||
|
<h6 th:text="${desc.cntryDesc}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.addr}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.addr1}" />
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.addr2}" />
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.addr3}" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.open.hr}"></small>
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
<h6>
|
||
|
<th:block th:text="${registrationDto?.mcProfile?.weekDaysFrom +'-'+ registrationDto?.mcProfile?.weekDaysTo}"></th:block>
|
||
|
<small th:text="'(' + #{lbl.week.days} + ')'"></small>
|
||
|
</h6>
|
||
|
<h6>
|
||
|
<th:block th:text="${registrationDto?.mcProfile.weekEndFrom +'-'+ registrationDto?.mcProfile.weekEndTo}" />
|
||
|
<small th:text="'(' + #{lbl.week.end} + ')'"></small>
|
||
|
</h6>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<a th:href="'javascript:documentPopup(\'file/download?fmId='+${registrationDto?.logoDocument?.docMgtId}+'&bucketName=myfrims_fms\',\''+ #{'MEDICAL CENTER LOGO'} + '\', \'' + ${registrationDto?.logoDocument?.docContentType} + '\',\'' + #{'MEDICAL CENTER LOGO'}+ '\');'">
|
||
|
<i class="material-icons">picture_as_pdf</i> <label
|
||
|
th:text="#{'MEDICAL CENTER LOGO'}"></label>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<a th:href="'javascript:documentPopup(\'file/download?fmId='+${registrationDto?.licenceDocument?.docMgtId}+'&bucketName=myfrims_fms\',\''+ #{'MEDICAL CENTER LICENCE'} + '\', \'' + ${registrationDto?.licenceDocument?.docContentType} + '\',\'' + #{'MEDICAL CENTER LICENCE'}+ '\');'">
|
||
|
<i class="material-icons">picture_as_pdf</i> <label
|
||
|
th:text="#{'MEDICAL CENTER 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.owner.dtl}"></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?.mcProfile?.mcOwner?.fullname}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.design}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcOwner?.designation}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.contact}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcOwner?.contactNo}" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.email}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcOwner?.email}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<a th:href="'javascript:documentPopup(\'file/download?fmId=' +
|
||
|
${registrationDto?.ownerPoIDocument?.docMgtId} + '&bucketName=myfrims_fms\',\''+ #{'PROOF OF IDENTITY'} + '\', \'' + ${registrationDto?.ownerPoIDocument?.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.pic.dtl}"></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?.mcProfile?.picOwner?.fullname}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.design}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.mcOwner?.designation}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.contact}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.picOwner?.contactNo}" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{lbl.email}"></small>
|
||
|
<h6 th:text="*{registrationDto?.mcProfile?.picOwner?.email}" />
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<a th:href="'javascript:documentPopup(\'file/download?fmId=' +
|
||
|
${registrationDto?.picPoIDocument?.docMgtId} + '&bucketName=myfrims_fms\',\''+ #{'PROOF OF IDENTITY'} + '\', \'' + ${registrationDto?.picPoIDocument?.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" th:if="${not #lists.isEmpty(registrationDto?.mcProfile.doctorProfiles)}">
|
||
|
<div class="col-sm-12 col-md-12 col-lg-12">
|
||
|
<div class="bd-callout bd-callout-success">
|
||
|
<th:block th:utext="#{title.doctor.dtl}"></th:block>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-md-3">
|
||
|
<ul class="nav nav-pills nav-pills-rose flex-column" role="tablist" id="tab-list" >
|
||
|
<th:block th:each="doctor, idx : *{registrationDto?.mcProfile.doctorProfiles}">
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link" th:classappend="${__${idx.index}__ == 0} ? 'active'"
|
||
|
data-toggle="tab" th:href="#{#doctor__${idx.index}__}" role="tablist" >
|
||
|
<th:block th:text="#{Doctor }"/><th:block th:text="${#ids.seq ('')}"/> </a></li>
|
||
|
</th:block>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="col-md-8">
|
||
|
<div class="tab-content" id="tab-content" >
|
||
|
<th:block th:each="doctor, idx : *{registrationDto?.mcProfile.doctorProfiles}">
|
||
|
<div class="tab-pane" th:classappend="${__${idx.index}__ == 0} ? 'active'" th:id="#{doctor__${idx.index}__}">
|
||
|
<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="${doctor.doctorNm}"></h6>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{Professional Id}"></small>
|
||
|
<h6 th:text="${doctor.doctorId}"></h6>
|
||
|
</div>
|
||
|
<div class="col-lg-4 col-md-12">
|
||
|
<small class="text-muted" th:text="#{Qualification}"></small>
|
||
|
<h6 th:text="${doctor.doctorQualif}"></h6>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row form-row">
|
||
|
<div class="col-lg-4 col-md-12" th:each="refDoc, rowStat : ${reportDocList}" th:with="title=${refDoc.docDesc.en}">
|
||
|
<a th:href="'javascript:documentPopup(\'file/download?fmId='
|
||
|
+${doctor?.documents[__${rowStat.index}__]?.docMgtId}+'&bucketName=MYMEDISYS_REG\',\''+ ${title}
|
||
|
+ '\', \'' + ${doctor?.documents[__${rowStat.index}__]?.docContentType} + '\',\'' + ${title}+ '\');'">
|
||
|
<i class="material-icons">picture_as_pdf</i> <label
|
||
|
th:text="${title}"></label>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="pb-3 text-right" th:unless="${wpsApproval}">
|
||
|
<div class="ml-auto button-group">
|
||
|
<button type="button" class="btn btn-secondary waves-effect waves-light" th:onclick="|window.location.href='@{#{url.wps.tasks}}'|">Back</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="card" th:if="${wpsApproval}">
|
||
|
<div class="card-header card-header-rose card-header-icon">
|
||
|
<div class="card-icon d-flex">
|
||
|
<h3 class="card-title m-0" th:text="#{'Approval'}"></h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="card-body">
|
||
|
<form id="dqFormId" name="companyRegistaration" th:action="@{#{'/dataQuality/verify'}}" th:object="${registrationDto}" autocomplete="off" th:method="post">
|
||
|
<div class="bd-example mb-2">
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
<th:block th:if="${wpsStatus != null}">
|
||
|
<label th:text="#{Status}"></label>
|
||
|
<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 mb-3">
|
||
|
<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}"></label>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="pb-3 text-right">
|
||
|
<div class="ml-auto button-group">
|
||
|
<button type="button" class="btn btn-secondary waves-effect waves-light" th:onclick="|window.location.href='@{#{url.wps.tasks}}'|">Cancel</button>
|
||
|
<button type="button" class="btn btn-primary waves-effect waves-light" id="submitBtnId" onclick="submitForm()">Submit</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|