Warning: Undefined array key "ProposalId" in /usr/www/pmewebapps/gestelevapi-dev/pdf/ProposalBody.php on line 6

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 Proposals.IsActive=1 AND Address_Types.Code='MAIN'' at line 28 in /usr/www/pmewebapps/gestelevapi-dev/pdf/ProposalBody.php:38 Stack trace: #0 /usr/www/pmewebapps/gestelevapi-dev/pdf/ProposalBody.php(38): mysqli_query() #1 {main} thrown in /usr/www/pmewebapps/gestelevapi-dev/pdf/ProposalBody.php on line 38