Commit Graph

75 Commits

Author SHA1 Message Date
Christian
2f022bf085 Release v2.0.2 updates 2026-01-28 10:26:22 +01:00
Christian
7c569527fe Add migration execution feature 2026-01-28 10:25:21 +01:00
Christian
ce7bbff766 Release v2.0.0 updates 2026-01-28 08:03:17 +01:00
Christian
c2a265d5f9 Add local pipeline opportunities 2026-01-28 07:48:10 +01:00
Christian
262fa80aef Add pipeline page and link 2026-01-28 01:41:57 +01:00
Christian
c7aa6fe3f5 Bump version to 1.3.150 2026-01-28 01:36:44 +01:00
Christian
31fc285342 feat: Fetch from multiple e-conomic endpoints for complete data
v1.3.149:
- Added /invoices/booked (sent invoices)
- Added /invoices/paid (paid invoices)
- Added /invoices/unpaid (unpaid invoices)
- Keep /invoices/drafts (draft invoices)
- Track unique invoices to avoid duplicates
- Apply customer and date filters correctly after fetching
2026-01-27 08:42:22 +01:00
Christian
04a472d204 fix: Remove undefined matrixHtml reference
v1.3.148:
- Fixed JavaScript error: matrixHtml is not defined
- Removed duplicate table population code
- bodyRows.innerHTML already contains the matrix HTML
2026-01-27 08:36:32 +01:00
Christian
41716ba683 fix: Use /invoices/drafts with proper customer filtering
v1.3.147:
- Changed from /customers/{id}/invoices/sent (404) to /invoices/drafts
- Fetch all drafts, then filter by customer number
- Apply date filter ONLY on customer invoices (fixes bug)
- Proper order: fetch all -> filter customer -> filter date
2026-01-27 08:31:22 +01:00
Christian
0d9f5a4332 feat: Use customer-specific invoices endpoint
v1.3.146:
- Changed to /customers/{customerNumber}/invoices/sent
- More direct approach - fetches only that customer's invoices
- Removed unnecessary customer filtering step
- Still applies 13-month date filter
2026-01-27 07:24:35 +01:00
Christian
e14aff89d7 fix: Apply date filter on customer_invoices not all_invoices
v1.3.145:
- CRITICAL FIX: Date filter was running on all invoices
- Now correctly filters customer_invoices by date
- Prevents showing other customers' invoices
2026-01-27 07:23:19 +01:00
Christian
bff284f398 fix: Remove duplicate customer filtering code
v1.3.144:
- Removed duplicate filtering logic
- Fixed logic flow: check invoices -> filter -> date filter
- Cleaner logs without duplicates
2026-01-27 07:22:00 +01:00
Christian
ffffa8e004 feat: Fetch from multiple e-conomic endpoints
v1.3.143:
- Check drafts, booked, paid, unpaid endpoints
- Deduplicate invoices by invoice number
- Pagination support for each endpoint
- Filter by customer + 13 months date after fetching
2026-01-27 07:21:02 +01:00
Christian
b764224eff fix: Use /invoices/drafts endpoint instead of /sent
v1.3.142:
- Changed from /invoices/sent to /invoices/drafts
- /drafts contains most active invoices (29 vs 0 in /sent)
- Still applies pagination and 13-month filter
2026-01-27 07:20:01 +01:00
Christian
404e81a7a8 fix: Fetch all invoices then filter by customer
v1.3.141:
- Removed unsupported customer filter from API params
- Fetch all invoices from /invoices/sent with pagination
- Filter by customer number in code
- Apply 13-month date filter after customer filter
2026-01-27 07:18:36 +01:00
Christian
8d98e3f01c feat: Use customer filter in e-conomic API call
v1.3.140:
- Use /invoices/sent endpoint with customer.customerNumber filter
- More efficient: only fetch invoices for specific customer
- Apply 13-month date filter after fetching
- Simplified endpoint logic (single endpoint vs 8 endpoints)
2026-01-27 07:17:26 +01:00
Christian
2c524c9a05 fix: Apply date filter in code instead of API parameter
v1.3.139:
- Removed date filter from API params (causes 404 on some endpoints)
- Apply 13-month filter in code after fetching invoices
- Parse invoice dates and filter >= start_date
- More reliable filtering across all e-conomic endpoints
2026-01-27 07:15:44 +01:00
Christian
e0909d4586 fix: Fix month calculation bug in date filter
v1.3.138:
- Fixed ValueError: month must be in 1..12
- Use python-dateutil for proper month arithmetic
- Uses relativedelta for correct 13 month calculation
2026-01-27 07:14:40 +01:00
Christian
1bf04d45b1 feat: Extend invoice filter to 13 months for yearly items
v1.3.137:
- Changed from 12 to 13 months lookback
- Ensures yearly billed items are visible
- Example: Jan 27, 2026 -> fetches from Jan 1, 2025
2026-01-27 07:10:25 +01:00
Christian
86ad68c362 fix: Adjust date filter to 1st of month 12 months back
v1.3.136:
- Changed filter from 365 days to exactly 12 months
- Uses 1st day of the month 12 months ago
- Example: Jan 27, 2026 -> fetches from Feb 1, 2025
2026-01-27 07:09:50 +01:00
Christian
180933948f feat: Add 1-year filter + search to subscription matrix
v1.3.135:
- Added date filter to e-conomic API (only fetch invoices from last year)
- Implemented product search in billing matrix
- Shows/hides search field based on product count
- Real-time filtering with clear button
2026-01-27 07:08:09 +01:00
Christian
36e0f8b0f7 chore: Bump version to 1.3.134 2026-01-27 06:58:49 +01:00
Christian
ea062e10ae chore: Bump version to 1.3.133 2026-01-27 01:53:42 +01:00
Christian
c05b11387d chore: Bump version to 1.3.132 2026-01-27 01:46:46 +01:00
Christian
1845c9aea2 chore: Bump version to 1.3.131 2026-01-27 01:33:57 +01:00
Christian
89d378cf8a chore: bump version to 1.3.130 2026-01-27 01:19:20 +01:00
Christian
9c6834b9f6 chore: bump version to 1.3.129 2026-01-27 00:59:15 +01:00
Christian
3a19f8233e chore: bump version to 1.3.128 2026-01-27 00:49:36 +01:00
Christian
8ec12819f7 chore: bump version to 1.3.127 2026-01-27 00:34:57 +01:00
Christian
8ec457bba1 chore: bump version to 1.3.126 2026-01-26 17:17:21 +01:00
Christian
6de869c86a chore: bump version to 1.3.125 2026-01-26 17:07:25 +01:00
Christian
c9f04c77b4 chore: bump version to 1.3.124 2026-01-25 14:46:07 +01:00
Christian
5f603bdd2e chore: Bump version to 1.3.123 2026-01-06 13:17:36 +01:00
Christian
b03dd5c8f6 chore: Bump version to 1.3.122 2026-01-06 12:54:27 +01:00
Christian
5f486578c7 chore: Bump version to 1.3.121 2026-01-06 08:45:47 +01:00
Christian
373c4da57c chore: Bump version to 1.3.120 2026-01-06 08:43:39 +01:00
Christian
bd746b7f9c feat: Add BMC Office subscriptions Excel upload interface with auto customer mapping 2026-01-06 08:21:24 +01:00
Christian
da5ec19188 fix: Use execute_query instead of execute_query_single to return all customer contacts 2026-01-05 19:03:34 +01:00
Christian
935d2253f7 fix: Move order number from heading to otherReference field only 2026-01-05 18:56:24 +01:00
Christian
3195afe460 fix: Only use case_no from vtiger_data, never parse from vtiger_id (v1.3.116) 2026-01-05 17:17:46 +01:00
Christian
34ca9fca93 fix: Prioritize 'title' field over 'ticket_title' from vTiger (v1.3.115) 2026-01-05 17:16:44 +01:00
Christian
99eac06cfd fix: Wizard shows case title instead of case_no (v1.3.114) 2026-01-05 17:12:41 +01:00
Christian
0974f41bd1 feat: Add endpoint to fix empty case titles from vtiger_data (v1.3.113) 2026-01-05 17:06:44 +01:00
Christian
0b9765c5a2 fix: Use 'title' field from vTiger Cases as fallback for ticket_title (v1.3.112) 2026-01-05 16:56:28 +01:00
Christian
1ebb1fa2cd fix: Never use time descriptions as case title, only contact+date fallback (v1.3.111) 2026-01-05 16:52:58 +01:00
Christian
d99d542a24 fix: Use contact name + date as case title fallback (v1.3.110) 2026-01-05 16:44:18 +01:00
Christian
1e45ec70bf fix: Better case title fallback logic - use descriptions or 'Arbejde' (v1.3.109) 2026-01-05 16:43:16 +01:00
Christian
dfcb523e12 chore: Update VERSION to 1.3.108 2026-01-05 16:34:23 +01:00
Christian
031212ae82 chore: Update VERSION to 1.3.107 2026-01-05 16:08:51 +01:00
Christian
224ce5ec1a feat: Add timetracking approval columns migration (v1.3.84)
- Add migration 053 for approval columns
- Checks if columns exist before adding (safe)
- Adds: approved_hours, rounded_to, approval_note, billable, is_travel, approved_at, approved_by
- Adds indexes for status and approved_at
- Required for production deployment
2026-01-02 13:03:55 +01:00