feat: Add support in BE for setting tax inclusivity on currency (#8037)
This commit is contained in:
1 parent
4c89f91caf
commit
00a6e512dc
15 files changed
+287
-37
No files matched your search
@@ -196,7 +196,9 @@ export default class StoreModuleService
|
||||
)
|
||||
}
|
||||
|
||||
private static validateCreateRequest(stores: StoreTypes.CreateStoreDTO[]) {
|
||||
private static validateCreateRequest(
|
||||
stores: StoreTypes.CreateStoreDTO[] | StoreTypes.UpdateStoreDTO[]
|
||||
) {
|
||||
for (const store of stores) {
|
||||
if (store.supported_currencies?.length) {
|
||||
const duplicates = getDuplicates(
|
||||
|
||||
Reference in new issue
Block a user