Skip to content

Commit 852ab73

Browse files
authored
Tender integration. First version of features (#163)
* Implement Tenders feature with routing, module, and component setup - Added a new route for 'tenders' in the app-routing module. - Created TendersModule to encapsulate tender-related components and routes. - Introduced TendersRoutes for managing tender navigation. - Developed TenderListComponent for displaying and managing tenders. - Added role constants for API and UI roles to facilitate role-based access. - Established Tender model to represent tender data structure. - Implemented CreateTenderModalComponent for creating and managing tender submissions. - Updated header component to include navigation to the new Tenders section. * Enhance Quote and Tender Management Features - Added a new grid template column for 16 columns in Tailwind configuration. - Refactored QuoteService to include HTTP options for API calls, ensuring consistent headers across requests. - Introduced new methods in QuoteService for managing tender-specific operations, including creating and retrieving tender quotes. - Updated TenderListComponent to accommodate changes in quote structure and display additional information. - Implemented provider service for fetching provider data, enhancing the tender creation process. - Enhanced CreateTenderModalComponent to support editing existing tenders and loading provider data dynamically. * removed "rejected" from quote list filters
1 parent e127a8d commit 852ab73

12 files changed

Lines changed: 3418 additions & 17 deletions

File tree

src/app/app-routing.module.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ const routes: Routes = [
9393
component: QuoteListComponent,
9494
canActivate: [AuthGuard, quoteGuardGuard], data: { roles: [] }
9595
},
96+
{
97+
path: 'tenders',
98+
loadChildren: () => import('./features/tenders/tenders.module').then(m => m.TendersModule),
99+
canActivate: [AuthGuard, quoteGuardGuard],
100+
data: { roles: [] }
101+
},
96102
{
97103
path: 'usage-spec',
98104
component: UsageSpecsComponent,

src/app/features/quotes/pages/quote-list/quote-list.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ import { LoginInfo } from 'src/app/models/interfaces';
7676
<option value="pending">Pending</option>
7777
<option value="inProgress">In Progress</option>
7878
<option value="approved">Approved</option>
79-
<option value="rejected">Rejected</option>
8079
<option value="cancelled">Cancelled</option>
8180
<option value="accepted">Accepted</option>
8281
</select>

0 commit comments

Comments
 (0)