Purchase orders

This commit is contained in:
Hillel Coren 2022-06-16 12:59:40 +03:00
parent ee2dd672ca
commit c41a7ed225
2 changed files with 1 additions and 5 deletions

View File

@ -48,7 +48,6 @@ class EntityType extends EnumClass {
static const EntityType webhook = _$webhook; static const EntityType webhook = _$webhook;
static const EntityType token = _$token; static const EntityType token = _$token;
static const EntityType paymentTerm = _$paymentTerm; static const EntityType paymentTerm = _$paymentTerm;
static const EntityType quoteItem = _$quoteItem;
static const EntityType contact = _$contact; static const EntityType contact = _$contact;
static const EntityType vendorContact = _$vendorContact; static const EntityType vendorContact = _$vendorContact;
static const EntityType country = _$country; static const EntityType country = _$country;
@ -155,6 +154,7 @@ class EntityType extends EnumClass {
]; ];
case EntityType.vendor: case EntityType.vendor:
return [ return [
EntityType.purchaseOrder,
EntityType.expense, EntityType.expense,
EntityType.recurringExpense, EntityType.recurringExpense,
]; ];

View File

@ -36,7 +36,6 @@ const EntityType _$subscription = const EntityType._('subscription');
const EntityType _$webhook = const EntityType._('webhook'); const EntityType _$webhook = const EntityType._('webhook');
const EntityType _$token = const EntityType._('token'); const EntityType _$token = const EntityType._('token');
const EntityType _$paymentTerm = const EntityType._('paymentTerm'); const EntityType _$paymentTerm = const EntityType._('paymentTerm');
const EntityType _$quoteItem = const EntityType._('quoteItem');
const EntityType _$contact = const EntityType._('contact'); const EntityType _$contact = const EntityType._('contact');
const EntityType _$vendorContact = const EntityType._('vendorContact'); const EntityType _$vendorContact = const EntityType._('vendorContact');
const EntityType _$country = const EntityType._('country'); const EntityType _$country = const EntityType._('country');
@ -114,8 +113,6 @@ EntityType _$typeValueOf(String name) {
return _$token; return _$token;
case 'paymentTerm': case 'paymentTerm':
return _$paymentTerm; return _$paymentTerm;
case 'quoteItem':
return _$quoteItem;
case 'contact': case 'contact':
return _$contact; return _$contact;
case 'vendorContact': case 'vendorContact':
@ -181,7 +178,6 @@ final BuiltSet<EntityType> _$typeValues =
_$webhook, _$webhook,
_$token, _$token,
_$paymentTerm, _$paymentTerm,
_$quoteItem,
_$contact, _$contact,
_$vendorContact, _$vendorContact,
_$country, _$country,