diff --git a/modules/ticket/front/index/index.js b/modules/ticket/front/index/index.js index d2e9646a1..2a2f3a238 100644 --- a/modules/ticket/front/index/index.js +++ b/modules/ticket/front/index/index.js @@ -103,7 +103,8 @@ export default class Controller { } totalPriceColor(ticket) { - if (parseInt(ticket.total) < 50) + const total = parseInt(ticket.total); + if (total > 0 && total < 50) return 'warning'; }