yaschalew
e2bc5aab83
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 16:39:17 +03:00
natib21
814db8a17d
feat: fleet dashboard page
...
Shows fleet overview + key metrics:
- Total vehicles, active count
- Total fuel spending
- Total maintenance spending
- Average fuel efficiency
- Fleet status (active/idle/maintenance)
- Operating cost breakdown (fuel vs maintenance pie chart)
- Fleet vehicle list (first 10)
Route: /dashboard/fleet-dashboard
Sidebar: Added to Fleet Management section
Metrics aggregate from:
- /vehicles (fleet size)
- /fuel/stats (fuel spending + efficiency)
- /maintenance/stats (maintenance spending)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 13:38:35 +00:00
yaschalew
cb0deb0268
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 16:11:16 +03:00
natib21
8e0cc7d5ee
fix: vehicles data extraction in maintenance + financial pages
...
Both MaintenancePage and FinancialReportsPage were calling
vehiclesService.getAll() but not extracting res.data property.
Result was vehicles being undefined, causing .map error.
Fixed to match FuelPurchasePage pattern:
const res = await vehiclesService.getAll()
return res.data || []
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 13:10:47 +00:00
yaschalew
c455264da4
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 16:07:27 +03:00
natib21
373c0356f2
feat: maintenance + financial reports frontend
...
MaintenancePage:
- Schedule maintenance (PREVENTIVE/CORRECTIVE/INSPECTION/REPAIR)
- View upcoming by vehicle
- Modal form with date, cost, provider, notes
FinancialReportsPage:
- Aggregate fuel + maintenance costs
- Period selector (3/6/12 months)
- Cost breakdown (percentages, ring progress)
- Operating insights (purchases, efficiency, items, avg cost)
- Cost per month calculation
Routes:
- /dashboard/maintenance
- /dashboard/financial-reports
Sidebar:
- "Maintenance" in Fleet Management
- "Financial Reports" in Fleet Management
QUERY_KEYS:
- FUEL, MAINTENANCE, FINANCIAL_REPORTS cache patterns
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 12:41:23 +00:00
Nathnael
3eb4a24199
fix: terminal clearing int vite
2026-06-30 11:29:28 +00:00
ghost2023
48340f5e0a
fix: the hardcoded api url
2026-06-30 14:05:28 +03:00
ghost2023
9619fbd9b0
fix: the hardcoded api url
2026-06-30 13:58:57 +03:00
ghost2023
fdb77a7036
fix: testing the env
2026-06-30 13:49:52 +03:00
yaschalew
7c48f02a15
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 13:16:20 +03:00
natib21
f27f00d480
fix: use vehiclesService and add VEHICLES QUERY_KEYS
...
- Add VEHICLES to QUERY_KEYS constant
- Use vehiclesService.getAll() instead of direct API call
- Remove duplicate Vehicle type definitions
- Fix TypeScript type references
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 10:15:43 +00:00
yaschalew
dc3f6797c9
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 13:12:02 +03:00
natib21
3f81bb77ad
feat: add fuel management frontend pages
...
- FuelPurchasePage: Record fuel purchases, calculate total costs
- FuelStatsPage: View fuel consumption stats, efficiency metrics
- Routes: /dashboard/fuel-purchases and /dashboard/fuel-stats
- Sidebar menu items in Fleet Management section
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 10:11:13 +00:00
ghost2023
0f762172bf
fix: api url backoffice
2026-06-30 09:19:32 +03:00
ghost2023
004c40059f
fix: api url
2026-06-30 09:13:48 +03:00
hagiye
831ac59a8e
Merge branch 'dev' of github.com:Tria-plc/edr-platform into importhandover
2026-06-30 07:20:10 +03:00
hagiye
9f5c22c1ee
Goods recieved notes and Booking delivery
2026-06-30 07:19:12 +03:00
yaschalew
fc82c5c636
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 07:05:53 +03:00
natib21
360e61ac15
fix: use byId() instead of detail() in QUERY_KEYS
...
QUERY_KEYS.FIRST_MILE and QUERY_KEYS.LAST_MILE have byId() not detail().
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 04:04:56 +00:00
natib21
0bc9534172
fix: replace apiClient with api in FirstMilePage
...
Use correct import 'api' from '@/auth/http' instead of undefined 'apiClient'.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 04:03:29 +00:00
yaschalew
a3741c45bf
fix
2026-06-30 07:01:32 +03:00
natib21
b142552f17
Merge branch 'dev' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 03:46:26 +00:00
natib21
b1d9045d0b
fix: remove isPostPaymentCompleted filter check
...
Property removed from entities until migration creates column.
Temporarily skip this filter until feature is fully implemented.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 03:15:58 +00:00
marshal
d05f634948
Merge branch 'freight_feature/contrat' of github.com:Tria-plc/edr-platform into freight_feature/contrat
2026-06-30 05:22:10 +03:00
Marshal
a072f04450
Enhance contract and booking request handling
2026-06-30 02:20:32 +00:00
marshal
abce3da6ce
merge conflict
2026-06-30 05:17:56 +03:00
yaschalew
1193e2bfa9
fix commit
2026-06-29 18:35:51 +03:00
yaschalew
690753154f
fix
2026-06-29 18:29:24 +03:00
natib21
9b11eeb623
fix
2026-06-29 14:54:34 +00:00
natib21
6fa315db0f
fix
2026-06-29 14:45:22 +00:00
Nathnael
feae27d0c3
feat: improve the invoices in the portal
2026-06-29 14:26:25 +00:00
Nathnael Wondisha
4cf8e89780
Merge branch 'dev' into freight/feat/invoice
2026-06-29 17:24:29 +03:00
Nathnael
e9f9450b0f
fix: types
2026-06-29 14:10:10 +00:00
Nathnael
6d40d185d6
feat: setup the invoice page in the portal
2026-06-29 13:54:14 +00:00
marshal
69df391f90
Update payment service and API base URL for local development
2026-06-29 16:03:53 +03:00
marshal
d22fb6bb22
Merge pull request #338 from Tria-plc/freight_feature/contrat
...
payemnt
2026-06-29 15:10:57 +03:00
marshal
a83a686f37
payemnt
2026-06-29 15:09:19 +03:00
marshal
1795bb8830
Merge pull request #335 from Tria-plc/freight_feature/contrat
...
Freight feature/contrat
2026-06-29 15:07:25 +03:00
marshal
211301b7ce
Merge branch 'freight_feature/contrat' of github.com:Tria-plc/edr-platform into freight_feature/contrat
2026-06-29 15:06:23 +03:00
marshal
1491db304b
payemnt
2026-06-29 15:04:01 +03:00
yaschalew10
db7f0cb601
Merge pull request #334 from Tria-plc/freight/feature/last_mile_invoice
...
Freight/feature/last mile invoice
2026-06-29 15:03:00 +03:00
natib21
835facc65a
fix
2026-06-29 11:12:51 +00:00
Nathnael
c37e8acfdc
Merge branch 'dev' into freight/feat/invoice
2026-06-29 10:58:12 +00:00
hagiye
64cab3ecd0
Merge branch 'dev' of github.com:Tria-plc/edr-platform into handover
2026-06-29 13:49:25 +03:00
hagiye
9176df5e4b
Marshaling document Receive Export and import handover to customer
2026-06-29 13:48:58 +03:00
marshal
943a986b05
Merge pull request #332 from Tria-plc/freight_feature/contrat
...
Freight feature/contrat
2026-06-29 13:36:14 +03:00
Marshal
1c170ec790
remove unused import for PackageCheck in step2-service-type.tsx
2026-06-29 10:34:40 +00:00
Marshal
15a19053d9
Merge branch 'freight_feature/contrat' of github.com:Tria-plc/edr-platform into freight_feature/contrat
2026-06-29 10:27:16 +00:00
Marshal
6be461bb2f
add profile creation flow with license upload in NewContractPage
2026-06-29 10:25:06 +00:00