This commit is contained in:
2026-06-14 22:00:59 +03:30
parent dad6b0b82c
commit aec64397aa
6 changed files with 91 additions and 21 deletions
+3 -3
View File
@@ -236,7 +236,7 @@ import type { Product } from '@/models/products'
import { useFundUserStore } from '@/store/fundStore'
import {useConfigStore} from "@/store/configStore";
import { calcFeeInGrams, loadServiceFeeFromSettings } from '@/utils/serviceFee'
import { isStoreClosed, STORE_CLOSED_MESSAGE } from '@/utils/storeHours'
import { isStoreClosed, getStoreClosedMessage } from '@/utils/storeHours'
import { formatCashWalletBalanceText, getWeightUnit } from '@/utils/productDealMethod'
import { formatProductWalletBalanceText, getCashWalletBalance, getProductInventoryQuantity } from '@/utils/productAssets'
import { useWalletAssets } from '@/composables/useWalletAssets'
@@ -636,7 +636,7 @@ async function initPrice() {
function okConfirm() {
if (isStoreClosed()) {
message.warning(STORE_CLOSED_MESSAGE)
message.warning(getStoreClosedMessage())
return
}
if (cashValidationMessage.value) {
@@ -648,7 +648,7 @@ function okConfirm() {
async function ok() {
if (isStoreClosed()) {
message.warning(STORE_CLOSED_MESSAGE)
message.warning(getStoreClosedMessage())
return
}
try {