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
| ; Este script serve para mapear e tecla copilot para as teclas / e ? como deveria ser originalmente no notebook | |
| ; Asus vivobook S14 | |
| #Requires AutoHotkey v2.0 | |
| #SingleInstance Force | |
| SetWorkingDir A_ScriptDir | |
| #InputLevel 1 ; Prioridade alta para interceptar antes do Windows | |
| ; Mapeia Left Shift + Win + F23 (Copilot) para "/" e "?" | |
| $+#F23:: |
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 | |
| namespace App\Test\TestCase\Dominio\ObjetoValor; | |
| use App\Dominio\ObjetoValor\PeriodoMensal; | |
| use Cake\TestSuite\TestCase; | |
| /** | |
| * Class PeriodoMensalTest | |
| * |
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 | |
| namespace App\Dominio\ObjetoValor; | |
| class PeriodoMensal | |
| { | |
| private int $mes; | |
| private int $ano; | |
| private string $separador; |
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 remover_produto($id, $condicional_id){ | |
| $this->Condicional->CondicionalProduto->id = $id; | |
| if (!$this->Condicional->CondicionalProduto->exists()) { | |
| throw new NotFoundException(__('Invalid condicional')); | |
| } | |
| if (Parametro::v('ATUALIZAR_ESTOQUE_POR_CONDICIONAL', false)) { | |
| $atualizou = $this->Condicional->CondicionalProduto->field('atualizou_estoque'); |
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
| $.ajax({ | |
| url: 'paginaDestino.php', | |
| type: 'POST', | |
| data: new FormData($('#FormId')[0]), | |
| processData: false, | |
| contentType: false, | |
| success: function (res) { | |
| //deu certo | |
| }, | |
| error: function () { |