Allow editing of product version with the right permission.

This commit is contained in:
2021-09-04 12:52:05 +05:30
parent f929a731cb
commit 4a12ee0834
11 changed files with 370 additions and 196 deletions

View File

@ -5,6 +5,7 @@ import { Tax } from './tax';
export class Product {
id: string | undefined;
versionId?: string;
code: number;
name: string;
units: string;
@ -20,6 +21,9 @@ export class Product {
enabled: boolean;
tax: Tax;
validFrom?: string;
validTill?: string;
public constructor(init?: Partial<Product>) {
this.id = undefined;
this.code = 0;