This file contains hidden or 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
| /** | |
| * ScriptCase Field Visibility Manager | |
| * Biblioteca para controlar visibilidade de campos baseado em condições | |
| */ | |
| class SCFieldVisibility { | |
| constructor() { | |
| this.rules = []; | |
| this.observer = null; | |
| this.initialized = false; |
This file contains hidden or 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
| <script> | |
| // Função para esconder os campos | |
| function esconderCampos() { | |
| var codiempr = document.getElementById('SC_codiempr').value; | |
| var codiempr = codiempr.charAt(0); | |
| if (codiempr > 0) { | |
| $('#SC_status_label').hide(); |
This file contains hidden or 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
| <?php | |
| # AGRADECIMENTO: WELLIGTON PIVATTO | |
| # INSTALE O PACOTE COMPOSER NO PROJETO: google/apiclient | |
| # CONTEÚDO ARQUIVO google.ini (app/config/google.ini) | |
| /* | |
| [google_oauth2] | |
| client_id = "303046463171-cisqtpsaqbvd6xpg547rfbhi7ea1un69.apps.googleusercontent.com" | |
| client_secret = "YHMKPX-wqMQF1Dc06GI5Prd2IYVivJ3df6V" |
This file contains hidden or 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
| version: '3' | |
| services: | |
| uptime-kuma: | |
| image: louislam/uptime-kuma:1 | |
| container_name: uptime-kuma | |
| restart: always | |
| ports: | |
| - "7200:3001" | |
| volumes: | |
| - /data/uptime-kuma/data:/app/data |
This file contains hidden or 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
| # CRIE UM ARQUIVO JS NO PROJETO | |
| function __adianti_block_ui(mensagem) | |
| { | |
| if (typeof $.blockUI == 'function') | |
| { | |
| if (typeof Adianti.blockUIConter == 'undefined') | |
| { | |
| Adianti.blockUIConter = 0; | |
| } |
This file contains hidden or 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
| <?php | |
| # SEM O CLASS | |
| TScript::create("$('table th:contains(\"TITULO DA COLUNA\")').hide();"); | |
| # COM O CLASS | |
| TScript::create("$('table th.tdatagrid_col:contains(\"TITULO DA COLUNA\")').hide();"); | |
| # "tdatagrid_col" É O NOME DO class | |
| # "TITULO DA COLUNA" É O NOME DO TÍTULO DA COLUNA |
This file contains hidden or 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
| /* | |
| Crie uma app blank: RESTService | |
| - no onExecute insira os códigos abaixo | |
| - Crie os metodos, no meu exemplo eu criei um metodo chamado checkLicense() quere recebe a variavel $body | |
| - a variavel $boby recebe o input (os dados que vai enviar em formato json) | |
| */ | |
| header("Access-Control-Allow-Origin: *"); |
This file contains hidden or 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
| <?php | |
| public function onReload($param = NULL) | |
| { | |
| if (empty($param['order'])) | |
| { | |
| $param['order'] = 'cidade->nome'; | |
| $criteria->setProperties($param); | |
| } |
This file contains hidden or 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
| /* | |
| - Cria a coluna "Saldo" no DetailForm | |
| - Nas prorpiedades do DetailForm criar envento onUpdateList | |
| */ | |
| public static function onUpdateList($param = null) | |
| { | |
| try |
This file contains hidden or 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
| <?php | |
| # 1 - CRIE O ARQUIVO PHP "PHP File" NA PASTA RAIZ DO PROJETO E COLE ESSE CÓDIGO: | |
| class OFX | |
| { | |
| private $arquivo; | |
| public function __construct($arquivo) | |
| { |
NewerOlder