ng-pli-commons 1.0.129 → 1.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11057,18 +11057,15 @@ class SendApplicationService {
|
|
|
11057
11057
|
let document = this.getDocumentByConfigurationId(configurationDocument.id, listDocument, application.id);
|
|
11058
11058
|
if (validateJustRequired) {
|
|
11059
11059
|
// Validate the deactivation date
|
|
11060
|
-
const
|
|
11060
|
+
const isActiveByDesactivacionDate = this.isConfigActiveByDeactivationDate(configurationDocument);
|
|
11061
11061
|
const isRequired = !!configurationDocument.required;
|
|
11062
|
-
//
|
|
11062
|
+
// The document is missing.
|
|
11063
11063
|
const isMissing = !document ||
|
|
11064
11064
|
(document && document.listArchive.length === 0) ||
|
|
11065
11065
|
this.automaticDocumentsValidated(configurationDocument, listDataForm, document);
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
console.log('Values isMissing', isMissing);
|
|
11069
|
-
if (isRequired && isMissing && isActive) {
|
|
11066
|
+
// Validation for required document and active or deactivation date depending on the case
|
|
11067
|
+
if (isRequired && isMissing && isActiveByDesactivacionDate) {
|
|
11070
11068
|
this.fillListValidateDocumentDefault(listValidatedDocument, application, configurationDocument);
|
|
11071
|
-
console.log('Entro');
|
|
11072
11069
|
}
|
|
11073
11070
|
}
|
|
11074
11071
|
else {
|
|
@@ -16723,8 +16720,8 @@ const VERSION = {
|
|
|
16723
16720
|
},
|
|
16724
16721
|
"suffix": "2678-gb42d4eee-dirty",
|
|
16725
16722
|
"semverString": "0.0.18+2678.gb42d4eee",
|
|
16726
|
-
"version": "1.0.
|
|
16727
|
-
"buildTimestamp": "2025-11-
|
|
16723
|
+
"version": "1.0.130",
|
|
16724
|
+
"buildTimestamp": "2025-11-14T20:21:33.520Z"
|
|
16728
16725
|
};
|
|
16729
16726
|
/* tslint:enable */
|
|
16730
16727
|
|