Skip to content
Snippets Groups Projects
Commit 7cad7e23 authored by Jason Jeremy's avatar Jason Jeremy
Browse files

fix transaksi

parent bb72c778
No related merge requests found
......@@ -96,7 +96,7 @@ def create_transaksi():
tanggal_transaksi = request.form.get('tanggal_transaksi')
id_pegawai = request.form.get('id_pegawai')
cur = conn.cursor()
sql = "INSERT INTO transaksi VALUES (NULL, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"
sql = "INSERT INTO transaksi VALUES (NULL, %s, %s, %s, %s, %s)"
output = cur.execute(sql, (id_barang, nomor_resi, biaya, tanggal_transaksi, id_pegawai))
if (output):
return '1'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment