From 349fc27ed4506c40fe02b4438e8ff6b327ff75c3 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Sat, 2 Aug 2025 18:26:36 -0300 Subject: [PATCH] Atualizando companies_save.php --- vendor/model/ProductsCompanies.class.php | 2 +- vendor/view/products_companies/products_companies_datagrid.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/model/ProductsCompanies.class.php b/vendor/model/ProductsCompanies.class.php index bd6e33b..52ff339 100644 --- a/vendor/model/ProductsCompanies.class.php +++ b/vendor/model/ProductsCompanies.class.php @@ -120,7 +120,7 @@ class ProductsCompanies $this->companyId = $companyId; /** Consulta SQL */ - echo $this->sql = 'SELECT cp.maturity, + $this->sql = 'SELECT cp.maturity, cp.readjustment, GROUP_CONCAT(cp.product_company_id ORDER BY cp.product_company_id SEPARATOR \', \') AS product_company_ids, GROUP_CONCAT(cp.product_id ORDER BY cp.product_company_id SEPARATOR \', \') AS product_ids, diff --git a/vendor/view/products_companies/products_companies_datagrid.php b/vendor/view/products_companies/products_companies_datagrid.php index 427ee6c..ada1f6b 100644 --- a/vendor/view/products_companies/products_companies_datagrid.php +++ b/vendor/view/products_companies/products_companies_datagrid.php @@ -76,7 +76,7 @@ try{ ?> - product;?> + products;?> reference;?> description;?> readjustment;?>