fix(Items): Not display inactive items in sales and purchases.

fix(item): Prevent edit inventory account of item once item has transactions.
This commit is contained in:
a.bouhuolia
2021-03-24 11:10:58 +02:00
parent 96f20bf51b
commit 8646f3dcf9
5 changed files with 64 additions and 6 deletions

View File

@@ -178,6 +178,10 @@ export default class Item extends TenantModel {
relation: "items_categories.id",
relationColumn: "items_categories.name",
},
active: {
label: "Active",
column: "active",
},
// user: {
// label: 'User',
// column: 'user_id',