|
|
@@ -9,43 +9,48 @@
|
|
|
</mat-grid-tile>
|
|
|
</mat-grid-list>
|
|
|
|
|
|
-<!-- EASYG -->
|
|
|
-<mat-card class="card-normal-text mat-card-text mat-elevation-z8 animated fadeIn fast" style="padding-bottom: 20px;" *ngIf="!loading && casoEAYG">
|
|
|
+
|
|
|
+<!-- Periodo Actual -->
|
|
|
+<mat-card
|
|
|
+ class="card-normal-text mat-card-text mat-elevation-z8 animated fadeIn fast"
|
|
|
+ style="padding-bottom: 15px;"
|
|
|
+ *ngIf="!loading && casoActual">
|
|
|
<mat-grid-list cols="12" rowHeight="100px">
|
|
|
<!-- Fila 1 | Periodo | Días disponibles (título) -->
|
|
|
<mat-grid-tile colspan="12">
|
|
|
<!-- Periodo Actual -->
|
|
|
<div class="ml-5" style="position: absolute; left: 0">
|
|
|
<mat-card-title style="margin-left: auto">
|
|
|
- <b>{{ periodoEAYG }}</b>
|
|
|
+ <b>{{ periodoActual }}</b>
|
|
|
</mat-card-title>
|
|
|
- <span class="display-text">Periodo EAYG</span><br>
|
|
|
- <span style="margin-top: 5px;"><b>Vencimiento:</b> {{ fechaVencimientoEAYG }}</span>
|
|
|
+ <span class="display-text">Periodo actual</span><br>
|
|
|
+ <span style="margin-top: 5px;"><b>Vencimiento:</b> {{ fechaVencimientoActual }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span class="display-0">Días disponibles</span>
|
|
|
</div>
|
|
|
- <div class="mr-5" class="position-right" style="bottom: 10px !important; width: 210px">
|
|
|
+ <div class="mr-5" class="position-right" style="bottom: 10px !important; width: 210px;">
|
|
|
<mat-card-title class="display-text">Días por periodo</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b>{{ diasPeriodoEAYG }}</b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b>{{ diasPeriodoActual }}</b></span>
|
|
|
</div>
|
|
|
</mat-grid-tile>
|
|
|
<!-- Fila 2 | Días Tomados | Días disponibles (Dato) -->
|
|
|
<mat-grid-tile colspan="12">
|
|
|
<h1 class="display-4 text-secondary">
|
|
|
- {{ diasDisponiblesEAYG }}
|
|
|
+ {{ diasDisponiblesActual }}
|
|
|
</h1>
|
|
|
<div class="mr-5" class="position-right" style="top: 10px !important; margin-right: 1%; width: 180px">
|
|
|
<mat-card-title class="display-text">Días tomados</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b> {{ diasTomadosEAYG }} </b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b> {{ diasTomadosActual }} </b></span>
|
|
|
</div>
|
|
|
- </mat-grid-tile>
|
|
|
+ </mat-grid-tile>
|
|
|
</mat-grid-list>
|
|
|
+
|
|
|
<div align="right" style="right: 0; display: flex; align-items: center">
|
|
|
<div style="width: 100%; margin-left: 150px;">
|
|
|
- <mat-accordion class="headers-align" style="width: 100%; margin-top: 1%;" *ngIf="!casoActual && !casoAnterior">
|
|
|
- <mat-expansion-panel style="margin-top: 20px;" class="expansion-panel" [disabled]="detalles.length === 0">
|
|
|
- <mat-expansion-panel-header style="margin: auto;">
|
|
|
+ <mat-accordion class="headers-align" style="width: 100%; margin-top: 1%;">
|
|
|
+ <mat-expansion-panel class="expansion-panel" style="margin-top: 20px;" [disabled]="detalles.length === 0">
|
|
|
+ <mat-expansion-panel-header>
|
|
|
<mat-panel-title>
|
|
|
<mat-icon>calendar_month</mat-icon>
|
|
|
</mat-panel-title>
|
|
|
@@ -55,6 +60,7 @@
|
|
|
<div class="periodo-flex">
|
|
|
<span>Periodo {{ formatoPeriodo(periodos.PERIODO) }}</span>
|
|
|
</div>
|
|
|
+
|
|
|
<div>
|
|
|
<div *ngFor="let detallePeriodo of formatoDetalles(periodos.DETALLES)">
|
|
|
<mat-divider></mat-divider>
|
|
|
@@ -72,51 +78,51 @@
|
|
|
|
|
|
<div style="width: 180px; text-align: center; margin-right: 30px;">
|
|
|
<mat-card-title class="display-text">Días solicitados</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b> {{ diasSolicitadosEAYG }} </b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b> {{ diasSolicitadosActual }} </b></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
</mat-card>
|
|
|
|
|
|
-<!-- Periodo Actual -->
|
|
|
-<mat-card class="card-normal-text mat-card-text mat-elevation-z8 animated fadeIn fast" style="padding-bottom: 15px;" [style.margin-bottom]="!casoAnterior ? '100px' : ''"
|
|
|
- *ngIf="!loading && casoActual">
|
|
|
+<!-- EASYG -->
|
|
|
+<mat-card
|
|
|
+ class="card-normal-text mat-card-text mat-elevation-z8 animated fadeIn fast"
|
|
|
+ [style.margin-bottom]="!casoAnterior ? '100px' : ''"
|
|
|
+ style="padding-bottom: 20px;" *ngIf="!loading && casoEAYG">
|
|
|
<mat-grid-list cols="12" rowHeight="100px">
|
|
|
<!-- Fila 1 | Periodo | Días disponibles (título) -->
|
|
|
<mat-grid-tile colspan="12">
|
|
|
<!-- Periodo Actual -->
|
|
|
<div class="ml-5" style="position: absolute; left: 0">
|
|
|
<mat-card-title style="margin-left: auto">
|
|
|
- <b>{{ periodoActual }}</b>
|
|
|
+ <b>{{ periodoEAYG }}</b>
|
|
|
</mat-card-title>
|
|
|
- <span class="display-text">Periodo actual</span><br>
|
|
|
- <span style="margin-top: 5px;"><b>Vencimiento:</b> {{ fechaVencimientoActual }}</span>
|
|
|
+ <span class="display-text">Periodo EAYG</span><br>
|
|
|
+ <span style="margin-top: 5px;"><b>Vencimiento:</b> {{ fechaVencimientoEAYG }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span class="display-0">Días disponibles</span>
|
|
|
</div>
|
|
|
- <div class="mr-5" class="position-right" style="bottom: 10px !important; width: 210px;">
|
|
|
+ <div class="mr-5" class="position-right" style="bottom: 10px !important; width: 210px">
|
|
|
<mat-card-title class="display-text">Días por periodo</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b>{{ diasPeriodoActual }}</b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b>{{ diasPeriodoEAYG }}</b></span>
|
|
|
</div>
|
|
|
</mat-grid-tile>
|
|
|
<!-- Fila 2 | Días Tomados | Días disponibles (Dato) -->
|
|
|
<mat-grid-tile colspan="12">
|
|
|
<h1 class="display-4 text-secondary">
|
|
|
- {{ diasDisponiblesActual }}
|
|
|
+ {{ diasDisponiblesEAYG }}
|
|
|
</h1>
|
|
|
<div class="mr-5" class="position-right" style="top: 10px !important; margin-right: 1%; width: 180px">
|
|
|
<mat-card-title class="display-text">Días tomados</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b> {{ diasTomadosActual }} </b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b> {{ diasTomadosEAYG }} </b></span>
|
|
|
</div>
|
|
|
- </mat-grid-tile>
|
|
|
+ </mat-grid-tile>
|
|
|
</mat-grid-list>
|
|
|
-
|
|
|
<div align="right" style="right: 0; display: flex; align-items: center">
|
|
|
<div style="width: 100%; margin-left: 150px;">
|
|
|
- <mat-accordion class="headers-align" style="width: 100%; margin-top: 1%;">
|
|
|
- <mat-expansion-panel class="expansion-panel" style="margin-top: 20px;" [disabled]="detalles.length === 0">
|
|
|
- <mat-expansion-panel-header>
|
|
|
+ <mat-accordion class="headers-align" style="width: 100%; margin-top: 1%;" *ngIf="!casoActual && !casoAnterior">
|
|
|
+ <mat-expansion-panel style="margin-top: 20px;" class="expansion-panel" [disabled]="detalles.length === 0">
|
|
|
+ <mat-expansion-panel-header style="margin: auto;">
|
|
|
<mat-panel-title>
|
|
|
<mat-icon>calendar_month</mat-icon>
|
|
|
</mat-panel-title>
|
|
|
@@ -126,7 +132,6 @@
|
|
|
<div class="periodo-flex">
|
|
|
<span>Periodo {{ formatoPeriodo(periodos.PERIODO) }}</span>
|
|
|
</div>
|
|
|
-
|
|
|
<div>
|
|
|
<div *ngFor="let detallePeriodo of formatoDetalles(periodos.DETALLES)">
|
|
|
<mat-divider></mat-divider>
|
|
|
@@ -144,9 +149,10 @@
|
|
|
|
|
|
<div style="width: 180px; text-align: center; margin-right: 30px;">
|
|
|
<mat-card-title class="display-text">Días solicitados</mat-card-title>
|
|
|
- <span class="display-text-small text-secondary"><b> {{ diasSolicitadosActual }} </b></span>
|
|
|
+ <span class="display-text-small text-secondary"><b> {{ diasSolicitadosEAYG }} </b></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
</mat-card>
|
|
|
|
|
|
<!-- Periodo Anterior -->
|