diff --git a/client/src/components/OrderPopup.vue b/client/src/components/OrderPopup.vue new file mode 100644 index 0000000..92613dd --- /dev/null +++ b/client/src/components/OrderPopup.vue @@ -0,0 +1,143 @@ + + + + + \ No newline at end of file diff --git a/client/src/components/TrainerSelector.vue b/client/src/components/TrainerSelector.vue index ca39c3c..f5b78a2 100644 --- a/client/src/components/TrainerSelector.vue +++ b/client/src/components/TrainerSelector.vue @@ -23,7 +23,6 @@ export default { }, async mounted() { const filters = this.centers?.map(c => `center=${c}`).join("&"); - console.log(filters) const res = await fetch(`${import.meta.env.VITE_BASE_API_URL}/trainer?${filters}`); if (res.status === 200) { this.trainers = await res.json(); diff --git a/client/src/interfaces/timeslot.ts b/client/src/interfaces/timeslot.ts index 9d0007f..a49421d 100644 --- a/client/src/interfaces/timeslot.ts +++ b/client/src/interfaces/timeslot.ts @@ -1,6 +1,7 @@ export interface Timeslot { startDate: Date endDate: Date + price: number } export interface WeeklyTimeslot { diff --git a/client/src/views/Home.vue b/client/src/views/Home.vue index a05c009..53640c3 100644 --- a/client/src/views/Home.vue +++ b/client/src/views/Home.vue @@ -14,8 +14,7 @@
{{ date.date }}
-
+
{{ formatTime(timeslot.startDate) }} - {{ formatTime(timeslot.endDate) }}
@@ -24,6 +23,7 @@
+ @@ -92,13 +92,14 @@