Notice: Undefined index: codclien in C:\Apache24\htdocs\test\ventas\detnc2X.php on line 152

Notice: Undefined index: factnum in C:\Apache24\htdocs\test\ventas\detnc2X.php on line 153

Notice: Undefined index: descuento in C:\Apache24\htdocs\test\ventas\detnc2X.php on line 154

Warning: A non-numeric value encountered in C:\Apache24\htdocs\test\ventas\detnc2X.php on line 154

Notice: Undefined index: coduserx in C:\Apache24\htdocs\test\ventas\detnc2X.php on line 156

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