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
var args = $.args; | |
// Verifica se exibe o botão finalizar | |
$.setInfo = function(id, idSituacaoTratamento) { | |
if(idSituacaoTratamento == 2){ | |
$.info.add({}); | |
} | |
args.id = id; | |
}; |
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
// Arguments passed into this controller can be accessed via the `$.args` object directly or: | |
var args = $.args; | |
$.setFatTratamento = function(fatTratamento){ | |
$.fatTratamento.set(fatTratamento); | |
$.fatTratamento.trigger("change"); | |
}; | |
$.getFatTratamento= function(){ | |
return $.fatTratamento; |