diff --git a/.gitignore b/.gitignore index 2752eb9..c6fef02 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ .DS_Store +config.local.js diff --git a/README.md b/README.md index 50cfdde..be860b8 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ ledgerflow_frontend/ ## Features ### Purchase Orders -- Import POs from external DynamoDB table (Coupa purchase-orders) +- POs auto-sync from external DynamoDB table via DynamoDB Streams (near-real-time) +- Paginated table (20 per page) with page navigation controls +- Search/filter across all POs (resets to page 1) - Add POs manually - Edit POs after import (vendor, amount, status, dates, notes) - Bill against POs to create invoices diff --git a/accounting-app.html b/accounting-app.html index 5e92bdc..6462106 100644 --- a/accounting-app.html +++ b/accounting-app.html @@ -256,6 +256,12 @@ /* TABLE */ .table-wrap { overflow-x: auto; } + .pagination { display:flex;align-items:center;justify-content:center;gap:4px;padding:12px 16px;border-top:1px solid var(--border); } + .pagination button { background:var(--surface2);border:1px solid var(--border);color:var(--text2);border-radius:6px;padding:4px 10px;font-size:12px;cursor:pointer;font-family:var(--mono);transition:all .15s; } + .pagination button:hover { border-color:var(--accent);color:var(--accent); } + .pagination button.active { background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:500; } + .pagination button:disabled { opacity:.35;cursor:default; } + .pagination .page-info { font-size:11px;color:var(--text3);margin:0 8px; } table { width: 100%; border-collapse: collapse; } thead th { font-size: 10px; @@ -579,7 +585,6 @@
Dashboard
-
@@ -624,7 +629,7 @@
- +
PO NumberVendorAmountStatus
๐Ÿ“ฆ

No POs imported yet

๐Ÿ“ฆ

No POs synced yet

@@ -660,26 +665,26 @@

Purchase Orders

-

Imported from DynamoDB ยท 0 records

+

Auto-synced from DynamoDB ยท 0 records

-
All Purchase Orders - +
- +
PO NumberVendorIssue DateDue DateAmountBilledRemainingStatusAction
๐Ÿ“ฆ

No purchase orders yet. Import from DynamoDB or add manually.

๐Ÿ“ฆ

No purchase orders yet. POs sync automatically from DynamoDB.

+
@@ -983,55 +988,6 @@ - - -