diff --git a/src/components/Controls/weightEnabledBarcode.vue b/src/components/Controls/WeightEnabledBarcode.vue similarity index 99% rename from src/components/Controls/weightEnabledBarcode.vue rename to src/components/Controls/WeightEnabledBarcode.vue index 19d56638..7ef3a69c 100644 --- a/src/components/Controls/weightEnabledBarcode.vue +++ b/src/components/Controls/WeightEnabledBarcode.vue @@ -34,6 +34,7 @@ import { showToast } from 'src/utils/interactive'; import { defineComponent } from 'vue'; export default defineComponent({ + name: 'WeightEnabledBarcode', emits: ['item-selected'], data() { return { diff --git a/src/pages/POS/ClassicPOS.vue b/src/pages/POS/ClassicPOS.vue index a2617bba..a2ef00a2 100644 --- a/src/pages/POS/ClassicPOS.vue +++ b/src/pages/POS/ClassicPOS.vue @@ -326,7 +326,7 @@ import ItemsTable from 'src/components/POS/Classic/ItemsTable.vue'; import MultiLabelLink from 'src/components/Controls/MultiLabelLink.vue'; import { SalesInvoice } from 'models/baseModels/SalesInvoice/SalesInvoice'; import SelectedItemTable from 'src/components/POS/Classic/SelectedItemTable.vue'; -import WeightEnabledBarcode from 'src/components/Controls/weightEnabledBarcode.vue'; +import WeightEnabledBarcode from 'src/components/Controls/WeightEnabledBarcode.vue'; import FloatingLabelFloatInput from 'src/components/POS/FloatingLabelFloatInput.vue'; import FloatingLabelCurrencyInput from 'src/components/POS/FloatingLabelCurrencyInput.vue'; import { AppliedCouponCodes } from 'models/baseModels/AppliedCouponCodes/AppliedCouponCodes'; diff --git a/src/pages/POS/ModernPOS.vue b/src/pages/POS/ModernPOS.vue index 27af9af7..390be18a 100644 --- a/src/pages/POS/ModernPOS.vue +++ b/src/pages/POS/ModernPOS.vue @@ -334,7 +334,7 @@ import { POSItem, PosEmits, ItemQtyMap } from 'src/components/POS/types'; import { SalesInvoice } from 'models/baseModels/SalesInvoice/SalesInvoice'; import ModernPOSItemsGrid from 'src/components/POS/Modern/ModernPOSItemsGrid.vue'; import ModernPOSItemsTable from 'src/components/POS/Modern/ModernPOSItemsTable.vue'; -import WeightEnabledBarcode from 'src/components/Controls/weightEnabledBarcode.vue'; +import WeightEnabledBarcode from 'src/components/Controls/WeightEnabledBarcode.vue'; import FloatingLabelFloatInput from 'src/components/POS/FloatingLabelFloatInput.vue'; import { SalesInvoiceItem } from 'models/baseModels/SalesInvoiceItem/SalesInvoiceItem'; import FloatingLabelCurrencyInput from 'src/components/POS/FloatingLabelCurrencyInput.vue';