@feedmepos/mf-order-setting 0.0.102 → 0.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DisplaySystemView-jnt6letY.js → DisplaySystemView-BBiZqcWq.js} +1497 -1468
- package/dist/{FoodCourtInvitationsView-DoynqFWB.js → FoodCourtInvitationsView-DwOkVs9m.js} +4 -4
- package/dist/{FoodCourtOrderSettingsView-DYZLhTHy.js → FoodCourtOrderSettingsView-C9Ag5Bsg.js} +1 -1
- package/dist/FoodCourtOrdersView-y4EwK3sn.js +1173 -0
- package/dist/{FoodCourtStallsView-CRMTt5BB.js → FoodCourtStallsView-Bi8H-yR7.js} +2 -2
- package/dist/{FoodCourtStatusView-C-b-eI-8.js → FoodCourtStatusView-jugAzTKg.js} +1 -1
- package/dist/KioskDevicesView-CYiew4X5.js +4 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-BCvbeo7R.js +1497 -0
- package/dist/KioskSettingView-AKBiij9a.js +1124 -0
- package/dist/KioskView-zKB6mC8I.js +765 -0
- package/dist/{OrderSettingsView-BBCnekaj.js → OrderSettingsView-CoV_yX3m.js} +22064 -21635
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-KSMU_jGl.js} +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-Dvk30CIa.js → app-CmuI6uSl.js} +3589 -2902
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DUFHhM7O.js → dayjs.min-B3MssMma.js} +1 -1
- package/dist/{featureFlag-BvcirzHS.js → featureFlag-CWvkPOBY.js} +123 -130
- package/dist/frontend/mf-order/src/api/food-court/index.d.ts +51 -0
- package/dist/frontend/mf-order/src/api/kiosk/index.d.ts +4 -0
- package/dist/frontend/mf-order/src/api/payment/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/api/queue/index.d.ts +13 -0
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +9 -1
- package/dist/frontend/mf-order/src/app.d.ts +687 -0
- package/dist/frontend/mf-order/src/main.d.ts +687 -0
- package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +5 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +4 -0
- package/dist/frontend/mf-order/src/modules/kiosk/license.d.ts +92 -0
- package/dist/frontend/mf-order/src/modules/kiosk/outletLoad.d.ts +15 -0
- package/dist/frontend/mf-order/src/modules/kiosk/settingsSections.d.ts +24 -0
- package/dist/frontend/mf-order/src/modules/kiosk/useKioskSettings.d.ts +29 -0
- package/dist/frontend/mf-order/src/modules/payment/paymentDevice.d.ts +58 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +67 -1
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +19 -10
- package/dist/frontend/mf-order/src/stores/payment/index.d.ts +59 -1
- package/dist/frontend/mf-order/src/views/food-court/food-court-export.d.ts +38 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +7 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicenseSummary.vue.d.ts +7 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicensesView.vue.d.ts +6 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskPaymentDeviceCard.vue.d.ts +17 -0
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +0 -9
- package/dist/frontend/mf-order/src/views/order-settings/pos-status/PosOrderingStatus.vue.d.ts +17 -0
- package/dist/frontend/mf-order/src/views/order-settings/pos-status/pos-status.d.ts +44 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/called-message.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/phone-join-mode.d.ts +25 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-C4n5H7t3.js → index-BQa8AudZ.js} +3 -3
- package/dist/index-CMOvrim4.js +147 -0
- package/dist/{index-CW4VlFWz.js → index-D5qh2_4b.js} +1 -1
- package/dist/{index-C5n6lil6.js → index-Dup6kWLX.js} +6 -6
- package/dist/{index-CGxCWKHB.js → index-wuFIsXHT.js} +188 -179
- package/dist/{order.dto-Cb_gh3iB.js → order.dto-BD9raQG5.js} +2782 -2735
- package/dist/package/entity/display/blocks.d.ts +12 -2
- package/dist/package/entity/marketing/marketing.dto.d.ts +18 -18
- package/dist/package/entity/order-platform/external/reconciliation/external-reconciliation.do.d.ts +24 -24
- package/dist/package/entity/order-platform/menu.dto.d.ts +20 -20
- package/dist/package/entity/order-setting/order-setting.do.d.ts +10 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +26 -0
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +23 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +14 -0
- package/dist/package/entity/queue/queue.do.d.ts +153 -0
- package/dist/package/entity/queue/queue.dto.d.ts +221 -2
- package/dist/package/entity/queue/queue.enum.d.ts +5 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +20 -0
- package/dist/style.css +1 -1
- package/dist/{index-ILnighyU.js → useInternalUser-CHtaur9A.js} +93 -81
- package/package.json +2 -1
- package/src/api/food-court/index.ts +63 -0
- package/src/api/kiosk/index.ts +8 -0
- package/src/api/payment/index.ts +18 -1
- package/src/api/queue/index.ts +39 -0
- package/src/api/restaurant-setting/index.ts +14 -0
- package/src/locales/en-US.json +197 -26
- package/src/locales/ja-JP.json +193 -23
- package/src/locales/th-TH.json +193 -21
- package/src/locales/zh-CN.json +197 -23
- package/src/modules/display-system/interface.spec.ts +26 -1
- package/src/modules/display-system/interface.ts +20 -0
- package/src/modules/kiosk/interface.ts +4 -0
- package/src/modules/kiosk/license.spec.ts +167 -0
- package/src/modules/kiosk/license.ts +175 -0
- package/src/modules/kiosk/outletLoad.spec.ts +25 -0
- package/src/modules/kiosk/outletLoad.ts +19 -0
- package/src/modules/kiosk/settingsSections.spec.ts +85 -0
- package/src/modules/kiosk/settingsSections.ts +82 -0
- package/src/modules/kiosk/useKioskSettings.spec.ts +157 -0
- package/src/modules/kiosk/useKioskSettings.ts +61 -0
- package/src/modules/payment/paymentDevice.spec.ts +175 -0
- package/src/modules/payment/paymentDevice.ts +156 -0
- package/src/stores/kiosk/index.ts +16 -1
- package/src/stores/kiosk/mapper.ts +2 -0
- package/src/stores/order-setting/index.spec.ts +83 -0
- package/src/stores/order-setting/index.ts +49 -27
- package/src/stores/payment/index.spec.ts +86 -0
- package/src/stores/payment/index.ts +48 -2
- package/src/views/display-system/DisplayInspector.vue +17 -8
- package/src/views/display-system/DisplayTemplateEditor.vue +3 -1
- package/src/views/food-court/FoodCourtOrdersView.vue +46 -1
- package/src/views/food-court/food-court-export.spec.ts +151 -0
- package/src/views/food-court/food-court-export.ts +283 -0
- package/src/views/kiosk/KioskStatePanel.vue +2 -2
- package/src/views/kiosk/KioskView.vue +219 -82
- package/src/views/kiosk/devices/KioskDeviceCard.vue +148 -23
- package/src/views/kiosk/devices/KioskDevicesView.vue +48 -10
- package/src/views/kiosk/devices/KioskLicenseSummary.vue +79 -0
- package/src/views/kiosk/devices/KioskLicensesView.vue +152 -0
- package/src/views/kiosk/devices/KioskOtpDialog.vue +41 -1
- package/src/views/kiosk/devices/KioskPaymentDeviceCard.spec.ts +97 -0
- package/src/views/kiosk/devices/KioskPaymentDeviceCard.vue +221 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +1 -1
- package/src/views/kiosk/settings/KioskSettingView.vue +702 -419
- package/src/views/order-settings/delivery/DeliverySetting.vue +4 -0
- package/src/views/order-settings/dine-in/DineInSetting.vue +4 -0
- package/src/views/order-settings/pickup/PickUpSetting.vue +4 -4
- package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +0 -23
- package/src/views/order-settings/pos-status/PosOrderingStatus.spec.ts +207 -0
- package/src/views/order-settings/pos-status/PosOrderingStatus.vue +209 -0
- package/src/views/order-settings/pos-status/pos-status.spec.ts +103 -0
- package/src/views/order-settings/pos-status/pos-status.ts +86 -0
- package/src/views/order-settings/queue/QueueSetting.source.spec.ts +43 -0
- package/src/views/order-settings/queue/QueueSetting.vue +289 -15
- package/src/views/order-settings/queue/called-message.spec.ts +29 -1
- package/src/views/order-settings/queue/called-message.ts +18 -0
- package/src/views/order-settings/queue/phone-join-mode.spec.ts +90 -0
- package/src/views/order-settings/queue/phone-join-mode.ts +49 -0
- package/dist/FoodCourtOrdersView-CAPOycT3.js +0 -544
- package/dist/KioskDevicesView-B0U9JxRl.js +0 -4
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js +0 -937
- package/dist/KioskSettingView-rdom_aS8.js +0 -880
- package/dist/KioskView-DOON9zR6.js +0 -516
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +0 -10
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +0 -15
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +0 -10
- package/dist/index-CaHG3M7C.js +0 -135
- package/src/views/kiosk/settings/KioskDisplayStandSection.vue +0 -189
- package/src/views/kiosk/settings/KioskInstructionSection.vue +0 -40
- package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +0 -68
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="w-full border p-[1.5rem] fm-corner-radius-lg flex flex-col gap-4"
|
|
4
|
+
data-testid="payment-device-card"
|
|
5
|
+
>
|
|
6
|
+
<div class="flex items-center justify-between gap-2 flex-wrap">
|
|
7
|
+
<span class="fm-typo-en-title-sm-600">{{ t('order.paymentDevice') }}</span>
|
|
8
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-tertiary">
|
|
9
|
+
{{ t('order.paymentDeviceStaffOnly') }}
|
|
10
|
+
</span>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div
|
|
14
|
+
v-if="loading"
|
|
15
|
+
class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
16
|
+
data-testid="payment-device-loading"
|
|
17
|
+
>
|
|
18
|
+
{{ t('order.paymentDeviceLoading') }}
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div
|
|
22
|
+
v-else-if="loadError"
|
|
23
|
+
class="flex items-center justify-between gap-2 flex-wrap"
|
|
24
|
+
data-testid="payment-device-error"
|
|
25
|
+
>
|
|
26
|
+
<span class="flex items-center gap-2 fm-typo-en-body-sm-400 text-fm-color-system-error-300">
|
|
27
|
+
<FmIcon name="error_outline" size="sm" class="shrink-0" />
|
|
28
|
+
{{ t('order.paymentDeviceLoadError') }}
|
|
29
|
+
</span>
|
|
30
|
+
<FmButton variant="tertiary" size="md" :label="t('order.retry')" @click="emit('retry')" />
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<template v-else-if="!paymentDevice">
|
|
34
|
+
<div class="flex flex-col gap-2" data-testid="payment-device-missing">
|
|
35
|
+
<span class="flex items-center gap-2 fm-typo-en-body-md-400 text-fm-color-typo-primary">
|
|
36
|
+
<FmIcon name="link_off" size="sm" class="shrink-0 text-fm-color-typo-secondary" />
|
|
37
|
+
{{ t('order.paymentDeviceNotLinked') }}
|
|
38
|
+
</span>
|
|
39
|
+
<div class="flex flex-col gap-1">
|
|
40
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">
|
|
41
|
+
{{ t('order.paymentDeviceExpectedId') }}
|
|
42
|
+
</span>
|
|
43
|
+
<button
|
|
44
|
+
type="button"
|
|
45
|
+
class="text-left fm-typo-en-body-md-600 text-fm-color-typo-primary font-mono text-sm break-all flex items-center gap-1 group"
|
|
46
|
+
:title="t('order.clickToCopy')"
|
|
47
|
+
@click="copy(expectedDeviceId)"
|
|
48
|
+
>
|
|
49
|
+
{{ expectedDeviceId }}
|
|
50
|
+
<FmIcon
|
|
51
|
+
name="content_copy"
|
|
52
|
+
size="sm"
|
|
53
|
+
class="shrink-0 text-fm-color-typo-tertiary opacity-0 group-hover:opacity-100 transition-opacity"
|
|
54
|
+
/>
|
|
55
|
+
</button>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
|
|
60
|
+
<template v-else>
|
|
61
|
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-4" data-testid="payment-device-found">
|
|
62
|
+
<div class="flex flex-col gap-1">
|
|
63
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">{{ t('order.paymentDeviceStatus') }}</span>
|
|
64
|
+
<span>
|
|
65
|
+
<FmChip
|
|
66
|
+
compact
|
|
67
|
+
:variant="paymentDevice.status === 'Active' ? 'success' : 'plain'"
|
|
68
|
+
:label="paymentDevice.status ?? t('order.notSet')"
|
|
69
|
+
/>
|
|
70
|
+
</span>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="flex flex-col gap-1">
|
|
73
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">{{ t('order.paymentDeviceName') }}</span>
|
|
74
|
+
<span class="fm-typo-en-body-md-600 text-fm-color-typo-primary break-all">
|
|
75
|
+
{{ paymentDevice.name ?? t('order.notSet') }}
|
|
76
|
+
</span>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="flex flex-col gap-1">
|
|
79
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">{{ t('order.paymentDeviceId') }}</span>
|
|
80
|
+
<span class="fm-typo-en-body-md-600 text-fm-color-typo-primary break-all font-mono text-sm">
|
|
81
|
+
{{ paymentDevice.id }}
|
|
82
|
+
</span>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="flex flex-col gap-1">
|
|
85
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">{{ t('order.paymentDeviceDeviceId') }}</span>
|
|
86
|
+
<span class="fm-typo-en-body-md-600 text-fm-color-typo-primary break-all font-mono text-sm">
|
|
87
|
+
{{ paymentDevice.deviceId }}
|
|
88
|
+
</span>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div class="flex flex-col gap-3" data-testid="payment-device-gateways">
|
|
93
|
+
<div
|
|
94
|
+
v-for="row in gatewayRows"
|
|
95
|
+
:key="row.key"
|
|
96
|
+
class="flex flex-col gap-1"
|
|
97
|
+
>
|
|
98
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">{{ row.label }}</span>
|
|
99
|
+
<span
|
|
100
|
+
v-if="row.values.length === 0"
|
|
101
|
+
class="fm-typo-en-body-md-400 text-fm-color-typo-tertiary"
|
|
102
|
+
>
|
|
103
|
+
{{ t('order.paymentDeviceNone') }}
|
|
104
|
+
</span>
|
|
105
|
+
<span
|
|
106
|
+
v-for="value in row.values"
|
|
107
|
+
:key="value"
|
|
108
|
+
class="fm-typo-en-body-md-600 text-fm-color-typo-primary break-all"
|
|
109
|
+
>
|
|
110
|
+
{{ value }}
|
|
111
|
+
</span>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
<a
|
|
116
|
+
v-if="portalUrl"
|
|
117
|
+
:href="portalUrl"
|
|
118
|
+
target="_blank"
|
|
119
|
+
rel="noopener noreferrer"
|
|
120
|
+
class="self-start flex items-center gap-1 fm-typo-en-body-md-600 text-fm-color-primary underline"
|
|
121
|
+
data-testid="payment-device-portal-link"
|
|
122
|
+
>
|
|
123
|
+
{{ t('order.paymentDeviceOpenPortal') }}
|
|
124
|
+
<FmIcon name="open_in_new" size="sm" />
|
|
125
|
+
</a>
|
|
126
|
+
</template>
|
|
127
|
+
|
|
128
|
+
<div
|
|
129
|
+
v-if="reported"
|
|
130
|
+
class="flex flex-col gap-2 border-t pt-4"
|
|
131
|
+
data-testid="payment-device-reported"
|
|
132
|
+
>
|
|
133
|
+
<span class="fm-typo-en-body-sm-400 text-fm-color-typo-secondary">
|
|
134
|
+
{{ t('order.paymentDeviceReportedByKiosk') }}
|
|
135
|
+
</span>
|
|
136
|
+
<span class="fm-typo-en-body-md-600 text-fm-color-typo-primary break-all">
|
|
137
|
+
{{ ecrText({ gateway: reported.gateway, merchantId: reported.merchantId, terminalId: reported.terminalId }) }}
|
|
138
|
+
</span>
|
|
139
|
+
<span v-if="reportedDiffers">
|
|
140
|
+
<FmChip
|
|
141
|
+
compact
|
|
142
|
+
variant="warning"
|
|
143
|
+
icon="warning"
|
|
144
|
+
:label="t('order.paymentDeviceReportedDiffers')"
|
|
145
|
+
data-testid="payment-device-reported-differs"
|
|
146
|
+
/>
|
|
147
|
+
</span>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</template>
|
|
151
|
+
|
|
152
|
+
<script setup lang="ts">
|
|
153
|
+
import { computed } from 'vue'
|
|
154
|
+
import { useI18n } from '@feedmepos/mf-common'
|
|
155
|
+
import { useSnackbar, type SnackbarPosition } from '@feedmepos/ui-library'
|
|
156
|
+
import {
|
|
157
|
+
reportedTerminalDiffers,
|
|
158
|
+
type KioskPaymentDevice,
|
|
159
|
+
type KioskPaymentDeviceEcr,
|
|
160
|
+
type KioskReportedTerminal
|
|
161
|
+
} from '@/modules/payment/paymentDevice'
|
|
162
|
+
|
|
163
|
+
const props = defineProps<{
|
|
164
|
+
paymentDevice: KioskPaymentDevice | null
|
|
165
|
+
loading: boolean
|
|
166
|
+
loadError: boolean
|
|
167
|
+
/** `<restaurantId>-<machineId>`: what payment-service should call this kiosk. */
|
|
168
|
+
expectedDeviceId: string
|
|
169
|
+
portalUrl: string | null
|
|
170
|
+
/** Terminal the kiosk app itself reported (older GHL setups). */
|
|
171
|
+
reported?: KioskReportedTerminal | null
|
|
172
|
+
}>()
|
|
173
|
+
|
|
174
|
+
const emit = defineEmits<{ (event: 'retry'): void }>()
|
|
175
|
+
|
|
176
|
+
const { t } = useI18n()
|
|
177
|
+
const Snackbar = useSnackbar()
|
|
178
|
+
|
|
179
|
+
function ecrText(ecr: KioskPaymentDeviceEcr): string {
|
|
180
|
+
const parts = [ecr.gateway]
|
|
181
|
+
if (ecr.merchantId) parts.push(`${t('order.paymentDeviceMerchantId')} ${ecr.merchantId}`)
|
|
182
|
+
if (ecr.terminalId) parts.push(`${t('order.paymentDeviceTerminalId')} ${ecr.terminalId}`)
|
|
183
|
+
return parts.join(' · ')
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const gatewayRows = computed(() => {
|
|
187
|
+
const device = props.paymentDevice
|
|
188
|
+
if (!device) return []
|
|
189
|
+
return [
|
|
190
|
+
{ key: 'softpos', label: t('order.paymentDeviceSoftPos'), values: device.softPosGateways },
|
|
191
|
+
{ key: 'ecr', label: t('order.paymentDeviceEcr'), values: device.ecrs.map(ecrText) },
|
|
192
|
+
{
|
|
193
|
+
key: 'ecr-integrations',
|
|
194
|
+
label: t('order.paymentDeviceEcrIntegrations'),
|
|
195
|
+
values: device.ecrIntegrations
|
|
196
|
+
},
|
|
197
|
+
{ key: 'qr', label: t('order.paymentDeviceQr'), values: device.qrGateways }
|
|
198
|
+
]
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
const reportedDiffers = computed(() =>
|
|
202
|
+
reportedTerminalDiffers(props.reported, props.paymentDevice)
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
async function copy(text: string) {
|
|
206
|
+
try {
|
|
207
|
+
await navigator.clipboard.writeText(text)
|
|
208
|
+
Snackbar.open({
|
|
209
|
+
type: 'success',
|
|
210
|
+
message: t('order.paymentDeviceIdCopied'),
|
|
211
|
+
position: 'bottom' as SnackbarPosition
|
|
212
|
+
})
|
|
213
|
+
} catch {
|
|
214
|
+
Snackbar.open({
|
|
215
|
+
type: 'error',
|
|
216
|
+
message: t('order.copyFailed'),
|
|
217
|
+
position: 'bottom' as SnackbarPosition
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
</script>
|
|
@@ -257,7 +257,7 @@ onMounted(() => {
|
|
|
257
257
|
/>
|
|
258
258
|
<br />
|
|
259
259
|
<div v-show="useEwallet" class="ml-7">
|
|
260
|
-
<div class="flex flex-row gap-
|
|
260
|
+
<div class="flex flex-row flex-wrap gap-x-24 gap-y-8">
|
|
261
261
|
<FmCheckbox
|
|
262
262
|
v-model="eWalletPaymentCheckboxVal"
|
|
263
263
|
:label="t('order.qrPay')"
|