From f9bbbe86b51eb18ef3c7cdca7d97262ed42b01cd Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Sun, 3 Aug 2025 07:38:04 -0300 Subject: [PATCH] Atualizando arquivos --- js/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/main.js b/js/main.js index b2c8c7c..8337431 100644 --- a/js/main.js +++ b/js/main.js @@ -1701,13 +1701,13 @@ function prepareBudget(id, source, productId, budgetsId){ $('#description').val($(id).find('td:eq(3)').text().trim()); /** Seleciona o mês */ - $("#readjustment_month option:contains(" + $(id).find('td:eq(4)').text().trim() + ")").attr('selected', true); + $("#readjustment_month option:contains(" + $(id).find('td:eq(4)').text() + ")").attr('selected', true); /** Carrega o dia do vencimento*/ - $('#day_due').val($(id).find('td:eq(5)').text().trim()); + $('#day_due').val($(id).find('td:eq(5)').text()); /** Carrega o valor do orçamento */ - $('#budget').val($(id).find('td:eq(6)').text().trim()); + $('#budget').val($(id).find('td:eq(6)').text()); /** Informa o id do produto */ $('#products_id').val(productId); @@ -1717,7 +1717,7 @@ function prepareBudget(id, source, productId, budgetsId){ case 'budgets': /** Carrega a descrição */ - $('#description').val($(id).find('td:eq(2)').text().trim()); + $('#description').val($(id).find('td:eq(2)').text()); /** Separa o último mês de reajuste */ let lastMonth = ($(id).find('td:eq(9)').text()).split('/');