Modifier Category table added as a parent of modifiers

They are also linked to products / menu categroies as to which products they can be used on
The linking to menu categories is done in the frontend, database is linked directly to products
Treeview for menu categories yet to be done in modifier category detail form
This commit is contained in:
Amritanshu
2019-06-20 17:45:28 +05:30
parent 05f8058a15
commit e1c42d4470
34 changed files with 972 additions and 59 deletions

View File

@ -1,3 +1,5 @@
import {Product} from "./product";
export class MenuCategory {
id: string;
name: string;
@ -6,4 +8,6 @@ export class MenuCategory {
isActive: boolean;
isFixture: boolean;
sortOrder: number;
products: Product[];
enabled?: boolean;
}

View File

@ -14,4 +14,6 @@ export class Product {
quantity: number;
isActive: boolean;
sortOrder: number;
enabled?: boolean;
}