feat: implement stock keeping unit management form and list components
- Added StockKeepingUnitFormComponent for creating and editing stock keeping units. - Introduced StockKeepingUnitsComponent for listing stock keeping units with pagination. - Integrated form fields for code, name, VAT, and SKU type in the stock keeping unit form. - Created API routes for stock keeping units with CRUD operations. - Updated input components to handle numeric and price types with Persian/Arabic digit normalization. - Enhanced key-value component to support tag display instead of badge. - Adjusted layout styles for sidebar menu. - Added AGENT.md for repository-specific coding guidelines and practices. - Implemented good management form with file upload and category selection.
This commit is contained in:
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
|
||||
import { Component, computed, inject, Input, TemplateRef } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { MenuItem } from 'primeng/api';
|
||||
import { Button, ButtonIcon } from 'primeng/button';
|
||||
import { Button } from 'primeng/button';
|
||||
import { MenuModule } from 'primeng/menu';
|
||||
import { StyleClassModule } from 'primeng/styleclass';
|
||||
import { Toolbar } from 'primeng/toolbar';
|
||||
@@ -13,8 +13,11 @@ import { LayoutService } from '../service/layout.service';
|
||||
@Component({
|
||||
selector: 'app-topbar',
|
||||
standalone: true,
|
||||
imports: [RouterModule, CommonModule, StyleClassModule, MenuModule, Button, Toolbar, ButtonIcon],
|
||||
imports: [RouterModule, CommonModule, StyleClassModule, MenuModule, Button, Toolbar],
|
||||
templateUrl: './app.topbar.component.html',
|
||||
host: {
|
||||
class: 'sticky top-0 z-50',
|
||||
},
|
||||
})
|
||||
export class AppTopbar {
|
||||
@Input() showMenu: boolean = false;
|
||||
|
||||
Reference in New Issue
Block a user