Skip to content

Commit

Permalink
fix смены кол-ва услуг
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Sep 26, 2024
1 parent 001604f commit bfb0d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l2-frontend/src/ui-cards/CashRegisters/ChequeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const changeDiscountAbsolute = (index: number, discountStatic: boolean) => {
const changeServiceCount = (index) => {
if (!loading.value) {
const service = servicesCoasts.value[index];
if (service.total >= 1) {
if (service.count > 0) {
service.total = service.count * service.discountedCoast;
}
}
Expand Down

0 comments on commit bfb0d79

Please sign in to comment.