Commit graph

3 commits

Author SHA1 Message Date
Adam Moussa
37f204c18c Fix Google Sign-In client_id error and null reference on login
- Load GSI script dynamically after config.js sets GOOGLE_CLIENT_ID
  so data-client_id is populated before the library auto-initializes
- Fall back to config.js client ID when /auth/config returns empty
- Guard against null fallback-btn element in initGoogleSignIn

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 14:29:36 -04:00
Adam Moussa
c9821bfa85 Add invoice edit, delete, and bulk delete with confirmation UI
- Edit invoice modal reuses create form, pre-fills all fields including
  line items, locks invoice number and PO linkage
- Delete from detail view with confirmation dialog
- Multi-select checkboxes with bulk delete and confirmation modal listing
  all invoices to be removed
- Paid and EDI-submitted invoices cannot be selected for deletion
- "Modified After Send" orange badge for post-EDI-send edits
- PO remaining balance correctly accounts for current invoice during edit
- Edit button added to invoice table row actions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 11:41:56 -04:00
Adam Moussa
4fbd664d64 Initial commit — LedgerFlow frontend
Single-page B2B accounting app with PO management (import, edit),
invoice creation with auto due date calculation, EDI preview/submit,
Google SSO, and sign out support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 18:19:49 -04:00