Commit Graph

54 Commits

Author SHA1 Message Date
Marshal
1f92a04ecf feat: add eTrade fields to company entity and onboarding process
- Added new fields to the Company entity: licenceNumber, statusDescription, dateRegistered, renewedFrom, renewalDate, renewedTo, region, zone, woreda, kebele, houseNo, and etradePhone.
- Updated onboarding wizard to include a new contact step and fetch company information from eTrade using TIN.
- Created ETradeInfo component to handle fetching and displaying eTrade data.
- Implemented ETradeService to interact with eTrade API and extract relevant company registration data.
- Added new DTOs for fetching eTrade data and handling responses.
- Updated CompanyProfileForm to integrate new fields and handle eTrade data.
- Created hooks for managing eTrade data fetching and error handling.
2026-06-20 10:27:41 +00:00
Marshal
54587a8c55 feat: add nationality selection and business license upload functionality
- Introduced a new step in the onboarding process to select company nationality (Ethiopian or Foreign).
- Updated API and service layers to handle nationality data for companies.
- Added support for uploading multiple business license files for each operational profile.
- Refactored company and forwarder forms to include new license upload step.
- Created a reusable RoleLicenseStep component for managing license file uploads.
- Implemented utility functions for phone number handling.
- Added migrations to update the database schema for nationality and business license files.
2026-06-20 08:28:01 +00:00
Marshal
9f5d287139 feat: implement onboarding process with draft company and profile creation 2026-06-19 22:50:24 +00:00
Marshal
19dea313b7 feat: implement onboarding wizard enhancements and resume functionality 2026-06-19 22:24:59 +00:00
Marshal
ed91f817ff feat: enhance onboarding process and company profile management
- Updated CompanyInfoResponseDto to include company profile data in response.
- Enhanced ResponseExternalProfileDto to include active profile type and onboarding details.
- Added new fields to ExternalProfile entity for active profile type and onboarding status.
- Implemented onboarding wizard dialog in the frontend to guide users through the onboarding process.
- Introduced API endpoints for managing company profiles and onboarding steps.
- Created migrations to add new columns for active mode and onboarding status in the database.
- Added functionality to switch between operational modes (importer/exporter) and create profiles as needed.
- Improved user experience by ensuring onboarding is enforced for new users and those without completed profiles.
2026-06-19 22:07:58 +00:00
marshal
ca5877d25a Merge branch 'freight/develop' of github.com:Tria-plc/edr-platform into freight_feature/priority 2026-06-19 15:58:36 +03:00
Nathnael Wondisha
1ea2f065c6 Merge branch 'freight/develop' into freight/feat/company-profile 2026-06-18 17:48:07 +03:00
Nathnael
c6179c046c feat(wip): up the settings onboaridng flow 2026-06-18 14:45:14 +00:00
Marshal
421e0266bc feat(train-scheduling): implement day-level booking pool
- Added `unplaced` method in `BookingNotifierService` to log warnings for bookings that cannot be placed on any train.
- Introduced `getAvailableDays` method in `TrainSchedulingService` to retrieve distinct days with open departures for a given route.
- Created `AvailableDaysQueryDto` for querying available days based on origin and destination yards.
- Updated `TrainSchedulingController` to expose an endpoint for available days.
- Modified frontend components to support day-level booking, allowing customers to select only a day without pinning to a specific train.
- Removed references to train schedules in booking forms and review steps, emphasizing day selection.
- Added a database migration to create an index for efficient querying of bookings by route and day.
2026-06-18 14:12:46 +00:00
ghost2023
e9149242b2 feat: setup the company profiles 2026-06-18 16:38:46 +03:00
marshal
8396b83f46 add price change confirmation modal and support document replacement for change-requested bookings 2026-06-17 22:23:48 +03:00
Marshal
7eb6228d31 feat: add shipment tracking feature with live updates
- Implemented tracking functionality for bookings, allowing users to track their shipments in real-time.
- Added new API endpoints for fetching tracking data.
- Created a ShipmentTrackingModal component to display tracking information, including current status, checkpoints, and estimated arrival times.
- Enhanced the booking detail view to include tracking options for eligible bookings.
- Updated the train scheduling service to include scheduled departure and arrival times in the response.
- Introduced utility functions for managing tracking stages and statuses.
2026-06-17 13:23:40 +00:00
Marshal
cd31f3612c Implement user-based booking access control and enhance booking filtering options 2026-06-17 12:35:29 +00:00
Marshal
7106a549ab Add signature management features for booking contracts
- Implement MySignatureCard component for viewing and updating saved signatures.
- Enhance BookingContractPage to utilize saved signatures for contract signing.
- Introduce hooks for fetching and saving user signatures.
- Update ContractView interface to include saved signature details.
- Create signatures service for API interactions related to user signatures.
2026-06-16 23:06:41 +00:00
marshal
e815b4d976 Refactor API base URL configuration to use centralized constant across applications 2026-06-16 23:06:46 +03:00
Nathnael
9afa23cc47 feat: add dashboard summary endpoint and related DTOs for company KPIs 2026-06-16 13:11:56 +00:00
Nathnael
16f16e7d7e fix: booking payment 2026-06-16 13:11:56 +00:00
ghost2023
6058b870a1 feat(train-scheduling): implement API and types for bookable schedules 2026-06-15 09:52:17 +03:00
ghost2023
df725015a1 fix(api): improve payment status API handling and frontend user experience 2026-06-08 08:51:54 +03:00
ghost2023
bc5e6f900c feat(WIP): booking payment integration 2026-06-06 12:07:18 +03:00
ghost2023
af6804eb91 feat(bookings): implement booking editing functionality 2026-06-06 11:45:53 +03:00
ghost2023
f77dd54390 feat: setup the recent booking endpoint and ui fixes 2026-06-05 11:36:13 +03:00
ghost2023
a991139cc2 feat(bookings): Integrate auto-pricing into DRAFT booking UI, and refactor customer-company relationships across services. 2026-06-05 10:27:21 +03:00
ghost2023
0184db9040 feat(bookings): Introduce DRAFT booking workflow with comprehensive features for pricing, document management, submission, and cancellation. 2026-06-05 09:51:13 +03:00
ghost2023
ac964bace8 feat(WIP): setting and upload logic 2026-06-04 15:40:38 +03:00
ghost2023
ad895d695e feat(companies): Introduce API endpoint and UI for company registration document uploads 2026-06-04 15:40:38 +03:00
ghost2023
8045415113 refactor: clean up 2026-06-04 15:40:38 +03:00
marshal
324935a334 implement booking flow 2026-06-04 15:24:18 +03:00
marshal
125ee18308 implement booking flow 2026-06-04 15:16:27 +03:00
ghost2023
f9357ed1b2 feat(api): Introduce dedicated company management API and service 2026-06-03 16:19:04 +03:00
ghost2023
243803fc29 feat(bookings): Integrate booking list and detail pages with API 2026-06-02 10:09:05 +03:00
ghost2023
c880e8c7f9 feat(api): Add endpoint for booking reference data 2026-06-01 16:39:11 +03:00
ghost2023
ff3cbed747 feat(freight): Introduce booking reference data endpoint & schemas 2026-06-01 16:39:11 +03:00
ghost2023
240fb505ec refactor(bookings): Streamline new booking process, integrate useAuth for customer data, and simplify API payloads 2026-05-28 16:27:22 +03:00
ghost2023
3e77f27a96 feat(onboarding): Introduce multi-step customer onboarding page, enhancing AuthLayout with dynamic class props and improving customer service for typed creation and graceful 404 handling. 2026-05-28 15:54:41 +03:00
ghost2023
0eaa1f93f3 feat(onboarding): Implement customer onboarding guard in App.tsx, redirecting unprofiled users to OnboardingPage, centralizing user and customer data management in useAuth with cookie-based auth. 2026-05-28 15:54:41 +03:00
ghost2023
53e8b40123 refactor(auth): Remove IAM library, implement custom cookie and local storage auth 2026-05-28 15:54:26 +03:00
ghost2023
6b2a341511 refactor(services): Consolidate user authentication logic and add customer API 2026-05-28 15:54:26 +03:00
yaschalew
8a7a56766f add onboarding 2026-05-26 10:15:59 +03:00
yaschalew
5a4d6baec2 user account create 2026-05-26 05:40:53 +03:00
ghost2023
dc41da3731 feat: wire up the create booking form 2026-05-23 11:54:13 +03:00
ghost2023
8a5652d7d9 feat(booking): Introduce comprehensive booking DTO, refine form validation, and enhance API docs 2026-05-23 11:21:17 +03:00
yaschalew
69db7cd960 Merge branch 'freight/develop' of github.com:Tria-plc/edr-platform into feature/file_settings 2026-05-22 20:12:47 +03:00
yaschalew
2c1ef13121 add user registrations 2026-05-22 20:12:04 +03:00
ghost2023
724a99a2fc chore: add the dropdown service to the api repo 2026-05-22 17:31:26 +03:00
ghost2023
74559bb7e6 fix 2026-05-21 10:08:02 +03:00
ghost2023
8ccd4f96a1 fix 2026-05-21 10:02:28 +03:00
yaschalew
c7347b88d7 customer registration api integration 2026-05-21 02:21:32 +03:00
yaschalew
fea308a6af improve endpoints 2026-05-21 01:11:51 +03:00
ghost2023
2a1cb9ebd9 refactor(api client): reuse the existing services instead 2026-05-20 16:40:19 +03:00