sigesp 1.1.18-20241018 → 1.1.19-20241105

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.
@@ -1145,30 +1145,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1145
1145
  args: [MatSort]
1146
1146
  }] } });
1147
1147
 
1148
- class MCuentaPresupuesto {
1149
- constructor(cuentaPresupuesto) {
1150
- this.cuenta = null;
1151
- this.denominacion = null;
1152
- this.status = null;
1153
- this.tipo = null;
1154
- this.cuenta = cuentaPresupuesto.sig_cuenta.trim();
1155
- this.denominacion = cuentaPresupuesto.denominacion;
1156
- this.status = cuentaPresupuesto.status;
1157
- this.tipo = cuentaPresupuesto.tipcta;
1148
+ class MCuentaPresupuesto extends MBasicModel {
1149
+ constructor(e) {
1150
+ super();
1151
+ this.idEmpresa = 0;
1152
+ this.idEnterprise = 0;
1153
+ this.periodoFiscal = 0;
1154
+ this.cuenta = '';
1155
+ this.denominacion = '';
1156
+ this.status = '';
1157
+ this.tipo = '';
1158
+ this.denominacionTipo = '';
1159
+ this.denominacionStatus = '';
1160
+ if (e) {
1161
+ this.idEmpresa = +e.id_empresa;
1162
+ this.idEnterprise = +e.id_enterprise;
1163
+ this.periodoFiscal = +e.perfiscal;
1164
+ this.cuenta = e.sig_cuenta;
1165
+ this.denominacion = e.denominacion;
1166
+ this.status = e.status;
1167
+ this.tipo = e.tipcta;
1168
+ e.tipcta == 'R' ? this.denominacionTipo = 'Rescurso' : this.denominacionTipo = 'Egreso';
1169
+ e.status == 'C' ? this.denominacionStatus = 'Movimiento' : this.denominacionStatus = 'Totalizadora';
1170
+ }
1171
+ else {
1172
+ this.isNew = true;
1173
+ }
1174
+ }
1175
+ dataInterface() {
1176
+ return {
1177
+ id_empresa: this.idEmpresa.toString(),
1178
+ id_enterprise: this.idEnterprise.toString(),
1179
+ perfiscal: this.periodoFiscal.toString(),
1180
+ sig_cuenta: this.cuenta,
1181
+ denominacion: this.denominacion,
1182
+ status: this.status,
1183
+ tipcta: this.tipo,
1184
+ };
1158
1185
  }
1159
1186
  }
1160
- class MCuentaEgresos$1 extends MBasicModel {
1161
- constructor(cuenta, level, isNew) {
1162
- super();
1187
+ class MCuentaEgresos$1 {
1188
+ constructor(cuenta, level) {
1163
1189
  this.idEmpresa = 0;
1164
1190
  this.idEnterprise = 0;
1165
1191
  this.periodoFiscal = 0;
1166
1192
  this.nivel = 0;
1167
1193
  this.denominacion = '';
1168
- this.cuenta = '';
1169
- this.cuentaContable = '------------';
1170
- this.cuentaONCOP = '------------';
1171
- this.clasificador = '------------';
1194
+ this.cuenta = null;
1195
+ this.cuentaContable = '';
1196
+ this.clasificador = '';
1172
1197
  this.referencia = '';
1173
1198
  this.aumento = 0;
1174
1199
  this.asignado = 0;
@@ -1194,76 +1219,113 @@ class MCuentaEgresos$1 extends MBasicModel {
1194
1219
  this.idEP3 = 0;
1195
1220
  this.idEP4 = 0;
1196
1221
  this.idEP5 = 0;
1197
- this.codestpro1 = '';
1198
- this.codestpro2 = '';
1199
- this.codestpro3 = '';
1200
- this.codestpro4 = '';
1201
- this.codestpro5 = '';
1222
+ this.codigoEP1 = '';
1223
+ this.codigoEP2 = '';
1224
+ this.codigoEP3 = '';
1225
+ this.codigoEP4 = '';
1226
+ this.codigoEP5 = '';
1202
1227
  this.estructura = '';
1203
1228
  this.selected = false;
1204
1229
  this.isNew = false;
1205
1230
  this.error = false;
1206
1231
  this.status = '';
1207
1232
  this.id = 0;
1233
+ this.distribuirFF = 0;
1208
1234
  if (cuenta) {
1209
- this.idEmpresa = parseInt(cuenta.id_empresa);
1210
- this.idEnterprise = +cuenta.id_enterprise;
1211
- this.periodoFiscal = +cuenta.perfiscal;
1212
- this.nivel = parseInt(cuenta.nivel);
1235
+ this.idEmpresa = +(cuenta.id_empresa);
1236
+ this.idEnterprise = +(cuenta.id_enterprise);
1237
+ this.periodoFiscal = +(cuenta.perfiscal);
1238
+ this.nivel = +(cuenta.nivel);
1213
1239
  this.denominacion = cuenta.denspgcta;
1214
1240
  this.cuenta = cuenta.spg_cuenta;
1215
1241
  this.cuentaContable = cuenta.sc_cuenta;
1216
1242
  this.status = cuenta.status;
1217
1243
  this.referencia = cuenta.referencia;
1218
- this.aumento = parseInt(cuenta.aumento);
1219
- this.asignado = parseInt(cuenta.asignado);
1220
- this.causado = parseInt(cuenta.causado);
1221
- this.pagado = parseInt(cuenta.pagado);
1222
- this.distribuir = parseInt(cuenta.distribuir);
1223
- this.disminucion = parseInt(cuenta.disminiucion);
1224
- this.precomprometido = parseInt(cuenta.precomprometido);
1225
- this.enero = parseInt(cuenta.enero);
1226
- this.febrero = parseInt(cuenta.febrero);
1227
- this.marzo = parseInt(cuenta.marzo);
1228
- this.abril = parseInt(cuenta.abril);
1229
- this.mayo = parseInt(cuenta.mayo);
1230
- this.junio = parseInt(cuenta.junio);
1231
- this.julio = parseInt(cuenta.julio);
1232
- this.agosto = parseInt(cuenta.agosto);
1233
- this.septiembre = parseInt(cuenta.septiembre);
1234
- this.octubre = parseInt(cuenta.octubre);
1235
- this.noviembre = parseInt(cuenta.noviembre);
1236
- this.diciembre = parseInt(cuenta.diciembre);
1244
+ this.aumento = +(cuenta.aumento);
1245
+ this.asignado = +(cuenta.asignado);
1246
+ this.causado = +(cuenta.causado);
1247
+ this.pagado = +(cuenta.pagado);
1248
+ this.distribuir = +(cuenta.distribuir);
1249
+ this.disminucion = +(cuenta.disminiucion);
1250
+ this.precomprometido = +(cuenta.precomprometido);
1251
+ this.enero = +(cuenta.enero);
1252
+ this.febrero = +(cuenta.febrero);
1253
+ this.marzo = +(cuenta.marzo);
1254
+ this.abril = +(cuenta.abril);
1255
+ this.mayo = +(cuenta.mayo);
1256
+ this.junio = +(cuenta.junio);
1257
+ this.julio = +(cuenta.julio);
1258
+ this.agosto = +(cuenta.agosto);
1259
+ this.septiembre = +(cuenta.septiembre);
1260
+ this.octubre = +(cuenta.octubre);
1261
+ this.noviembre = +(cuenta.noviembre);
1262
+ this.diciembre = +(cuenta.diciembre);
1237
1263
  this.clasificador = cuenta.codcuecla;
1238
- this.cuentaONCOP = cuenta.cueoncop;
1239
- this.idEP1 = parseInt(cuenta.id_ep1);
1240
- this.idEP2 = parseInt(cuenta.id_ep2);
1241
- this.idEP3 = parseInt(cuenta.id_ep3);
1242
- this.idEP4 = parseInt(cuenta.id_ep4);
1243
- this.idEP5 = parseInt(cuenta.id_ep5);
1244
- this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
1245
- this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
1246
- this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
1247
- this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
1248
- this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
1249
- this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
1264
+ this.idEP1 = +(cuenta.id_ep1);
1265
+ this.idEP2 = +(cuenta.id_ep2);
1266
+ this.idEP3 = +(cuenta.id_ep3);
1267
+ this.idEP4 = +(cuenta.id_ep4);
1268
+ this.idEP5 = +(cuenta.id_ep5);
1269
+ this.id = cuenta.id_del_spgcta ? +(cuenta.id_del_spgcta) : 0;
1270
+ this.codigoEP1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
1271
+ this.codigoEP2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
1272
+ this.codigoEP3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
1273
+ this.codigoEP4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
1274
+ this.codigoEP5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
1250
1275
  if (cuenta.estructura && level) {
1251
- if (level == 3) {
1252
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`;
1253
- }
1254
- else if (level == 4) {
1255
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`;
1276
+ if (this.idEP4 == 0) {
1277
+ this.estructura = `${this.codigoEP1}-${this.codigoEP2}-${this.codigoEP3}`;
1256
1278
  }
1257
1279
  else {
1258
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`;
1280
+ this.estructura = `${this.codigoEP1}-${this.codigoEP2}-${this.codigoEP3}-${this.codigoEP4}-${this.codigoEP5}`;
1259
1281
  }
1260
1282
  }
1283
+ this.distribuirFF = +cuenta.distff;
1261
1284
  this.isNew = false;
1262
1285
  }
1263
1286
  else {
1264
1287
  this.isNew = true;
1265
1288
  }
1266
1289
  }
1290
+ dataInterface() {
1291
+ return {
1292
+ abril: this.abril.toString(),
1293
+ agosto: this.agosto.toString(),
1294
+ asignado: this.asignado.toString(),
1295
+ aumento: this.aumento.toString(),
1296
+ causado: this.causado.toString(),
1297
+ codcuecla: this.clasificador,
1298
+ denspgcta: this.denominacion,
1299
+ diciembre: this.diciembre.toString(),
1300
+ disminiucion: this.disminucion.toString(),
1301
+ distribuir: this.distribuir.toString(),
1302
+ enero: this.enero.toString(),
1303
+ febrero: this.febrero.toString(),
1304
+ id_empresa: this.idEmpresa.toString(),
1305
+ id_enterprise: this.idEnterprise.toString(),
1306
+ perfiscal: this.periodoFiscal.toString(),
1307
+ id_ep1: this.idEP1.toString(),
1308
+ id_ep2: this.idEP2.toString(),
1309
+ id_ep3: this.idEP3.toString(),
1310
+ id_ep4: this.idEP4.toString(),
1311
+ id_ep5: this.idEP5.toString(),
1312
+ julio: this.junio.toString(),
1313
+ junio: this.julio.toString(),
1314
+ marzo: this.marzo.toString(),
1315
+ mayo: this.mayo.toString(),
1316
+ nivel: this.nivel.toString(),
1317
+ noviembre: this.noviembre.toString(),
1318
+ octubre: this.octubre.toString(),
1319
+ pagado: this.pagado.toString(),
1320
+ precomprometido: this.precomprometido.toString(),
1321
+ referencia: this.referencia,
1322
+ sc_cuenta: this.cuentaContable,
1323
+ septiembre: this.septiembre.toString(),
1324
+ spg_cuenta: this.cuenta,
1325
+ status: this.status,
1326
+ id_del_spgcta: this.id.toString()
1327
+ };
1328
+ }
1267
1329
  }
1268
1330
 
1269
1331
  class MCuentaInstitucional extends MBasicModel {
@@ -1527,6 +1589,8 @@ class MConfiguracionSCG extends MBasicModel {
1527
1589
  this.SCFResultadoTesoro = '';
1528
1590
  this.costo = 0;
1529
1591
  this.cuentaResultadoPresupuesto = '';
1592
+ this.codigoEnterprise = '';
1593
+ this.denominacionEnterprise = '';
1530
1594
  if (configuracion) {
1531
1595
  this.idEnterprise = +configuracion.id_enterprise;
1532
1596
  this.periodoFiscal = +configuracion.perfiscal;
@@ -1576,6 +1640,8 @@ class MConfiguracionSCG extends MBasicModel {
1576
1640
  this.SCFResultadoTesoro = configuracion.scf_resultado_t;
1577
1641
  this.costo = parseInt(configuracion.costo);
1578
1642
  this.cuentaResultadoPresupuesto = configuracion.ctaejeprecie;
1643
+ this.codigoEnterprise = configuracion.codigo;
1644
+ this.denominacionEnterprise = configuracion.titulo;
1579
1645
  }
1580
1646
  }
1581
1647
  dataInterface() {
@@ -1757,6 +1823,8 @@ class MConfigurationSPG {
1757
1823
  this.codigoCentroCosto = '';
1758
1824
  this.estructuraPresupuestaria = '';
1759
1825
  this.editable = false;
1826
+ this.codigoEnterprise = '';
1827
+ this.denominacionEnterprise = '';
1760
1828
  if (configuration) {
1761
1829
  this.idEnterprise = +configuration.id_enterprise;
1762
1830
  this.periodoFiscal = +configuration.perfiscal;
@@ -1798,6 +1866,8 @@ class MConfigurationSPG {
1798
1866
  this.codigoCentroCosto = configuration.codcencos;
1799
1867
  this.estructuraPresupuestaria = configuration.estpre;
1800
1868
  this.editable = configuration.editable == '0';
1869
+ this.codigoEnterprise = configuration.codigo;
1870
+ this.denominacionEnterprise = configuration.titulo;
1801
1871
  }
1802
1872
  }
1803
1873
  dataInteface() {
@@ -3139,67 +3209,67 @@ class MCommunity extends MBasicModel {
3139
3209
  }
3140
3210
 
3141
3211
  class MProviderBeneficiary extends MBasicModel {
3142
- constructor(proben = null) {
3212
+ constructor(proben) {
3143
3213
  super();
3144
- this.idEmpresa = null;
3145
- this.id = null;
3146
- this.rif = null;
3147
- this.idDocument = null;
3148
- this.name = null;
3149
- this.address = null;
3150
- this.nit = null;
3151
- this.telephone = null;
3152
- this.mobileTelephone = null;
3153
- this.nationality = null;
3154
- this.email = null;
3155
- this.webAddress = null;
3156
- this.status = null;
3157
- this.type = null;
3158
- this.typeDesignation = null;
3159
- this.observation = null;
3160
- this.contribuiterType = null;
3161
- this.countryCode = null;
3162
- this.stateCode = null;
3163
- this.municipalityCode = null;
3164
- this.parishCode = null;
3165
- this.currencyCode = null;
3166
- this.organizationType = null;
3167
- this.systemLogDate = null;
3168
- this.licenceNumber = null;
3169
- this.providerSubalternLogDate = null;
3170
- this.subscribedShareCapital = null;
3171
- this.idRNC = null;
3172
- this.dateRNC = null;
3173
- this.expirationDateRNC = null;
3174
- this.statusRNC = null;
3175
- this.subalternId = null;
3176
- this.subalternLogDate = null;
3177
- this.socialSecurityId = null;
3178
- this.socialSecurityExpirationDate = null;
3179
- this.idINCE = null;
3180
- this.expirationDateINCE = null;
3181
- this.registryNumber = null;
3182
- this.registryTome = null;
3183
- this.idFolio = null;
3184
- this.registryModification = null;
3185
- this.registryModificationDate = null;
3186
- this.tomeModification = null;
3187
- this.folioModification = null;
3188
- this.inspector = null;
3189
- this.accountableAccount = null;
3190
- this.advanceAccountableAccount = null;
3191
- this.receptionAccountableAccount = null;
3192
- this.estpropri = null;
3193
- this.sigecofCode = null;
3194
- this.passport = null;
3195
- this.accounts = [];
3196
- this.personType = null;
3214
+ this.idEmpresa = 0;
3215
+ this.idEnterprise = 0;
3216
+ this.id = 0;
3217
+ this.rif = '';
3218
+ this.cedben = '';
3219
+ this.name = '';
3220
+ this.address = '';
3221
+ this.nit = '';
3222
+ this.telephone = '';
3223
+ this.mobileTelephone = '';
3224
+ this.nationality = '';
3225
+ this.email = '';
3226
+ this.webAddress = '';
3227
+ this.status = 0;
3228
+ this.type = '';
3229
+ this.typeDesignation = '';
3230
+ this.observation = '';
3231
+ this.contribuiterType = '';
3232
+ this.countryCode = '';
3233
+ this.stateCode = '';
3234
+ this.municipalityCode = '';
3235
+ this.parishCode = '';
3236
+ this.currencyCode = '';
3237
+ this.organizationType = 0;
3238
+ this.systemLogDate = '';
3239
+ this.licenceNumber = '';
3240
+ this.providerSubalternLogDate = '1900-01-01';
3241
+ this.subscribedShareCapital = 0;
3242
+ this.idRNC = '';
3243
+ this.dateRNC = '1900-01-01';
3244
+ this.expirationDateRNC = '1900-01-01';
3245
+ this.statusRNC = '';
3246
+ this.subalternId = '';
3247
+ this.subalternLogDate = '';
3248
+ this.socialSecurityId = '';
3249
+ this.socialSecurityExpirationDate = '';
3250
+ this.idINCE = '';
3251
+ this.expirationDateINCE = '';
3252
+ this.registryNumber = '';
3253
+ this.registryTome = '';
3254
+ this.idFolio = '';
3255
+ this.registryModification = '';
3256
+ this.registryModificationDate = '';
3257
+ this.tomeModification = '';
3258
+ this.folioModification = '';
3259
+ this.inspector = '';
3260
+ this.accountableAccount = '';
3261
+ this.advanceAccountableAccount = '';
3262
+ this.receptionAccountableAccount = '';
3263
+ this.estpropri = '';
3264
+ this.passport = '';
3265
+ this.personType = '';
3197
3266
  this.isNew = false;
3198
3267
  if (proben) {
3199
- this.id = parseInt(proben.id_proveedor);
3200
- this.idEmpresa = parseInt(proben.id_empresa);
3268
+ this.idEmpresa = +proben.id_empresa;
3269
+ this.idEnterprise = +proben.id_enterprise;
3270
+ this.id = +proben.id_proveedor;
3201
3271
  this.rif = proben.rifpro;
3202
- this.idDocument = proben.cedben;
3272
+ this.cedben = proben.cedben;
3203
3273
  this.name = proben.nompro;
3204
3274
  this.address = proben.dirpro;
3205
3275
  this.nit = proben.nitpro;
@@ -3207,28 +3277,21 @@ class MProviderBeneficiary extends MBasicModel {
3207
3277
  this.mobileTelephone = proben.telmovpro;
3208
3278
  this.nationality = proben.nacpro;
3209
3279
  this.email = proben.emapro;
3210
- this.status = parseInt(proben.estpro);
3280
+ this.webAddress = proben.webpro;
3281
+ this.status = +proben.estpro;
3211
3282
  this.type = proben.tippro;
3212
3283
  this.observation = proben.obspro;
3213
3284
  this.contribuiterType = proben.tipconpro;
3214
- if (proben.codest) {
3215
- this.stateCode = proben.codest.trim();
3216
- }
3217
- if (proben.codpar) {
3218
- this.stateCode = proben.codpar.trim();
3219
- }
3220
- if (proben.codpai) {
3221
- this.countryCode = proben.codpai.trim();
3222
- }
3223
- if (proben.codmun) {
3224
- this.municipalityCode = proben.codmun.trim();
3225
- }
3226
- this.currencyCode = proben.codmon;
3227
- this.organizationType = parseInt(proben.id_tiporg);
3285
+ this.countryCode = proben.codpai;
3286
+ this.stateCode = proben.codest;
3287
+ this.municipalityCode = proben.codmun;
3288
+ this.parishCode = proben.codpar;
3289
+ this.currencyCode = proben.id_moneda;
3290
+ this.organizationType = +proben.id_tiporg;
3228
3291
  this.systemLogDate = proben.fecregsis;
3229
3292
  this.licenceNumber = proben.numlic;
3230
- this.providerSubalternLogDate = proben.fecregpro;
3231
- this.subscribedShareCapital = parseFloat(proben.capsocpro);
3293
+ this.providerSubalternLogDate = proben.fecregsub;
3294
+ this.subscribedShareCapital = +proben.capsocpro;
3232
3295
  this.idRNC = proben.numrnc;
3233
3296
  this.dateRNC = proben.fecrnc;
3234
3297
  this.expirationDateRNC = proben.fecvenrnc;
@@ -3249,18 +3312,82 @@ class MProviderBeneficiary extends MBasicModel {
3249
3312
  this.inspector = proben.inspector;
3250
3313
  this.accountableAccount = proben.sc_cuenta;
3251
3314
  this.advanceAccountableAccount = proben.sc_cuentaant;
3252
- this.receptionAccountableAccount = proben.sc_cuentarecdoc;
3315
+ this.personType = proben.tipperpro;
3253
3316
  this.estpropri = proben.estpropri;
3254
- this.sigecofCode = proben.codsigcof;
3255
3317
  this.passport = proben.pasaporte;
3256
3318
  if (proben.cuentas) {
3257
3319
  this.accounts = proben.cuentas.map(e => new MProviderBankAccount(e));
3258
3320
  }
3259
- this.personType = proben.tipperpro;
3260
- this.webAddress = proben.webpro;
3261
- this.typeDesignation = this.type == 'P' ? 'PROVEEDOR' : this.type == 'B' ? 'BENEFICIARIO' : this.type == 'C' ? 'CONTRATISTA' : this.type == 'N' ? 'NINGUNO' : 'PROVEEDOR-CONTRATISTA';
3321
+ if (proben.especialidad) {
3322
+ this.specialties = proben.especialidad.map(e => new MSpecialtyProv(e));
3323
+ }
3324
+ if (proben.deducciones) {
3325
+ this.deductions = proben.deducciones.map(e => new MDeductionProv(e));
3326
+ }
3327
+ if (proben.documentos) {
3328
+ this.documents = proben.documentos.map(e => new MDocumentProv(e));
3329
+ }
3262
3330
  }
3263
3331
  }
3332
+ ;
3333
+ dataInterface() {
3334
+ return {
3335
+ id_empresa: this.idEmpresa.toString(),
3336
+ id_enterprise: this.idEnterprise.toString(),
3337
+ id_proveedor: this.id.toString(),
3338
+ rifpro: this.rif,
3339
+ cedben: this.cedben,
3340
+ nompro: this.name,
3341
+ dirpro: this.address,
3342
+ nitpro: this.nit,
3343
+ telpro: this.telephone,
3344
+ telmovpro: this.mobileTelephone,
3345
+ nacpro: this.nationality,
3346
+ emapro: this.email,
3347
+ webpro: this.webAddress,
3348
+ estpro: this.status.toString(),
3349
+ tippro: this.type,
3350
+ obspro: this.observation,
3351
+ tipconpro: this.contribuiterType,
3352
+ codpai: this.countryCode,
3353
+ codest: this.stateCode,
3354
+ codmun: this.municipalityCode,
3355
+ codpar: this.parishCode,
3356
+ id_moneda: this.currencyCode,
3357
+ id_tiporg: this.organizationType.toString(),
3358
+ fecregsis: this.systemLogDate,
3359
+ numlic: this.licenceNumber,
3360
+ fecregsub: this.providerSubalternLogDate,
3361
+ capsocpro: this.subscribedShareCapital.toString(),
3362
+ numrnc: this.idRNC,
3363
+ fecrnc: this.dateRNC,
3364
+ fecvenrnc: this.expirationDateRNC,
3365
+ estrnc: this.statusRNC,
3366
+ numregsub: this.subalternId,
3367
+ fecregpro: this.fechaRegistroProveedor,
3368
+ numregsso: this.socialSecurityId,
3369
+ fecvensso: this.socialSecurityExpirationDate,
3370
+ numregince: this.idINCE,
3371
+ fecvenince: this.expirationDateINCE,
3372
+ numreg: this.registryNumber,
3373
+ tomreg: this.registryTome,
3374
+ numfol: this.idFolio,
3375
+ regmod: this.registryModification,
3376
+ fecregmod: this.registryModificationDate,
3377
+ tommod: this.tomeModification,
3378
+ folmod: this.folioModification,
3379
+ inspector: this.inspector,
3380
+ sc_cuenta: this.accountableAccount,
3381
+ sc_cuentaant: this.advanceAccountableAccount,
3382
+ tipperpro: this.personType,
3383
+ estpropri: this.estpropri,
3384
+ pasaporte: this.passport,
3385
+ cuentas: this.accounts.map(e => e.dataInterface()),
3386
+ especialidad: this.specialties.map(e => e.dataInterface()),
3387
+ deducciones: this.deductions.map(e => e.dataInterface()),
3388
+ documentos: this.documents.map(e => e.dataInterface())
3389
+ };
3390
+ }
3264
3391
  }
3265
3392
  class MProviderBankAccount {
3266
3393
  constructor(account) {
@@ -3299,6 +3426,70 @@ class MProviderBankAccount {
3299
3426
  denctabcoprov: this.accountDenomination,
3300
3427
  };
3301
3428
  }
3429
+ }
3430
+ class MDocumentProv {
3431
+ constructor(doc) {
3432
+ this.providerId = 0;
3433
+ this.denomination = "";
3434
+ this.dateReception = "";
3435
+ this.dateExpiration = "";
3436
+ this.statusDocument = 0;
3437
+ this.statusOriginal = 0;
3438
+ this.observation = "";
3439
+ this.providerId = doc.id_proveedor;
3440
+ this.documentId = doc.id_doc;
3441
+ this.denomination = doc.dendoc;
3442
+ this.dateReception = doc.fecrecdoc;
3443
+ this.dateExpiration = doc.fecvendoc;
3444
+ this.statusDocument = doc.estdoc;
3445
+ this.statusOriginal = doc.estoridoc;
3446
+ this.observation = doc.obsdocpro;
3447
+ }
3448
+ ;
3449
+ dataInterface() {
3450
+ return {
3451
+ id_proveedor: this.providerId,
3452
+ id_doc: this.documentId,
3453
+ dendoc: this.denomination,
3454
+ fecrecdoc: this.dateReception,
3455
+ fecvendoc: this.dateExpiration,
3456
+ estdoc: this.statusDocument,
3457
+ estoridoc: this.statusOriginal,
3458
+ obsdocpro: this.observation,
3459
+ };
3460
+ }
3461
+ }
3462
+ class MDeductionProv {
3463
+ constructor(ded) {
3464
+ this.providerId = ded.id_proveedor;
3465
+ this.id = ded.id_deduccion;
3466
+ this.codigo = ded.codded;
3467
+ this.denomination = ded.dended;
3468
+ }
3469
+ ;
3470
+ dataInterface() {
3471
+ return {
3472
+ id_proveedor: this.providerId,
3473
+ id_deduccion: this.id,
3474
+ codded: this.codigo,
3475
+ dended: this.denomination
3476
+ };
3477
+ }
3478
+ }
3479
+ class MSpecialtyProv {
3480
+ constructor(ded) {
3481
+ this.providerId = ded.id_proveedor;
3482
+ this.id = ded.id_especialidad;
3483
+ this.denomination = ded.denesp;
3484
+ }
3485
+ ;
3486
+ dataInterface() {
3487
+ return {
3488
+ id_proveedor: this.providerId,
3489
+ id_especialidad: this.id,
3490
+ denesp: this.denomination
3491
+ };
3492
+ }
3302
3493
  }
3303
3494
 
3304
3495
  class MSigecofBank extends MBasicModel {
@@ -7024,7 +7215,7 @@ class SigespService {
7024
7215
  * @author Miguel Ramírez
7025
7216
  */
7026
7217
  getConfigurationSPG(idEnterprise, periodoFical) {
7027
- return this.http.get(`${this.URL}/dao/spg/estructura_presupuestaria_config_dao.php?e=${idEnterprise}&periodo=${periodoFical}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => new MConfigurationSPG(resp.data[0])));
7218
+ return this.http.get(`${this.URL}/dao/spg/configuracion_presupuestaria_dao.php?e=${idEnterprise}&periodo=${periodoFical}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => new MConfigurationSPG(resp.data[0])));
7028
7219
  }
7029
7220
  /**
7030
7221
  * @description Obtiene las configuraciones de los proveedores
@@ -14767,5 +14958,5 @@ class customPaginator extends MatPaginatorIntl {
14767
14958
  * Generated bundle index. Do not edit.
14768
14959
  */
14769
14960
 
14770
- export { Acciones, AppModule, CatalogoComponent, CatalogoDobleInputComponent, CatalogoEstructurasComponent, CausaEgreso, ConfirmComponent, ContabilizacionNomina, CurrencyService, Destino, DiasSemana, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, IconComponent, IsoCurrencyPipe, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosAdicionales, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MClient, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MCuentasSpSC, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstructuras, MEstudiosConcursantes, MEstudiosRealizados, MExchangeRate, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProcesosNomina, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadAdministradoraCentral, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SharedModule, SigespService, Signo, SituacionPersonal, TableSelectComponent, TipoBeneficiario, TipoCargo, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator };
14961
+ export { Acciones, AppModule, CatalogoComponent, CatalogoDobleInputComponent, CatalogoEstructurasComponent, CausaEgreso, ConfirmComponent, ContabilizacionNomina, CurrencyService, Destino, DiasSemana, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, IconComponent, IsoCurrencyPipe, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosAdicionales, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MClient, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MCuentasSpSC, MDedicacion, MDeduction, MDeductionProv, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MDocumentProv, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstructuras, MEstudiosConcursantes, MEstudiosRealizados, MExchangeRate, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProcesosNomina, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadAdministradoraCentral, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SharedModule, SigespService, Signo, SituacionPersonal, TableSelectComponent, TipoBeneficiario, TipoCargo, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator };
14771
14962
  //# sourceMappingURL=sigesp.mjs.map