This commit is contained in:
Sergio De la torre 2023-04-27 08:07:16 +02:00
parent 528a4bbda0
commit 76f8fdc8b8
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ class SaleAdapter(
itemArticleQuantityLine3.visibility = View.VISIBLE
if (type != SACADOR) {
if (sale.hasMistake > 0) {
if (sale.hasMistake) {
val drawable = imageErrorMessage.drawable
imageErrorMessage.imageTintList = ColorStateList.valueOf(
getColor(

View File

@ -73,7 +73,7 @@ class SaleVO(
var totalSales: Int = 0,
var sonSales: MutableList<SaleVO> = mutableListOf(),
var code: String = "",
var hasMistake :Int = 0
var hasMistake :Boolean = false
)