Skip to content

Commit

Permalink
#6 se envia en el mapa de datos la entidad businessEntity para ser ut…
Browse files Browse the repository at this point in the history
…ilizada en la view
  • Loading branch information
says33 committed Apr 22, 2016
1 parent 68f92f3 commit b9e6bb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class BusinessEntityController {
params.sepomexUrl = grails.util.Holders.grailsApplication.config.sepomex.url
LeadType relation = businessEntityService.getClientProviderType(businessEntity.rfc)
def banco = Bank.findByBankingCode(businessEntity.names.find{ val -> val['type'] == NameType.BANCO}?.value ?: 0)
respond businessEntity, model:[relation:relation.toString(),banco:banco]
respond businessEntity, model:[relation:relation.toString(),banco:banco,businessEntity:businessEntity]
}

@Transactional
Expand Down

0 comments on commit b9e6bb6

Please sign in to comment.