natib21
e4b0c73c63
fix fayda
2026-07-03 09:10:05 +00:00
natib21
eb5d8a7411
fix
2026-07-02 14:42:04 +00:00
natib21
2424e96e74
fix
2026-07-02 14:34:22 +00:00
natib21
e5fed081fc
fix
2026-07-02 14:27:09 +00:00
natib21
7d85f5dc2e
fix
2026-07-02 14:18:53 +00:00
natib21
c2c29f0735
fix
2026-07-02 14:14:13 +00:00
natib21
34b87bbcee
fix
2026-07-02 14:06:45 +00:00
natib21
d8f1ed8899
fix issue
2026-07-02 13:44:19 +00:00
natib21
c8b7d76073
fix
2026-07-02 12:50:49 +00:00
natib21
43a32f192f
fix
2026-07-02 12:47:10 +00:00
natib21
58b3805d0b
fix
2026-07-02 12:43:03 +00:00
natib21
657f3bd2ab
fix
2026-07-02 12:39:47 +00:00
natib21
adde596289
fix
2026-07-02 11:32:16 +00:00
natib21
ff7e20d2ee
fix
2026-07-02 11:22:35 +00:00
natib21
bab329e8e5
fix
2026-07-02 10:57:35 +00:00
natib21
e59a8f9802
fix delete api
2026-07-02 10:54:43 +00:00
natib21
f4f98575f1
fix error
2026-07-02 10:48:31 +00:00
natib21
4519a1d75d
fix
2026-07-02 10:33:32 +00:00
natib21
1c88bd8d68
fix
2026-07-02 10:27:01 +00:00
natib21
e0010695be
fix
2026-07-02 09:41:52 +00:00
natib21
07abe9b679
fix
2026-07-02 08:51:21 +00:00
yaschalew
8b8a993953
fix conflict
2026-07-02 09:28:02 +03:00
ghost2023
43d1634823
feat: add payment modal to the invoice detail page
2026-07-01 16:11:32 +03:00
ghost2023
1754c18ede
fix: apiconfig
2026-07-01 14:46:24 +03:00
ghost2023
fbda15bac8
Merge branch 'dev' into freight/feat/invoice
2026-07-01 14:40:58 +03:00
Nathnael
e5aab84f51
feat: ui changes and pdf setup on the clients
2026-07-01 06:56:58 +00:00
yaschalew
21407cc1ba
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 18:25:13 +03:00
natib21
22eedf05f3
fix
2026-06-30 15:24:36 +00:00
yaschalew
5bc0d901ff
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:29:17 +03:00
natib21
17a6d846a4
fix: show multiple vehicles on tracking map for demo
...
Changed from filtering by ACTIVE status to showing first 10 vehicles.
Ensures at least 2+ car icons visible on map for testing.
Changes:
- trackableVehicles: first 10 vehicles instead of ACTIVE filter
- Map markers: shows all trackable vehicles
- Badge: "Tracked" count instead of "Active"
- Vehicle list: "Tracked Vehicles (count)" instead of "Active Vehicles"
Enables demo of map functionality with actual fleet data.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:28:44 +00:00
yaschalew
8fc94a1eae
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:27:07 +03:00
natib21
8be47f98a9
feat: show only active vehicles on tracking map
...
Filter vehicles to status === 'ACTIVE':
- Map markers: only active vehicles displayed
- Vehicle dropdown: only active vehicles selectable
- All vehicles list: renamed to "Active Vehicles (count)"
- All use activeVehicles useMemo computed from vehiclesWithGPS
Inactive vehicles (maintenance, idle, etc.) hidden from tracking view.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:26:35 +00:00
yaschalew
e10e7ee7bd
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:24:20 +03:00
natib21
fea869a19c
feat: display vehicle name instead of ID in fuel purchases table
...
Backend:
- FuelService.getAllFuelPurchases() now loads vehicle relationship
- Uses leftJoinAndSelect to eagerly load Vehicle data
- Returns complete FuelPurchase with nested vehicle object
Frontend:
- Table displays vehicle.registrationNumber (primary)
- Falls back to vehicle.plateNumber if registration unavailable
- Falls back to vehicleId as last resort
Better UX: shows human-readable vehicle info instead of UUID.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:23:54 +00:00
yaschalew
14f1db631a
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:21:50 +03:00
natib21
67ba168a22
fix: convert numeric strings to numbers in fuel calculations
...
Problem:
- purchasesData from API returns numeric columns as strings
- Calling .toFixed() on strings throws "toFixed is not a function"
- Occurs in stats cards and table rows
Solution:
- Wrap p.liters, p.costPerLiter, p.totalCost in Number() before calculations
- Total Liters stat card: sum + Number(p.liters)
- Total Cost stat card: sum + Number(p.totalCost)
- Avg Price/L stat card: use Number() on both divisor and dividend
- Table rows: Number(purchase.liters).toFixed(2), etc.
Fixes render error in FuelPurchasePage when loading fuel purchases list.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:21:16 +00:00
yaschalew
0294086aec
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:15:38 +03:00
natib21
ea8198f8a8
style: reduce horizontal padding on fleet dashboards
...
Add px="lg" (24px) to all Container components:
- FleetDashboard
- FuelPurchasePage
- FuelStatsPage
- MaintenancePage
- FinancialReportsPage
- TrackingPage
Reduces left/right padding from default to 24px,
making better use of horizontal screen space.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:13:58 +00:00
yaschalew
bdd5198dfa
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:09:19 +03:00
natib21
2e1c720b86
feat: add vehicle tracking/GPS map
...
New TrackingPage with:
- Interactive map grid showing vehicle locations
- Real-time GPS coordinates (mock data)
- Vehicle speed & heading display
- Vehicle selector dropdown
- Live status indicators
- All vehicles list with speed
- Click-to-track functionality
- Location details sidebar:
* Latitude/Longitude
* Current speed
* Heading direction
* Last update timestamp
* View history button
Features:
- Grid-based map (no external dependencies)
- Vehicle markers (color-coded selected/inactive)
- SVG grid background (lat/lng lines)
- Responsive layout (map + sidebar)
- Mantine UI + brand colors
- Mock GPS generation per vehicle
Route: /dashboard/tracking
Sidebar: "Track Vehicles" in Fleet Management
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 14:08:21 +00:00
hagiye
38db9a4177
Delivery approval customer handover signature
2026-06-30 17:05:53 +03:00
yaschalew
3c4e5b283a
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 17:00:02 +03:00
natib21
69d1d3073f
style: standardize dashboard padding
...
All fleet pages now use consistent layout:
- Container size: xl
- Vertical padding: xl
Pages updated:
- FleetDashboard: size="xl" py="xl" (unchanged)
- FuelPurchasePage: lg → xl
- FuelStatsPage: lg → xl
- MaintenancePage: Added Container wrapper (xl, xl)
- FinancialReportsPage: Added Container wrapper (xl, xl)
Uniform spacing across all fleet management dashboards.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 13:59:20 +00:00
hagiye
98d1065f11
Merge branch 'dev' of github.com:Tria-plc/edr-platform into importhandover
2026-06-30 16:53:54 +03:00
yaschalew
ca827c54a0
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 16:53:37 +03:00
natib21
5af7f0606b
style: apply consistent branding across fleet pages
...
Import freightBrand theme from @/theme/freight-brand
Color updates:
- Primary buttons: color="edr-green"
- Stat cards: top border #1B9E7A (freightBrand.primary)
- Status badges:
* Active/Completed: edr-green
* In Progress: edr-amber-soft
* Maintenance: edr-amber-soft
* Overdue: edr-red
* Unassigned: edr-slate
- Ring progress:
* Fuel: edr-accent (#F2A516)
* Maintenance: edr-red
- Progress bars: edr-green, edr-red, edr-amber-soft
- Icons: Use edr-green, edr-blue, edr-accent, edr-red per metric
Pages updated:
- FleetDashboard: All metrics, progress bars, badges
- FuelPurchasePage: Record button
- MaintenancePage: Schedule button, badges
- FinancialReportsPage: Ring progress colors
Consistent palette across all fleet pages.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 13:52:27 +00:00
hagiye
156747f42f
Approve delivery button for customer to sign or acknowlegde delivery
2026-06-30 16:48:08 +03:00
yaschalew
13a175a1ef
Merge branch 'freight/hot_fix' of github.com:Tria-plc/edr-platform into freight/hot_fix
2026-06-30 16:47:36 +03:00
natib21
6a4a3d464a
improve: fleet dashboard UI + add drivers
...
UI Improvements:
- Better card design with gradient icons
- Added title + description section
- Improved stat card layout (gradient backgrounds)
- Added change percentage badges
- Better color scheme (blue, cyan, orange, red)
- Striped + highlight on hover for tables
- Tab interface for vehicles/drivers
Driver Management:
- Fetch drivers from /drivers API
- Display driver list in table
- Show driver name, license, contact info
- Display assigned/unassigned status
- Count total drivers + assigned drivers in metrics
Metrics now show:
1. Total Vehicles
2. Total Drivers (NEW)
3. Fuel Spend
4. Maintenance Spend
5. Status breakdowns
6. Cost breakdown pie chart
Tabs show:
- Vehicles with registration, plate, model, status
- Drivers with name, license, contact, assignment
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-06-30 13:46:58 +00:00
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