pharmacy dashboard

This commit is contained in:
2026-11-24 12:07:35 +05:30
commit 72c8b59054
56 changed files with 38778 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import sqlite3
conn = sqlite3.connect('users.db')
conn.row_factory = sqlite3.Row
cur = conn.cursor()
cur.execute("SELECT * FROM po_approval_history ORDER BY id DESC")
rows = cur.fetchall()
print(f"Total rows in po_approval_history: {len(rows)}")
for r in rows:
print(dict(r))
conn.close()