Skip to content

Commit

Permalink
#8 se ajusta la obtencion de los datos de la cuenta bancaria del empl…
Browse files Browse the repository at this point in the history
…eado para la generacion del archivo
  • Loading branch information
says33 committed Apr 25, 2016
1 parent 029c976 commit 68d8641
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grails-app/services/com/cte/DocumentService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ class DocumentService {
payroll.employee.names.find{ val -> val['type'] == NameType.NUMERO_EMPLEADO}?.value,
payroll.employee.toString(),
payroll.amount,
payroll.employee.names.find{ val -> val['type'] == NameType.BANCO}?.value,
payroll.employee.names.find{ val -> val['type'] == NameType.CUENTA}?.value,
payroll.employee.names.find{ val -> val['type'] == NameType.CLABE}?.value
payroll.employee.banksAccounts.first().banco.name,
payroll.employee.banksAccounts.first().accountNumber,
payroll.employee.banksAccounts.first().clabe
]

addRecordToWorkbook(workbook,fields)
Expand Down

0 comments on commit 68d8641

Please sign in to comment.