Commit 984b0805 authored by gaseema.n's avatar gaseema.n

inventory metric update

parent b7d1c99a
...@@ -43,7 +43,8 @@ function sponpProdNamesInput() { ...@@ -43,7 +43,8 @@ function sponpProdNamesInput() {
var itemPrice = sponProds[iii].price; var itemPrice = sponProds[iii].price;
var itemId = sponProds[iii].id; var itemId = sponProds[iii].id;
var itemIcon = sponProds[iii].icon; var itemIcon = sponProds[iii].icon;
$('.inventoryItemsToAdd').append('<form action="#" style="padding-right: 20px;"> <p> <label> <input class="inventoryItems" type="checkbox" pid="' + itemId + '" id="inventoryItem' + itemId + '"/> <span><img src="' + itemIcon + '" style=" width: 25px; height: 25px; object-fit: cover; border-radius: 50%; float: left; margin-right: 10px;">' + itemName + ' @ ' + itemPrice + '</span> </label> </p></form>'); var itemMetric = sponProds[iii].metric;
$('.inventoryItemsToAdd').append('<form action="#" style="padding-right: 20px;"> <p> <label> <input class="inventoryItems" type="checkbox" pid="' + itemId + '" id="inventoryItem' + itemId + '"/> <span><img src="' + itemIcon + '" style=" width: 25px; height: 25px; object-fit: cover; border-radius: 50%; float: left; margin-right: 10px;">' + itemName + ' @ ' + itemPrice + ' ' + itemMetric + '</span> </label> </p></form>');
if (invetoryItemsInStore.includes(itemId) == true) { if (invetoryItemsInStore.includes(itemId) == true) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment