We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6663de5 commit 2378644Copy full SHA for 2378644
1 file changed
apps/web-app/server/api/kitchen/revenue/iiko-daily.post.ts
@@ -84,7 +84,7 @@ async function parseFileAndUpdateData(file: MultiPartData) {
84
}
85
86
const indexOfName = dictionary.indexOf('Группа')
87
- const indexOfTotal = dictionary.indexOf('Сумма со скидкой, р. Всего')
+ const indexOfTotal = dictionary.indexOf('Сумма со скидкой, р.')
88
const indexOfChecks = dictionary.indexOf('Чеков')
89
if (!dictionary || indexOfName < 0 || indexOfTotal < 0 || indexOfChecks < 0) {
90
throw createError({
0 commit comments