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.
@@ -1142,30 +1142,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1142
1142
  args: [MatSort]
1143
1143
  }] } });
1144
1144
 
1145
- class MCuentaPresupuesto {
1146
- constructor(cuentaPresupuesto) {
1147
- this.cuenta = null;
1148
- this.denominacion = null;
1149
- this.status = null;
1150
- this.tipo = null;
1151
- this.cuenta = cuentaPresupuesto.sig_cuenta.trim();
1152
- this.denominacion = cuentaPresupuesto.denominacion;
1153
- this.status = cuentaPresupuesto.status;
1154
- this.tipo = cuentaPresupuesto.tipcta;
1145
+ class MCuentaPresupuesto extends MBasicModel {
1146
+ constructor(e) {
1147
+ super();
1148
+ this.idEmpresa = 0;
1149
+ this.idEnterprise = 0;
1150
+ this.periodoFiscal = 0;
1151
+ this.cuenta = '';
1152
+ this.denominacion = '';
1153
+ this.status = '';
1154
+ this.tipo = '';
1155
+ this.denominacionTipo = '';
1156
+ this.denominacionStatus = '';
1157
+ if (e) {
1158
+ this.idEmpresa = +e.id_empresa;
1159
+ this.idEnterprise = +e.id_enterprise;
1160
+ this.periodoFiscal = +e.perfiscal;
1161
+ this.cuenta = e.sig_cuenta;
1162
+ this.denominacion = e.denominacion;
1163
+ this.status = e.status;
1164
+ this.tipo = e.tipcta;
1165
+ e.tipcta == 'R' ? this.denominacionTipo = 'Rescurso' : this.denominacionTipo = 'Egreso';
1166
+ e.status == 'C' ? this.denominacionStatus = 'Movimiento' : this.denominacionStatus = 'Totalizadora';
1167
+ }
1168
+ else {
1169
+ this.isNew = true;
1170
+ }
1171
+ }
1172
+ dataInterface() {
1173
+ return {
1174
+ id_empresa: this.idEmpresa.toString(),
1175
+ id_enterprise: this.idEnterprise.toString(),
1176
+ perfiscal: this.periodoFiscal.toString(),
1177
+ sig_cuenta: this.cuenta,
1178
+ denominacion: this.denominacion,
1179
+ status: this.status,
1180
+ tipcta: this.tipo,
1181
+ };
1155
1182
  }
1156
1183
  }
1157
- class MCuentaEgresos$1 extends MBasicModel {
1158
- constructor(cuenta, level, isNew) {
1159
- super();
1184
+ class MCuentaEgresos$1 {
1185
+ constructor(cuenta, level) {
1160
1186
  this.idEmpresa = 0;
1161
1187
  this.idEnterprise = 0;
1162
1188
  this.periodoFiscal = 0;
1163
1189
  this.nivel = 0;
1164
1190
  this.denominacion = '';
1165
- this.cuenta = '';
1166
- this.cuentaContable = '------------';
1167
- this.cuentaONCOP = '------------';
1168
- this.clasificador = '------------';
1191
+ this.cuenta = null;
1192
+ this.cuentaContable = '';
1193
+ this.clasificador = '';
1169
1194
  this.referencia = '';
1170
1195
  this.aumento = 0;
1171
1196
  this.asignado = 0;
@@ -1191,76 +1216,113 @@ class MCuentaEgresos$1 extends MBasicModel {
1191
1216
  this.idEP3 = 0;
1192
1217
  this.idEP4 = 0;
1193
1218
  this.idEP5 = 0;
1194
- this.codestpro1 = '';
1195
- this.codestpro2 = '';
1196
- this.codestpro3 = '';
1197
- this.codestpro4 = '';
1198
- this.codestpro5 = '';
1219
+ this.codigoEP1 = '';
1220
+ this.codigoEP2 = '';
1221
+ this.codigoEP3 = '';
1222
+ this.codigoEP4 = '';
1223
+ this.codigoEP5 = '';
1199
1224
  this.estructura = '';
1200
1225
  this.selected = false;
1201
1226
  this.isNew = false;
1202
1227
  this.error = false;
1203
1228
  this.status = '';
1204
1229
  this.id = 0;
1230
+ this.distribuirFF = 0;
1205
1231
  if (cuenta) {
1206
- this.idEmpresa = parseInt(cuenta.id_empresa);
1207
- this.idEnterprise = +cuenta.id_enterprise;
1208
- this.periodoFiscal = +cuenta.perfiscal;
1209
- this.nivel = parseInt(cuenta.nivel);
1232
+ this.idEmpresa = +(cuenta.id_empresa);
1233
+ this.idEnterprise = +(cuenta.id_enterprise);
1234
+ this.periodoFiscal = +(cuenta.perfiscal);
1235
+ this.nivel = +(cuenta.nivel);
1210
1236
  this.denominacion = cuenta.denspgcta;
1211
1237
  this.cuenta = cuenta.spg_cuenta;
1212
1238
  this.cuentaContable = cuenta.sc_cuenta;
1213
1239
  this.status = cuenta.status;
1214
1240
  this.referencia = cuenta.referencia;
1215
- this.aumento = parseInt(cuenta.aumento);
1216
- this.asignado = parseInt(cuenta.asignado);
1217
- this.causado = parseInt(cuenta.causado);
1218
- this.pagado = parseInt(cuenta.pagado);
1219
- this.distribuir = parseInt(cuenta.distribuir);
1220
- this.disminucion = parseInt(cuenta.disminiucion);
1221
- this.precomprometido = parseInt(cuenta.precomprometido);
1222
- this.enero = parseInt(cuenta.enero);
1223
- this.febrero = parseInt(cuenta.febrero);
1224
- this.marzo = parseInt(cuenta.marzo);
1225
- this.abril = parseInt(cuenta.abril);
1226
- this.mayo = parseInt(cuenta.mayo);
1227
- this.junio = parseInt(cuenta.junio);
1228
- this.julio = parseInt(cuenta.julio);
1229
- this.agosto = parseInt(cuenta.agosto);
1230
- this.septiembre = parseInt(cuenta.septiembre);
1231
- this.octubre = parseInt(cuenta.octubre);
1232
- this.noviembre = parseInt(cuenta.noviembre);
1233
- this.diciembre = parseInt(cuenta.diciembre);
1241
+ this.aumento = +(cuenta.aumento);
1242
+ this.asignado = +(cuenta.asignado);
1243
+ this.causado = +(cuenta.causado);
1244
+ this.pagado = +(cuenta.pagado);
1245
+ this.distribuir = +(cuenta.distribuir);
1246
+ this.disminucion = +(cuenta.disminiucion);
1247
+ this.precomprometido = +(cuenta.precomprometido);
1248
+ this.enero = +(cuenta.enero);
1249
+ this.febrero = +(cuenta.febrero);
1250
+ this.marzo = +(cuenta.marzo);
1251
+ this.abril = +(cuenta.abril);
1252
+ this.mayo = +(cuenta.mayo);
1253
+ this.junio = +(cuenta.junio);
1254
+ this.julio = +(cuenta.julio);
1255
+ this.agosto = +(cuenta.agosto);
1256
+ this.septiembre = +(cuenta.septiembre);
1257
+ this.octubre = +(cuenta.octubre);
1258
+ this.noviembre = +(cuenta.noviembre);
1259
+ this.diciembre = +(cuenta.diciembre);
1234
1260
  this.clasificador = cuenta.codcuecla;
1235
- this.cuentaONCOP = cuenta.cueoncop;
1236
- this.idEP1 = parseInt(cuenta.id_ep1);
1237
- this.idEP2 = parseInt(cuenta.id_ep2);
1238
- this.idEP3 = parseInt(cuenta.id_ep3);
1239
- this.idEP4 = parseInt(cuenta.id_ep4);
1240
- this.idEP5 = parseInt(cuenta.id_ep5);
1241
- this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
1242
- this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
1243
- this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
1244
- this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
1245
- this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
1246
- this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
1261
+ this.idEP1 = +(cuenta.id_ep1);
1262
+ this.idEP2 = +(cuenta.id_ep2);
1263
+ this.idEP3 = +(cuenta.id_ep3);
1264
+ this.idEP4 = +(cuenta.id_ep4);
1265
+ this.idEP5 = +(cuenta.id_ep5);
1266
+ this.id = cuenta.id_del_spgcta ? +(cuenta.id_del_spgcta) : 0;
1267
+ this.codigoEP1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
1268
+ this.codigoEP2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
1269
+ this.codigoEP3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
1270
+ this.codigoEP4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
1271
+ this.codigoEP5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
1247
1272
  if (cuenta.estructura && level) {
1248
- if (level == 3) {
1249
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`;
1250
- }
1251
- else if (level == 4) {
1252
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`;
1273
+ if (this.idEP4 == 0) {
1274
+ this.estructura = `${this.codigoEP1}-${this.codigoEP2}-${this.codigoEP3}`;
1253
1275
  }
1254
1276
  else {
1255
- this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`;
1277
+ this.estructura = `${this.codigoEP1}-${this.codigoEP2}-${this.codigoEP3}-${this.codigoEP4}-${this.codigoEP5}`;
1256
1278
  }
1257
1279
  }
1280
+ this.distribuirFF = +cuenta.distff;
1258
1281
  this.isNew = false;
1259
1282
  }
1260
1283
  else {
1261
1284
  this.isNew = true;
1262
1285
  }
1263
1286
  }
1287
+ dataInterface() {
1288
+ return {
1289
+ abril: this.abril.toString(),
1290
+ agosto: this.agosto.toString(),
1291
+ asignado: this.asignado.toString(),
1292
+ aumento: this.aumento.toString(),
1293
+ causado: this.causado.toString(),
1294
+ codcuecla: this.clasificador,
1295
+ denspgcta: this.denominacion,
1296
+ diciembre: this.diciembre.toString(),
1297
+ disminiucion: this.disminucion.toString(),
1298
+ distribuir: this.distribuir.toString(),
1299
+ enero: this.enero.toString(),
1300
+ febrero: this.febrero.toString(),
1301
+ id_empresa: this.idEmpresa.toString(),
1302
+ id_enterprise: this.idEnterprise.toString(),
1303
+ perfiscal: this.periodoFiscal.toString(),
1304
+ id_ep1: this.idEP1.toString(),
1305
+ id_ep2: this.idEP2.toString(),
1306
+ id_ep3: this.idEP3.toString(),
1307
+ id_ep4: this.idEP4.toString(),
1308
+ id_ep5: this.idEP5.toString(),
1309
+ julio: this.junio.toString(),
1310
+ junio: this.julio.toString(),
1311
+ marzo: this.marzo.toString(),
1312
+ mayo: this.mayo.toString(),
1313
+ nivel: this.nivel.toString(),
1314
+ noviembre: this.noviembre.toString(),
1315
+ octubre: this.octubre.toString(),
1316
+ pagado: this.pagado.toString(),
1317
+ precomprometido: this.precomprometido.toString(),
1318
+ referencia: this.referencia,
1319
+ sc_cuenta: this.cuentaContable,
1320
+ septiembre: this.septiembre.toString(),
1321
+ spg_cuenta: this.cuenta,
1322
+ status: this.status,
1323
+ id_del_spgcta: this.id.toString()
1324
+ };
1325
+ }
1264
1326
  }
1265
1327
 
1266
1328
  class MCuentaInstitucional extends MBasicModel {
@@ -1522,6 +1584,8 @@ class MConfiguracionSCG extends MBasicModel {
1522
1584
  this.SCFResultadoTesoro = '';
1523
1585
  this.costo = 0;
1524
1586
  this.cuentaResultadoPresupuesto = '';
1587
+ this.codigoEnterprise = '';
1588
+ this.denominacionEnterprise = '';
1525
1589
  if (configuracion) {
1526
1590
  this.idEnterprise = +configuracion.id_enterprise;
1527
1591
  this.periodoFiscal = +configuracion.perfiscal;
@@ -1571,6 +1635,8 @@ class MConfiguracionSCG extends MBasicModel {
1571
1635
  this.SCFResultadoTesoro = configuracion.scf_resultado_t;
1572
1636
  this.costo = parseInt(configuracion.costo);
1573
1637
  this.cuentaResultadoPresupuesto = configuracion.ctaejeprecie;
1638
+ this.codigoEnterprise = configuracion.codigo;
1639
+ this.denominacionEnterprise = configuracion.titulo;
1574
1640
  }
1575
1641
  }
1576
1642
  dataInterface() {
@@ -1750,6 +1816,8 @@ class MConfigurationSPG {
1750
1816
  this.codigoCentroCosto = '';
1751
1817
  this.estructuraPresupuestaria = '';
1752
1818
  this.editable = false;
1819
+ this.codigoEnterprise = '';
1820
+ this.denominacionEnterprise = '';
1753
1821
  if (configuration) {
1754
1822
  this.idEnterprise = +configuration.id_enterprise;
1755
1823
  this.periodoFiscal = +configuration.perfiscal;
@@ -1791,6 +1859,8 @@ class MConfigurationSPG {
1791
1859
  this.codigoCentroCosto = configuration.codcencos;
1792
1860
  this.estructuraPresupuestaria = configuration.estpre;
1793
1861
  this.editable = configuration.editable == '0';
1862
+ this.codigoEnterprise = configuration.codigo;
1863
+ this.denominacionEnterprise = configuration.titulo;
1794
1864
  }
1795
1865
  }
1796
1866
  dataInteface() {
@@ -3128,67 +3198,67 @@ class MCommunity extends MBasicModel {
3128
3198
  }
3129
3199
 
3130
3200
  class MProviderBeneficiary extends MBasicModel {
3131
- constructor(proben = null) {
3201
+ constructor(proben) {
3132
3202
  super();
3133
- this.idEmpresa = null;
3134
- this.id = null;
3135
- this.rif = null;
3136
- this.idDocument = null;
3137
- this.name = null;
3138
- this.address = null;
3139
- this.nit = null;
3140
- this.telephone = null;
3141
- this.mobileTelephone = null;
3142
- this.nationality = null;
3143
- this.email = null;
3144
- this.webAddress = null;
3145
- this.status = null;
3146
- this.type = null;
3147
- this.typeDesignation = null;
3148
- this.observation = null;
3149
- this.contribuiterType = null;
3150
- this.countryCode = null;
3151
- this.stateCode = null;
3152
- this.municipalityCode = null;
3153
- this.parishCode = null;
3154
- this.currencyCode = null;
3155
- this.organizationType = null;
3156
- this.systemLogDate = null;
3157
- this.licenceNumber = null;
3158
- this.providerSubalternLogDate = null;
3159
- this.subscribedShareCapital = null;
3160
- this.idRNC = null;
3161
- this.dateRNC = null;
3162
- this.expirationDateRNC = null;
3163
- this.statusRNC = null;
3164
- this.subalternId = null;
3165
- this.subalternLogDate = null;
3166
- this.socialSecurityId = null;
3167
- this.socialSecurityExpirationDate = null;
3168
- this.idINCE = null;
3169
- this.expirationDateINCE = null;
3170
- this.registryNumber = null;
3171
- this.registryTome = null;
3172
- this.idFolio = null;
3173
- this.registryModification = null;
3174
- this.registryModificationDate = null;
3175
- this.tomeModification = null;
3176
- this.folioModification = null;
3177
- this.inspector = null;
3178
- this.accountableAccount = null;
3179
- this.advanceAccountableAccount = null;
3180
- this.receptionAccountableAccount = null;
3181
- this.estpropri = null;
3182
- this.sigecofCode = null;
3183
- this.passport = null;
3184
- this.accounts = [];
3185
- this.personType = null;
3203
+ this.idEmpresa = 0;
3204
+ this.idEnterprise = 0;
3205
+ this.id = 0;
3206
+ this.rif = '';
3207
+ this.cedben = '';
3208
+ this.name = '';
3209
+ this.address = '';
3210
+ this.nit = '';
3211
+ this.telephone = '';
3212
+ this.mobileTelephone = '';
3213
+ this.nationality = '';
3214
+ this.email = '';
3215
+ this.webAddress = '';
3216
+ this.status = 0;
3217
+ this.type = '';
3218
+ this.typeDesignation = '';
3219
+ this.observation = '';
3220
+ this.contribuiterType = '';
3221
+ this.countryCode = '';
3222
+ this.stateCode = '';
3223
+ this.municipalityCode = '';
3224
+ this.parishCode = '';
3225
+ this.currencyCode = '';
3226
+ this.organizationType = 0;
3227
+ this.systemLogDate = '';
3228
+ this.licenceNumber = '';
3229
+ this.providerSubalternLogDate = '1900-01-01';
3230
+ this.subscribedShareCapital = 0;
3231
+ this.idRNC = '';
3232
+ this.dateRNC = '1900-01-01';
3233
+ this.expirationDateRNC = '1900-01-01';
3234
+ this.statusRNC = '';
3235
+ this.subalternId = '';
3236
+ this.subalternLogDate = '';
3237
+ this.socialSecurityId = '';
3238
+ this.socialSecurityExpirationDate = '';
3239
+ this.idINCE = '';
3240
+ this.expirationDateINCE = '';
3241
+ this.registryNumber = '';
3242
+ this.registryTome = '';
3243
+ this.idFolio = '';
3244
+ this.registryModification = '';
3245
+ this.registryModificationDate = '';
3246
+ this.tomeModification = '';
3247
+ this.folioModification = '';
3248
+ this.inspector = '';
3249
+ this.accountableAccount = '';
3250
+ this.advanceAccountableAccount = '';
3251
+ this.receptionAccountableAccount = '';
3252
+ this.estpropri = '';
3253
+ this.passport = '';
3254
+ this.personType = '';
3186
3255
  this.isNew = false;
3187
3256
  if (proben) {
3188
- this.id = parseInt(proben.id_proveedor);
3189
- this.idEmpresa = parseInt(proben.id_empresa);
3257
+ this.idEmpresa = +proben.id_empresa;
3258
+ this.idEnterprise = +proben.id_enterprise;
3259
+ this.id = +proben.id_proveedor;
3190
3260
  this.rif = proben.rifpro;
3191
- this.idDocument = proben.cedben;
3261
+ this.cedben = proben.cedben;
3192
3262
  this.name = proben.nompro;
3193
3263
  this.address = proben.dirpro;
3194
3264
  this.nit = proben.nitpro;
@@ -3196,28 +3266,21 @@ class MProviderBeneficiary extends MBasicModel {
3196
3266
  this.mobileTelephone = proben.telmovpro;
3197
3267
  this.nationality = proben.nacpro;
3198
3268
  this.email = proben.emapro;
3199
- this.status = parseInt(proben.estpro);
3269
+ this.webAddress = proben.webpro;
3270
+ this.status = +proben.estpro;
3200
3271
  this.type = proben.tippro;
3201
3272
  this.observation = proben.obspro;
3202
3273
  this.contribuiterType = proben.tipconpro;
3203
- if (proben.codest) {
3204
- this.stateCode = proben.codest.trim();
3205
- }
3206
- if (proben.codpar) {
3207
- this.stateCode = proben.codpar.trim();
3208
- }
3209
- if (proben.codpai) {
3210
- this.countryCode = proben.codpai.trim();
3211
- }
3212
- if (proben.codmun) {
3213
- this.municipalityCode = proben.codmun.trim();
3214
- }
3215
- this.currencyCode = proben.codmon;
3216
- this.organizationType = parseInt(proben.id_tiporg);
3274
+ this.countryCode = proben.codpai;
3275
+ this.stateCode = proben.codest;
3276
+ this.municipalityCode = proben.codmun;
3277
+ this.parishCode = proben.codpar;
3278
+ this.currencyCode = proben.id_moneda;
3279
+ this.organizationType = +proben.id_tiporg;
3217
3280
  this.systemLogDate = proben.fecregsis;
3218
3281
  this.licenceNumber = proben.numlic;
3219
- this.providerSubalternLogDate = proben.fecregpro;
3220
- this.subscribedShareCapital = parseFloat(proben.capsocpro);
3282
+ this.providerSubalternLogDate = proben.fecregsub;
3283
+ this.subscribedShareCapital = +proben.capsocpro;
3221
3284
  this.idRNC = proben.numrnc;
3222
3285
  this.dateRNC = proben.fecrnc;
3223
3286
  this.expirationDateRNC = proben.fecvenrnc;
@@ -3238,18 +3301,82 @@ class MProviderBeneficiary extends MBasicModel {
3238
3301
  this.inspector = proben.inspector;
3239
3302
  this.accountableAccount = proben.sc_cuenta;
3240
3303
  this.advanceAccountableAccount = proben.sc_cuentaant;
3241
- this.receptionAccountableAccount = proben.sc_cuentarecdoc;
3304
+ this.personType = proben.tipperpro;
3242
3305
  this.estpropri = proben.estpropri;
3243
- this.sigecofCode = proben.codsigcof;
3244
3306
  this.passport = proben.pasaporte;
3245
3307
  if (proben.cuentas) {
3246
3308
  this.accounts = proben.cuentas.map(e => new MProviderBankAccount(e));
3247
3309
  }
3248
- this.personType = proben.tipperpro;
3249
- this.webAddress = proben.webpro;
3250
- this.typeDesignation = this.type == 'P' ? 'PROVEEDOR' : this.type == 'B' ? 'BENEFICIARIO' : this.type == 'C' ? 'CONTRATISTA' : this.type == 'N' ? 'NINGUNO' : 'PROVEEDOR-CONTRATISTA';
3310
+ if (proben.especialidad) {
3311
+ this.specialties = proben.especialidad.map(e => new MSpecialtyProv(e));
3312
+ }
3313
+ if (proben.deducciones) {
3314
+ this.deductions = proben.deducciones.map(e => new MDeductionProv(e));
3315
+ }
3316
+ if (proben.documentos) {
3317
+ this.documents = proben.documentos.map(e => new MDocumentProv(e));
3318
+ }
3251
3319
  }
3252
3320
  }
3321
+ ;
3322
+ dataInterface() {
3323
+ return {
3324
+ id_empresa: this.idEmpresa.toString(),
3325
+ id_enterprise: this.idEnterprise.toString(),
3326
+ id_proveedor: this.id.toString(),
3327
+ rifpro: this.rif,
3328
+ cedben: this.cedben,
3329
+ nompro: this.name,
3330
+ dirpro: this.address,
3331
+ nitpro: this.nit,
3332
+ telpro: this.telephone,
3333
+ telmovpro: this.mobileTelephone,
3334
+ nacpro: this.nationality,
3335
+ emapro: this.email,
3336
+ webpro: this.webAddress,
3337
+ estpro: this.status.toString(),
3338
+ tippro: this.type,
3339
+ obspro: this.observation,
3340
+ tipconpro: this.contribuiterType,
3341
+ codpai: this.countryCode,
3342
+ codest: this.stateCode,
3343
+ codmun: this.municipalityCode,
3344
+ codpar: this.parishCode,
3345
+ id_moneda: this.currencyCode,
3346
+ id_tiporg: this.organizationType.toString(),
3347
+ fecregsis: this.systemLogDate,
3348
+ numlic: this.licenceNumber,
3349
+ fecregsub: this.providerSubalternLogDate,
3350
+ capsocpro: this.subscribedShareCapital.toString(),
3351
+ numrnc: this.idRNC,
3352
+ fecrnc: this.dateRNC,
3353
+ fecvenrnc: this.expirationDateRNC,
3354
+ estrnc: this.statusRNC,
3355
+ numregsub: this.subalternId,
3356
+ fecregpro: this.fechaRegistroProveedor,
3357
+ numregsso: this.socialSecurityId,
3358
+ fecvensso: this.socialSecurityExpirationDate,
3359
+ numregince: this.idINCE,
3360
+ fecvenince: this.expirationDateINCE,
3361
+ numreg: this.registryNumber,
3362
+ tomreg: this.registryTome,
3363
+ numfol: this.idFolio,
3364
+ regmod: this.registryModification,
3365
+ fecregmod: this.registryModificationDate,
3366
+ tommod: this.tomeModification,
3367
+ folmod: this.folioModification,
3368
+ inspector: this.inspector,
3369
+ sc_cuenta: this.accountableAccount,
3370
+ sc_cuentaant: this.advanceAccountableAccount,
3371
+ tipperpro: this.personType,
3372
+ estpropri: this.estpropri,
3373
+ pasaporte: this.passport,
3374
+ cuentas: this.accounts.map(e => e.dataInterface()),
3375
+ especialidad: this.specialties.map(e => e.dataInterface()),
3376
+ deducciones: this.deductions.map(e => e.dataInterface()),
3377
+ documentos: this.documents.map(e => e.dataInterface())
3378
+ };
3379
+ }
3253
3380
  }
3254
3381
  class MProviderBankAccount {
3255
3382
  constructor(account) {
@@ -3288,6 +3415,70 @@ class MProviderBankAccount {
3288
3415
  denctabcoprov: this.accountDenomination,
3289
3416
  };
3290
3417
  }
3418
+ }
3419
+ class MDocumentProv {
3420
+ constructor(doc) {
3421
+ this.providerId = 0;
3422
+ this.denomination = "";
3423
+ this.dateReception = "";
3424
+ this.dateExpiration = "";
3425
+ this.statusDocument = 0;
3426
+ this.statusOriginal = 0;
3427
+ this.observation = "";
3428
+ this.providerId = doc.id_proveedor;
3429
+ this.documentId = doc.id_doc;
3430
+ this.denomination = doc.dendoc;
3431
+ this.dateReception = doc.fecrecdoc;
3432
+ this.dateExpiration = doc.fecvendoc;
3433
+ this.statusDocument = doc.estdoc;
3434
+ this.statusOriginal = doc.estoridoc;
3435
+ this.observation = doc.obsdocpro;
3436
+ }
3437
+ ;
3438
+ dataInterface() {
3439
+ return {
3440
+ id_proveedor: this.providerId,
3441
+ id_doc: this.documentId,
3442
+ dendoc: this.denomination,
3443
+ fecrecdoc: this.dateReception,
3444
+ fecvendoc: this.dateExpiration,
3445
+ estdoc: this.statusDocument,
3446
+ estoridoc: this.statusOriginal,
3447
+ obsdocpro: this.observation,
3448
+ };
3449
+ }
3450
+ }
3451
+ class MDeductionProv {
3452
+ constructor(ded) {
3453
+ this.providerId = ded.id_proveedor;
3454
+ this.id = ded.id_deduccion;
3455
+ this.codigo = ded.codded;
3456
+ this.denomination = ded.dended;
3457
+ }
3458
+ ;
3459
+ dataInterface() {
3460
+ return {
3461
+ id_proveedor: this.providerId,
3462
+ id_deduccion: this.id,
3463
+ codded: this.codigo,
3464
+ dended: this.denomination
3465
+ };
3466
+ }
3467
+ }
3468
+ class MSpecialtyProv {
3469
+ constructor(ded) {
3470
+ this.providerId = ded.id_proveedor;
3471
+ this.id = ded.id_especialidad;
3472
+ this.denomination = ded.denesp;
3473
+ }
3474
+ ;
3475
+ dataInterface() {
3476
+ return {
3477
+ id_proveedor: this.providerId,
3478
+ id_especialidad: this.id,
3479
+ denesp: this.denomination
3480
+ };
3481
+ }
3291
3482
  }
3292
3483
 
3293
3484
  class MSigecofBank extends MBasicModel {
@@ -7011,7 +7202,7 @@ class SigespService {
7011
7202
  * @author Miguel Ramírez
7012
7203
  */
7013
7204
  getConfigurationSPG(idEnterprise, periodoFical) {
7014
- 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])));
7205
+ 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])));
7015
7206
  }
7016
7207
  /**
7017
7208
  * @description Obtiene las configuraciones de los proveedores
@@ -14728,5 +14919,5 @@ class customPaginator extends MatPaginatorIntl {
14728
14919
  * Generated bundle index. Do not edit.
14729
14920
  */
14730
14921
 
14731
- 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 };
14922
+ 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 };
14732
14923
  //# sourceMappingURL=sigesp.mjs.map