diff --git a/av_tools/public/js/shortcuts.js b/av_tools/public/js/shortcuts.js
index 6739d92..6ae0be6 100644
--- a/av_tools/public/js/shortcuts.js
+++ b/av_tools/public/js/shortcuts.js
@@ -12,8 +12,12 @@ function ctrlQ (TableName) {
title: __('Item Balance'),
width: 600
});
+ const item_name_html = (item_row.item_name && item_row.item_name !== item_row.item_code)
+ ? `
${item_row.item_code} : ${item_row.qty}
+ ${item_name_html}
Choose Warehouse and click Select :
@@ -109,8 +113,13 @@ function ctrlI(TableName) {
width: 600
});
+ const item_name_html = (item_row.item_name && item_row.item_name !== item_row.item_code)
+ ? `${item_row.item_name}
`
+ : '';
+
$(`
${item_row.item_code} : ${item_row.qty}
+ ${item_name_html}
Choose Price and click Select :
@@ -181,8 +190,12 @@ function ctrlU (TableName) {
title: __('Item Prices'),
width: 600
});
+ const item_name_html = (item_row.item_name && item_row.item_name !== item_row.item_code)
+ ? `${item_row.item_name}
`
+ : '';
$(`
${item_row.item_code} : ${item_row.qty}
+ ${item_name_html}
Choose Price and click Select :
@@ -232,4 +245,4 @@ function ctrlU (TableName) {
}
}
});
-}
\ No newline at end of file
+}