diff --git a/app/(app)/ActionMenu/Booking/Doctor_details.tsx b/app/(app)/ActionMenu/Booking/Doctor_details.tsx
index 31c4351..765ba3c 100644
--- a/app/(app)/ActionMenu/Booking/Doctor_details.tsx
+++ b/app/(app)/ActionMenu/Booking/Doctor_details.tsx
@@ -23,6 +23,7 @@ import { supabase } from "@/lib/supabase";
import HeaderComponent from "@/components/HeaderComponent";
import ReviewerCardComponent from "@/components/ReviewerCardComponent";
import { StatusBar } from "expo-status-bar";
+import { color } from "react-native-elements/dist/helpers";
interface Doctor{
id: number,
@@ -548,7 +549,9 @@ const visibleReviews = reviews.slice(0, 1);
)
) : (
- No available reviews
+ No available reviews
)}
diff --git a/app/(app)/ActionMenu/Booking/Patient-details.tsx b/app/(app)/ActionMenu/Booking/Patient-details.tsx
index a75f616..ea66755 100644
--- a/app/(app)/ActionMenu/Booking/Patient-details.tsx
+++ b/app/(app)/ActionMenu/Booking/Patient-details.tsx
@@ -193,7 +193,9 @@ const PatientDetails = () => {
Write Your Problem
-
+
{
const { Doctor_id, hour, date,patient_id } = useLocalSearchParams()
const [selectedPackageTitle, setSelectedPackageTitle] = useState<{ title: string, price: string }>({ title: "Messaging", price: "Rwf20" })
const [selectedDuration, setSelectedDuration] = useState("1 hour")
- console.log("this is new:", Doctor_id, hour, date)
+
const handleNextPress = () => {
if (!selectedPackageTitle||!selectedDuration) {
Alert.alert("Please select both Duration and package")
diff --git a/app/(app)/ActionMenu/Booking/SelectPayment.tsx b/app/(app)/ActionMenu/Booking/SelectPayment.tsx
index c3d10df..8e4f2ad 100644
--- a/app/(app)/ActionMenu/Booking/SelectPayment.tsx
+++ b/app/(app)/ActionMenu/Booking/SelectPayment.tsx
@@ -23,7 +23,6 @@ export default function SelectPayment() {
const modal = useModal()
const flutterKey = process.env.EXPO_PUBLIC_FLUTTERWAVE_KEY ?? ""
- console.log("this is packageprice from slect Payment:",packagePrice)
interface RedirectParams {
status: "successful" | "cancelled";
@@ -78,7 +77,7 @@ const total:number=price*num
}
function successBooking() {
- router.push("ActionMenu");;
+ router.push("ActionMenu");
modal.hide();
}
const showSuccefulModal = () => {
@@ -138,7 +137,10 @@ const total:number=price*num
>