diff --git a/app/booking/[slug]/page.js b/app/booking/[slug]/page.js index 5c2b81e..77dfd10 100644 --- a/app/booking/[slug]/page.js +++ b/app/booking/[slug]/page.js @@ -53,7 +53,9 @@ function Booking({ params: { slug } }) { {elements[step]} diff --git a/app/component/element/AutoCompleteSelect.js b/app/component/element/AutoCompleteSelect.js index db0af9c..6c3b25a 100644 --- a/app/component/element/AutoCompleteSelect.js +++ b/app/component/element/AutoCompleteSelect.js @@ -25,9 +25,6 @@ function AutoCompleteSelect({ list, isError, updateData, name, label }) { borderRadius: 2, padding: '5px 16px !important' }, - '& .MuiOutlinedInput-notchedOutline': { - border: isError ? '1px solid red' : '' - }, '& .MuiOutlinedInput-notchedOutline': { border: '1px solid #D7D7D7' }, @@ -36,8 +33,10 @@ function AutoCompleteSelect({ list, isError, updateData, name, label }) { }, '& .muirtl-1kiro5a-MuiInputBase-root-MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline': { border: '1px solid #5559CE !important' + }, + '& .MuiOutlinedInput-notchedOutline': { + border: isError ? '1px solid red !important' : '' } - }} renderInput={params =>

جزئیات نوبت

- +
) diff --git a/components/dashboard/userAccount/ContentTabs.js b/components/dashboard/userAccount/ContentTabs.js index 1f03491..24a1e49 100644 --- a/components/dashboard/userAccount/ContentTabs.js +++ b/components/dashboard/userAccount/ContentTabs.js @@ -13,6 +13,7 @@ import IsTurnsDetails from "./tabs/turns/isTurnsDetails"; import ArrowRightD from "@/components/icons/ArrowRightD"; import { Button } from "@mui/material"; import NotfoundDashboard from "./NotfoundDashboard"; +import DownloadD from "@/components/icons/DownloadD"; const listTab = ['حساب کاربری', 'نوبت های من', 'تراکنش های من', 'نظرات من', 'پیام ها']; @@ -44,14 +45,25 @@ function ContentTabs({ user, value, setValue, isOpenSide, setIsOpenSide }) { shadow-none md:shadow-[0px_1px_24.8px_0px_rgba(204,_204,_204,_0.18)] bg-transparent md:bg-[#FFF]" > - +
+ + {value === 1 && isTurnsDetails ? ( + + ) : undefined} +
{isTurnsDetails ? : ( <> diff --git a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js index 6cff72f..02876f2 100644 --- a/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js +++ b/components/dashboard/userAccount/tabs/turns/isTurnsDetails/DetailLg.js @@ -3,6 +3,7 @@ import TextLoading from '@/app/component/loading/Text'; import CalendarD from '@/components/icons/CalendarD'; import CallD from '@/components/icons/CallD'; import ClockClinic from '@/components/icons/ClockClinic'; +import DownloadD from '@/components/icons/DownloadD'; import LocationClinic from '@/components/icons/LocationClinic'; import RoutingC from '@/components/icons/RoutingC'; import TicketD from '@/components/icons/TicketD'; @@ -74,12 +75,21 @@ function DetailLg({ user, loading }) { -
+

مبلغ پرداخت شده : {data.amount_paid} تومان

+
) } diff --git a/components/icons/DownloadD.js b/components/icons/DownloadD.js new file mode 100644 index 0000000..a3e896c --- /dev/null +++ b/components/icons/DownloadD.js @@ -0,0 +1,11 @@ +function DownloadD() { + return ( + + + + + + ) +} + +export default DownloadD \ No newline at end of file