diff --git a/src/app/conceptos-turneables/Interfaces/IConceptoTurneable.ts b/src/app/conceptos-turneables/Interfaces/IConceptoTurneable.ts
index 34735b0..3455674 100644
--- a/src/app/conceptos-turneables/Interfaces/IConceptoTurneable.ts
+++ b/src/app/conceptos-turneables/Interfaces/IConceptoTurneable.ts
@@ -7,5 +7,6 @@ export interface IConceptoTurneable {
semanticTag: string;
noNominalizada: boolean;
auditable: boolean;
+ agendaDinamica: boolean;
ambito: string[];
}
diff --git a/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.html b/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.html
index d5d3a17..797719e 100644
--- a/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.html
+++ b/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.html
@@ -88,6 +88,23 @@
+
+
+ Agenda dinĂ¡mica:
+
+
+
+
+ |
+
+ Agenda dinĂ¡mica:
+
+
+
+ |
+
diff --git a/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.ts b/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.ts
index a7696d3..b304c2b 100644
--- a/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.ts
+++ b/src/app/conceptos-turneables/components/detalle-concepto-turneable.component.ts
@@ -12,6 +12,7 @@ export class DetalleConceptoTurneableComponent implements OnInit, OnChanges {
auditable;
nominalizada;
+ agendaDinamica;
editable = false;
paraFalse = 'NO';
paraTrue = 'SI';
@@ -40,6 +41,7 @@ export class DetalleConceptoTurneableComponent implements OnInit, OnChanges {
const cambios = {
noNominalizada: !this.nominalizada,
auditable: this.auditable,
+ agendaDinamica: this.agendaDinamica,
ambito: this.objectSelect2array(this.ambitoActual),
};
this.toggleEdicion();
@@ -63,6 +65,13 @@ export class DetalleConceptoTurneableComponent implements OnInit, OnChanges {
} else {
this.auditable = false;
}
+
+ if (this.conceptoTurneable.agendaDinamica) {
+ this.agendaDinamica = true;
+ } else {
+ this.agendaDinamica = false;
+ }
+
// carga los posibles ambitos
this.ambitos = [
{
@@ -128,6 +137,7 @@ export class DetalleConceptoTurneableComponent implements OnInit, OnChanges {
return (
(this.conceptoTurneable.noNominalizada !== !this.nominalizada) ||
(this.conceptoTurneable.auditable !== this.auditable) ||
+ (this.conceptoTurneable.agendaDinamica !== this.agendaDinamica) ||
(!this.arrayEquals(this.conceptoTurneable.ambito, this.objectSelect2array(this.ambitoActual)))
);
}
diff --git a/src/app/conceptos-turneables/components/nuevo-concepto-turneable.component.ts b/src/app/conceptos-turneables/components/nuevo-concepto-turneable.component.ts
index c84a39f..3779198 100644
--- a/src/app/conceptos-turneables/components/nuevo-concepto-turneable.component.ts
+++ b/src/app/conceptos-turneables/components/nuevo-concepto-turneable.component.ts
@@ -24,6 +24,7 @@ export class NuevoConceptoTurneableComponent implements OnInit {
semanticTag: null,
noNominalizada: null,
auditable: null,
+ agendaDinamica: null,
ambito: null,
};
nominalizada = false;