Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COM: se suma fecha de creación/actualización a listado de derivaciones #1959

Merged
merged 1 commit into from
Oct 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions src/app/modules/com/components/punto-inicio.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<plex-layout main="{{showSidebar? 7 : 12}}">
<plex-layout-main>
<plex-title main titulo="CENTRO OPERATIVO MÉDICO">
<plex-button type="info" class="ml-2" (click)="cambiarVerAyuda(true)" icon="help-circle">
</plex-button>
<plex-button position="right" class="float-right mr-1" type="success" label="Nueva derivación"
<plex-button position="left" type="success" class="mr-1" label="Nueva derivación"
(click)="nuevaDerivacion()">
</plex-button>
<plex-button type="info" (click)="cambiarVerAyuda(true)" icon="help-circle">
</plex-button>
</plex-title>
<plex-tabs [activeIndex]="tabIndex" (change)="cambiarTab($event)">
<plex-tab label="DERIVACIONES ENTRANTES">
Expand All @@ -28,12 +28,19 @@
<ng-container *ngIf="derivaciones?.length">
<plex-list [striped]="true">
<plex-item>
<b label> Fecha </b>
<b label> Organización origen </b>
<b label> Organización destino </b>
<b label> Paciente </b>
<b></b>
</plex-item>
<plex-item *ngFor="let derivacion of derivaciones" (click)="seleccionar(derivacion)">
<plex-label>
<plex-label [tituloBold]="true" titulo="{{derivacion.createdAt | fecha}}"
subtitulo="Última actualización: {{derivacion.updatedAt
| fecha}}">
</plex-label>
</plex-label>
<div class="elementos-graficos w-100">
<plex-icon name="hospital-building" size="lg" type="info"></plex-icon>
<plex-label [tituloBold]="true"
Expand Down Expand Up @@ -84,12 +91,19 @@
<ng-container *ngIf="derivaciones?.length">
<plex-list [striped]="true">
<plex-item>
<b label> Fecha </b>
<b label> Organización origen </b>
<b label> Organización destino </b>
<b label> Paciente </b>
<b></b>
</plex-item>
<plex-item *ngFor="let derivacion of derivaciones" (click)="seleccionar(derivacion)">
<plex-label>
<plex-label [tituloBold]="true" titulo="{{derivacion.createdAt | fecha}}"
subtitulo="Última actualización: {{derivacion.updatedAt
| fecha}}">
</plex-label>
</plex-label>
<div class="elementos-graficos w-100">
<plex-icon name="hospital-building" size="lg" type="info"></plex-icon>
<plex-label [tituloBold]="true"
Expand Down