Skip to content

Commit

Permalink
Merge pull request #469 from GroupProject-JOM/fix/viewOnMap
Browse files Browse the repository at this point in the history
Supply confirmation bar and view on map bug fixed
  • Loading branch information
Buddhikanip authored Apr 15, 2024
2 parents 5a08c7d + 5380ee0 commit 4d33aa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions collector/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
fire.style.display = "block";
greet.style.display = "flex";
todayTable.style.display = "none";
viewAll.style.display = "none";
}

const cols = document.querySelectorAll("td[data-href]");
Expand Down Expand Up @@ -294,6 +295,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
fire.style.display = "block";
greet.style.display = "flex";
todayTable.style.display = "none";
viewAll.style.display = "none";
c1.style.display = "none";
c2.style.display = "none";
}
Expand Down Expand Up @@ -352,6 +354,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
fire.style.display = "block";
greet.style.display = "flex";
todayTable.style.display = "none";
viewAll.style.display = "none";
}

w1Value.textContent = data.rate.price + " LKR";
Expand Down Expand Up @@ -410,6 +413,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
fire.style.display = "block";
greet.style.display = "flex";
todayTable.style.display = "none";
viewAll.style.display = "none";
}

viewAll.addEventListener("click", () => {
Expand Down
2 changes: 1 addition & 1 deletion supplier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<div class="action-bar" style="display: none">
<div class="action-content">
<p class="action-text">
Collected coconut amount for supply
Collected coconut amount for supply S/P/
<span class="action-id"></span> is
<span class="bold action-amount"></span>. Collector is waiting for
your response.
Expand Down

0 comments on commit 4d33aa1

Please sign in to comment.