<?php endif; ?>
<?php
$quantity=str_replace(".00","",$item["quantity"]);
- $bal = isset($storesNameArr[$row["store"]]) ? $balancesAll[$exportStore[$storesNameArr[$orderAmo["store"]]]][$item["guid"]] ?? 0 : 0;
+ $bal = isset($storesNameArr[$orderAmo["store"]]) ? $balancesAll[$exportStore[$storesNameArr[$orderAmo["store"]]]][$item["guid"]] ?? 0 : 0;
?>
<tr <?php if ($bal < $quantity && !in_array($item["guid"], $services)): ?>class="bg-danger"<?php endif; ?> >
<td class="text-center"><b class="mr-2 ml-2"><?= $quantity ?></b></td>