Manage hospital staff accounts, inspect real-time reconciliation queues, and update the master drug catalog.
Daily audit breakdown by pharmacy staff operator & PO approval actions
| Staff Member | Invoices | Line Items | With Code | Auto-Matched | Manual Mapped | Missing Code | PO Approvals | Item Approvals |
|---|---|---|---|---|---|---|---|---|
| {{ u.username }} | {{ u.pdfs_processed }} | {{ u.total_items }} | {{ u.items_with_code }} | {{ u.items_auto_matched }} | {{ u.items_manual }} | {% if u.items_missing > 0 %}{{ u.items_missing }} {% else %}0{% endif %} | {% if u.po_approved > 0 %}{{ u.po_approved }} {% else %}0{% endif %} | {% if u.item_code_approved > 0 %}{{ u.item_code_approved }} {% else %}0{% endif %} |
| Time | Staff Operator | Invoice # | Vendor | Approved PO # | Action Type | Resolution Status | Audit Log Notes |
|---|---|---|---|---|---|---|---|
| {{ item.time }} | {{ item.approved_by }} | {{ item.invoice_number }} | {% if item.po_number_approved and item.po_number_approved != '--' %} {{ item.po_number_approved }} {% else %} None {% endif %} | {% if item.approval_type == 'item_code_approval' %} Item Code Approved {% elif item.approval_status == 'rejected' %} Rejected {% else %} PO Approved {% endif %} | {% if item.approval_status in ('approved', 'completed') %} {{ item.approval_status|capitalize }} {% elif item.approval_status == 'pending_item_code' %} Pending Item Codes {% elif item.approval_status == 'rejected' %} Rejected {% else %} {{ item.approval_status|capitalize }} {% endif %} | {{ item.notes }} |
Manage system access, create new staff operators, promote administrators, and reset passwords.
| Username | Role | Registered Date | Last Login | Account Status | Actions | |
|---|---|---|---|---|---|---|
| {{ user.username }} | {{ user.email }} | {% if user.is_admin %} ADMIN {% else %} PHARMACY STAFF {% endif %} | {{ user.created_at[:10] if user.created_at else 'N/A' }} | {{ user.last_login[:10] if user.last_login else 'Never' }} | {% if user.is_active %} Active {% else %} Inactive {% endif %} | {% if user.username != 'admin' and user.username != 'dmh' %} {% else %} Protected Admin {% endif %} |
Search, manage and update the hospital's standardized drug items, formulas, and hospital item codes.
| Item Code | Medicine Name / Description | Category | Last Updated | Actions |
|---|---|---|---|---|
| Loading catalog database... | ||||
Total standardized medicines registered under each pharmaceutical group.
| Drug Category | Standardized Items |
|---|
Line items extracted from invoices where no matching hospital item code was found.
| Item Description | Uploaded By | Source Filename | Extraction Date |
|---|