Warning: Undefined array key "usuarioID" in /home/systemdecorcom/public_html/sg/util/include_menu.php on line 20
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
p.status = 10
ORDER BY
p.ordem, grupo_cod ASC' at line 19 in /home/systemdecorcom/public_html/sg/model/MySQL.php:38
Stack trace:
#0 /home/systemdecorcom/public_html/sg/model/MySQL.php(38): mysqli_query(Object(mysqli), 'SELECT \r\n\t\t\t\tpa...')
#1 /home/systemdecorcom/public_html/sg/util/include_menu.php(26): MySQL->query('SELECT \r\n\t\t\t\tpa...')
#2 /home/systemdecorcom/public_html/sg/code/proposta_comercial_listar.php(177): include('/home/systemdec...')
#3 {main}
thrown in /home/systemdecorcom/public_html/sg/model/MySQL.php on line 38