Skip to content
Snippets Groups Projects
Commit 19a464a5 authored by rayhanp1402's avatar rayhanp1402
Browse files

pasang trainer viewing di home

parent ec2bb66a
No related merge requests found
......@@ -208,7 +208,7 @@ $gym = GymService::getInstance()->getById($gym_id);
<script src="/public/javascript/gym/trainer.js"></script>
<script>
getGymTrainers();
getTrainersByGymId(<?php echo $gym_id ?>);
</script>
<script>
......
......@@ -42,8 +42,7 @@ AuthMiddleware::getInstance()->secureRoute();
<script src="/public/javascript/gym/trainer_card.js"></script>
<script src="/public/javascript/gym/trainer.js"></script>
<script>
showTrainerInformation(trainerData[0]); // Temporary example
showTrainerSkill(trainerData[0]);
getTrainerInformation(gymId, username);
</script>
</body>
......
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