feat: Add inventory management pages with enhanced features
- Add Nhập kho (Import) page (/product-list-2): * Display product, code, import price, import quantity, import date * Smart date-based CSS styling (green/yellow/blue/red by time) * Import date loads from record.createdDate * Remove all checkboxes and selection features * Custom pagination and search functionality - Add Tồn kho (Inventory) page (/product-list-3): * Display total imported, total exported, current stock by product code * Remove warehouse location column * Smart CSS styling by data type (green/yellow/blue/purple) * Mockup data with 5 sample products * Inventory value calculation (stock × unit price) - Update routing and sidebar: * Add routes for both new pages * Add menu items in inventory section * Archive icon for inventory page - Enhanced UI/UX: * Beautiful badge styling with hover effects * Responsive design and loading states * Vietnamese localization * Hide Ant Design pagination and checkboxes completely
This commit is contained in:
@@ -199,6 +199,8 @@ import ProjectTracker from "../feature-module/projects/projecttracker";
|
||||
import CreateProject from "../feature-module/projects/createproject";
|
||||
import EnhancedLoaders from "../feature-module/uiinterface/enhanced-loaders";
|
||||
import WeddingGuestList from "../feature-module/inventory/weddingGuestList";
|
||||
import ProductList2 from "../feature-module/inventory/productlist2";
|
||||
import ProductList3 from "../feature-module/inventory/productlist3";
|
||||
import { all_routes } from "./all_routes";
|
||||
export const publicRoutes = [
|
||||
{
|
||||
@@ -215,6 +217,20 @@ export const publicRoutes = [
|
||||
element: <ProductList />,
|
||||
route: Route,
|
||||
},
|
||||
{
|
||||
id: 2.1,
|
||||
path: routes.productlist2,
|
||||
name: "products2",
|
||||
element: <ProductList2 />,
|
||||
route: Route,
|
||||
},
|
||||
{
|
||||
id: 2.2,
|
||||
path: routes.productlist3,
|
||||
name: "products3",
|
||||
element: <ProductList3 />,
|
||||
route: Route,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
path: routes.addproduct,
|
||||
|
||||
Reference in New Issue
Block a user