This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateKeyValueUsersBanco(e){ | |
const {fields: {responsable}, filterUsersBanco} = this.props; | |
if(e.keyCode == 13 || e.which == 13){ | |
e.preventDefault(); | |
if(responsable.value !== "" && responsable.value !== null && responsable.value !== undefined){ | |
filterUsersBanco(responsable.value).then((data) => { | |
usersBanco = _.get(data, 'payload.data.data'); | |
const selector = $('.ui.search.responsable'); | |
//selector.search('hide results'); | |
selector.search('show results'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public BigDecimal validateClientAndResponsable(int typeIdClient, String idClient) throws Exception { | |
Session session = sessionFactory.getCurrentSession(); | |
BigDecimal idCliente; | |
try { | |
String sqlClient = "SELECT ID FROM D09_CLIENT C WHERE C.D09_CLIENT_ID_TYPE = :clientIdType AND D09_CLIENT_ID_NUMBER = :clientIdNumber"; | |
Query queryClient = session.createSQLQuery(sqlClient); | |
queryClient.setParameter("clientIdType", typeIdClient); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tr key={idx}> | |
<td className="collapsing"> | |
<BtnEditBusiness pipelineBusiness={businessData}/> | |
</td> | |
<td>{shorterStringValue(nameBusiness, 50)}</td> | |
<td>{shorterStringValue(nameProduct, 50)}</td> | |
<td>{shorterStringValue(nameState, 30)}</td> | |
<td className="collapsing"> | |
<i className="remove icon" title="Eliminar negocio" | |
onClick={this._confirmDeleteBusiness.bind(this, businessData.uuid)} |