Número de pacientes por doctor
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
<h:outputText value="#{phc.location}" />
|
||||
</p:column>
|
||||
</p:autoComplete>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui-g-4 ui-md-4" />
|
||||
|
||||
<div class="ui-g-12">
|
||||
@@ -35,24 +36,28 @@
|
||||
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rowsPerPageTemplate="10,20,30,40"
|
||||
emptyMessage="No existe ningún doctor para el centro seleccionado.">
|
||||
|
||||
<p:column headerText="Número Profesional" width="100">
|
||||
<p:column headerText="Número Profesional" style="width:100px;">
|
||||
<h:outputText value="#{d.professionalNumber}" />
|
||||
</p:column>
|
||||
|
||||
<p:column headerText="Nombre" width="150">
|
||||
<p:column headerText="Nombre" style="width:150px;">
|
||||
<h:outputText value="#{d.name}">
|
||||
<f:convertDateTime type="time" pattern="HH:mm" />
|
||||
</h:outputText>
|
||||
</p:column>
|
||||
|
||||
<p:column headerText="Apellidos" width="auto">
|
||||
<p:column headerText="Apellidos" style="width:auto;">
|
||||
<h:outputText value="#{d.surname}" />
|
||||
</p:column>
|
||||
|
||||
<p:column headerText="Correo electrónico" width="auto">
|
||||
<p:column headerText="Correo electrónico" style="width:auto;">
|
||||
<h:outputText value="#{d.email}" />
|
||||
</p:column>
|
||||
|
||||
<p:column headerText="Número de pacientes" style="width:100px; text-align: center;">
|
||||
<h:outputText value="#{listDoctors.getPatientsByDoctor(d.id)}" />
|
||||
</p:column>
|
||||
|
||||
<f:facet name="paginatorBottomLeft">
|
||||
<p:commandButton type="button" icon="pi pi-refresh" onclick="PF('dtDoctorList').getPaginator().setPage(0);" />
|
||||
</f:facet>
|
||||
|
||||
Reference in New Issue
Block a user