diff --git a/webUI/src/components/widgets/BarcodeScanner.vue b/webUI/src/components/widgets/BarcodeScanner.vue
index 15fe254..29a6171 100644
--- a/webUI/src/components/widgets/BarcodeScanner.vue
+++ b/webUI/src/components/widgets/BarcodeScanner.vue
@@ -1,83 +1,77 @@
-
-
- اسکن بارکد
-
- mdi-close
-
-
-
-
-
mdi-alert-circle
- {{ errorMessage }}
-
- تلاش دوباره
-
-
-
-
-
-
-
-
- mdi-flash فلش
-
-
- mdi-camera-flip
- {{ isBackCamera ? 'عقب' : 'جلو' }}
-
-
- بستن
-
-
+
+
+ اسکن بارکد
+
+ mdi-close
+
+
+
+
+
mdi-alert-circle
+ {{ errorMessage }}
+
+ تلاش دوباره
+
+
+
+
+
+
+
+
+ mdi-flash فلش
+
+
+ mdi-camera-flip
+ {{ isBackCamera ? 'عقب' : 'جلو' }}
+
+
+ بستن
+
+
-
-
-
-
-
\ No newline at end of file
+}
+
\ No newline at end of file
diff --git a/webUI/src/views/acc/storeroom/io/sell.vue b/webUI/src/views/acc/storeroom/io/sell.vue
index 4c80f6f..5d4c45e 100755
--- a/webUI/src/views/acc/storeroom/io/sell.vue
+++ b/webUI/src/views/acc/storeroom/io/sell.vue
@@ -343,6 +343,10 @@ const submit = async () => {
const errors: string[] = []
let totalCount = 0
+ items.value.forEach((row) => {
+ totalCount += Number(row.ticketCount || 0)
+ })
+
if (totalCount === 0) errors.push('هیچ کالایی برای خروج انتخاب نشده است')
if (errors.length) {