Purchase orders
This commit is contained in:
parent
ee2dd672ca
commit
c41a7ed225
|
|
@ -48,7 +48,6 @@ class EntityType extends EnumClass {
|
|||
static const EntityType webhook = _$webhook;
|
||||
static const EntityType token = _$token;
|
||||
static const EntityType paymentTerm = _$paymentTerm;
|
||||
static const EntityType quoteItem = _$quoteItem;
|
||||
static const EntityType contact = _$contact;
|
||||
static const EntityType vendorContact = _$vendorContact;
|
||||
static const EntityType country = _$country;
|
||||
|
|
@ -155,6 +154,7 @@ class EntityType extends EnumClass {
|
|||
];
|
||||
case EntityType.vendor:
|
||||
return [
|
||||
EntityType.purchaseOrder,
|
||||
EntityType.expense,
|
||||
EntityType.recurringExpense,
|
||||
];
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ const EntityType _$subscription = const EntityType._('subscription');
|
|||
const EntityType _$webhook = const EntityType._('webhook');
|
||||
const EntityType _$token = const EntityType._('token');
|
||||
const EntityType _$paymentTerm = const EntityType._('paymentTerm');
|
||||
const EntityType _$quoteItem = const EntityType._('quoteItem');
|
||||
const EntityType _$contact = const EntityType._('contact');
|
||||
const EntityType _$vendorContact = const EntityType._('vendorContact');
|
||||
const EntityType _$country = const EntityType._('country');
|
||||
|
|
@ -114,8 +113,6 @@ EntityType _$typeValueOf(String name) {
|
|||
return _$token;
|
||||
case 'paymentTerm':
|
||||
return _$paymentTerm;
|
||||
case 'quoteItem':
|
||||
return _$quoteItem;
|
||||
case 'contact':
|
||||
return _$contact;
|
||||
case 'vendorContact':
|
||||
|
|
@ -181,7 +178,6 @@ final BuiltSet<EntityType> _$typeValues =
|
|||
_$webhook,
|
||||
_$token,
|
||||
_$paymentTerm,
|
||||
_$quoteItem,
|
||||
_$contact,
|
||||
_$vendorContact,
|
||||
_$country,
|
||||
|
|
|
|||
Loading…
Reference in New Issue