Fix Product Pos

This commit is contained in:
aditya.siregar 2024-08-28 01:34:46 +07:00
parent cc9933f675
commit 1f3e98df7f

View File

@ -105,7 +105,7 @@ func (b *ProductList) ToProductListPOS() []*Product {
if isWeekend && p.IsWeekendTicket {
Products = append(Products, p.ToProduct())
} else {
} else if !isWeekend && !p.IsWeekendTicket {
Products = append(Products, p.ToProduct())
}
}