Skip to content

Commit 2378644

Browse files
authored
fix: column name (#24)
1 parent 6663de5 commit 2378644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web-app/server/api/kitchen/revenue/iiko-daily.post.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function parseFileAndUpdateData(file: MultiPartData) {
8484
}
8585

8686
const indexOfName = dictionary.indexOf('Группа')
87-
const indexOfTotal = dictionary.indexOf('Сумма со скидкой, р. Всего')
87+
const indexOfTotal = dictionary.indexOf('Сумма со скидкой, р.')
8888
const indexOfChecks = dictionary.indexOf('Чеков')
8989
if (!dictionary || indexOfName < 0 || indexOfTotal < 0 || indexOfChecks < 0) {
9090
throw createError({

0 commit comments

Comments
 (0)