Skip to content

Commit

Permalink
groovy_R_SNET
Browse files Browse the repository at this point in the history
  • Loading branch information
SusanneCalderon committed Jul 22, 2023
1 parent 29e981a commit 4ee378b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ public Object run(MHRProcess process, Map<String, Object> engineContext) {
double deducciones = process.getConceptCategory("DeduccionesLegales");

double celular = process.getConcept("O_Celular");
double reposicion = process.getConcept("O_Reposicion");
double isr = process.getConcept("O_CorrecionISR");

double prestamos = process.getConcept("R_PrestamosTotal");
double presperso = process.getConcept("O_PrestamoPersonal");

result = salarioTotal - deducciones - celular - prestamos;
result = salarioTotal - celular - prestamos + reposicion - deducciones + presperso;
return result;
}

Expand Down

0 comments on commit 4ee378b

Please sign in to comment.