Atualizando arquivos
This commit is contained in:
parent
aa7ffe8b08
commit
c3869772e6
1 changed files with 16 additions and 2 deletions
18
js/main.js
18
js/main.js
|
|
@ -1700,9 +1700,23 @@ function alternarCheckboxes() {
|
|||
// Selecionados
|
||||
const selecionados = Array.from(checkboxes).filter(cb => cb.checked);
|
||||
|
||||
if (selecionados.length === 0) {
|
||||
if (selecionados.length === 0) {
|
||||
|
||||
/** Carrega a descrição */
|
||||
$('#description').val('');
|
||||
|
||||
$('#collapseBudgets').hide('slow');
|
||||
/** Seleciona o mês */
|
||||
$("#readjustment_month").prop('selectedIndex', 0);
|
||||
|
||||
/** Carrega o dia do vencimento*/
|
||||
$('#day_due').val('');
|
||||
|
||||
/** Carrega o valor do orçamento */
|
||||
$('#budget').val('0,00');
|
||||
|
||||
/** Informa o id do produto */
|
||||
$('#products_id').val('');
|
||||
|
||||
$('#btnGerarOrcamento').html('Gerar Orçamento Agrupado');
|
||||
$('#btnGerarOrcamento').removeClass('btn-danger');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue