update migrations and create base migration. set discount and tax to sale invoices

This commit is contained in:
2026-05-28 16:39:07 +03:30
parent cd3492d625
commit a975f9d02a
55 changed files with 2152 additions and 2278 deletions
-63
View File
@@ -9,16 +9,6 @@ enum PaymentMethodType {
OTHER
}
enum UnitType {
COUNT
GRAM
KILOGRAM
MILLILITER
LITER
METER
HOUR
}
enum GoodPricingModel {
STANDARD
GOLD
@@ -50,18 +40,6 @@ enum BusinessRole {
OPERATOR
}
enum LicenseType {
BASIC
PRO
ENTERPRISE
}
enum LicenseStatus {
ACTIVE
EXPIRED
SUSPENDED
}
enum POSType {
PSP
MOBILE
@@ -69,11 +47,6 @@ enum POSType {
API
}
enum UserType {
LEGAL
INDIVIDUAL
}
enum AccountType {
ADMIN
PROVIDER
@@ -81,17 +54,6 @@ enum AccountType {
CONSUMER
}
enum UserStatus {
ACTIVE
INACTIVE
}
enum AccountRole {
OWNER
OPERATOR
ACCOUNTANT
}
enum AccountStatus {
ACTIVE
SUSPENDED
@@ -114,11 +76,6 @@ enum ProviderRole {
OPERATOR
}
enum ProviderStatus {
ACTIVE
SUSPENDED
}
enum ConsumerRole {
OWNER
MANAGER
@@ -130,11 +87,6 @@ enum ConsumerStatus {
SUSPENDED
}
enum TokenType {
ACCESS
REFRESH
}
enum ApplicationPlatform {
ANDROID
IOS
@@ -146,12 +98,6 @@ enum ApplicationReleaseType {
ALPHA
}
enum ApplicationPublisher {
DIRECT
CAFE_BAZAR
MAYKET
}
enum ConsumerType {
INDIVIDUAL
LEGAL
@@ -184,15 +130,6 @@ enum TspProviderRequestType {
RETURN
}
enum TspProviderCustomerType {
Unknown
Known
}
enum SKUGuildType {
GOLD
}
enum InvoiceTemplateType {
SALE
FX_SALE