updated print
This commit is contained in:
Binary file not shown.
@@ -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)
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
Comanda Productie,Cod Articol,Descr. Com. Prod,Cantitate,Com.Achiz.Client,Nr. Linie com. Client,Customer Name,Customer Article Number,Open for order,Line
|
||||
CP001234,ART001,Sample Production Order 1,100,CLIENT-PO-001,1,ABC Company Ltd,CUST-ART-001,Yes,1
|
||||
CP001235,ART002,Sample Production Order 2,150,CLIENT-PO-002,2,XYZ Corporation,CUST-ART-002,Yes,1
|
||||
CP001236,ART003,Sample Production Order 3,75,CLIENT-PO-003,1,DEF Industries,CUST-ART-003,No,2
|
||||
CP001237,ART004,Sample Production Order 4,200,CLIENT-PO-004,3,GHI Manufacturing,CUST-ART-004,Yes,1
|
||||
CP001238,ART005,Sample Production Order 5,50,CLIENT-PO-005,1,JKL Enterprises,CUST-ART-005,Yes,3
|
||||
|
Reference in New Issue
Block a user