updated print

This commit is contained in:
2025-09-17 19:12:30 +03:00
parent ceda2447a6
commit bf8e837501
3 changed files with 2 additions and 8 deletions

View File

@@ -113,10 +113,10 @@ def add_order_to_database(order_data):
INSERT INTO order_for_labels
(comanda_productie, cod_articol, descr_com_prod, cantitate,
com_achiz_client, nr_linie_com_client, customer_name,
customer_article_number, open_for_order, line_number)
customer_article_number, open_for_order, line_number, printed_labels)
VALUES (%(comanda_productie)s, %(cod_articol)s, %(descr_com_prod)s, %(cantitate)s,
%(com_achiz_client)s, %(nr_linie_com_client)s, %(customer_name)s,
%(customer_article_number)s, %(open_for_order)s, %(line_number)s)
%(customer_article_number)s, %(open_for_order)s, %(line_number)s, 0)
"""
cursor.execute(sql, insert_data)