Skip to content

Commit

Permalink
Supply confirmation bar and view on map bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Buddhikanip committed Apr 15, 2024
1 parent 5a08c7d commit 5380ee0
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 5380ee0

Please sign in to comment.