@@ -944,7 +944,7 @@ $(document).ready(() => {
const exist = c.bills.find(x => {
return x.code === price.b_code && x.name === price.name && x.unit === price.unit && x.unit_price === price.org_price;
});
- c.visible = !exist;
+ c.visible = !!exist;
}
$('#choose-rela-change').modal('show');