Notice: Undefined index: codclien in C:\Apache24\htdocs\real\ventas\detnc.php on line 144

Notice: Undefined index: factnum in C:\Apache24\htdocs\real\ventas\detnc.php on line 145

Notice: Undefined index: sx in C:\Apache24\htdocs\real\ventas\detnc.php on line 146

Notice: Undefined index: coduserx in C:\Apache24\htdocs\real\ventas\detnc.php on line 147

Fatal error: Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '='. in C:\Apache24\htdocs\real\ventas\detnc.php:173 Stack trace: #0 C:\Apache24\htdocs\real\ventas\detnc.php(173): PDOStatement->execute() #1 {main} thrown in C:\Apache24\htdocs\real\ventas\detnc.php on line 173