diff --git a/admin.html b/admin.html
index 7874b1c..4a62404 100644
--- a/admin.html
+++ b/admin.html
@@ -43,7 +43,7 @@
AAIT Clearance System
-
+
@@ -54,7 +54,7 @@ AAIT Clearance System
-
+
diff --git a/assets/js/admin.js b/assets/js/admin.js
index 55d7a73..7446365 100644
--- a/assets/js/admin.js
+++ b/assets/js/admin.js
@@ -6,8 +6,15 @@ if(currentDept == 'adm'){
function displayClearanceStatusForAdmin(){
const navSmall = document.querySelector('.sidebar-small')
const navB = document.querySelector('.sidebar')
+
+ // disable loan link for sidebar and sidebar small
navSmall.children[2].style.display = 'none'
navB.children[2].style.display = 'none'
+
+ // change dash to admin.html
+ navSmall.children[1].href = './admin.html?dp=adm'
+ navB.children[1].href = './admin.html?dp=adm'
+
while (tableBodyA.firstChild){
tableBodyA.removeChild(tableBodyA.firstChild);
@@ -51,7 +58,6 @@ if(currentDept == 'adm'){
collection.forEach((item) =>{
if(item.children[0].textContent.includes(searchItem.toUpperCase())){
- console.log(item);
item.hidden = false
}
else{
diff --git a/loan.html b/loan.html
index 2dfc73e..80dac95 100644
--- a/loan.html
+++ b/loan.html
@@ -199,6 +199,9 @@ Record a Loan
+
+
+