mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-13 03:10:31 +00:00
feat: add item & inventory adjustment ability.
This commit is contained in:
@@ -1,17 +1,80 @@
|
||||
export const AbilitySubject = {
|
||||
Item: 'Item',
|
||||
InventoryAdjustment: 'InventoryAdjustment',
|
||||
Inventory_Adjustment: 'Inventory_Adjustment',
|
||||
Estimate: 'Estimate',
|
||||
Invoice: 'Invoice',
|
||||
Receipt: 'Receipt',
|
||||
PaymentReceive: 'PaymentReceive',
|
||||
Bill: 'Bill',
|
||||
PaymentMade: 'PaymentMade',
|
||||
Customer: 'Customer',
|
||||
Vendor: 'Vendor',
|
||||
};
|
||||
|
||||
export const ItemAbility = {
|
||||
export const Item_Abilities = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const InventoryAdjustment = {
|
||||
View: 'view',
|
||||
export const Inventory_Adjustment_Abilities = {
|
||||
Create: 'create',
|
||||
View: 'view',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const SaleEstimate = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const SaleInvoice = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
BadDebt: 'bad-debt',
|
||||
};
|
||||
|
||||
export const SaleReceipt = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const PaymentReceive = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const Bill = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
export const PaymentMade = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
export const CustomerAbilities = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
export const VendorAbilities = {
|
||||
View: 'view',
|
||||
Create: 'create',
|
||||
Edit: 'edit',
|
||||
Delete: 'delete',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user