diff --git a/app/Views/receivings/receiving.php b/app/Views/receivings/receiving.php
index 7a39ab682..f516c1d6d 100644
--- a/app/Views/receivings/receiving.php
+++ b/app/Views/receivings/receiving.php
@@ -137,7 +137,7 @@ if (isset($success)) {
= esc($item['item_number']) ?> |
= esc($item['name'] . ' ' . implode(' ', [$item['attribute_values'], $item['attribute_dtvalues']])) ?>
- = '[' . to_quantity_decimals($item['in_stock']) . ' in ' . $item['stock_name'] . ']' ?>
+ = '[' . to_quantity_decimals($item['in_stock']) . ' in ' . esc($item['stock_name']) . ']' ?>
= form_hidden('location', (string)$item['item_location']) ?>
|
diff --git a/app/Views/sales/register.php b/app/Views/sales/register.php
index f0ca9df98..12fc10c08 100644
--- a/app/Views/sales/register.php
+++ b/app/Views/sales/register.php
@@ -181,7 +181,7 @@ helper('url');
= esc($item['name']) . ' ' . implode(' ', [$item['attribute_values'], $item['attribute_dtvalues']]) ?>
-
|