Edit account book for owner
All checks were successful
Build frontend / build (push) Successful in 1m6s
All checks were successful
Build frontend / build (push) Successful in 1m6s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
import Link from "next/link";
|
||||
import { usePathname } from "next/navigation";
|
||||
import { Home, Building, Calendar, Settings, CreditCard, Briefcase } from "lucide-react";
|
||||
import { Home, Building, Calendar, CreditCard, Briefcase, BookOpen } from "lucide-react";
|
||||
import React, { useEffect, useState } from "react";
|
||||
|
||||
export default function BottomNav({ isOwner, isOwnerOrAgent }) {
|
||||
@ -20,7 +20,7 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) {
|
||||
...(isOwnerOrAgent ? [{ href: "/owner/properties", label: "عقاراتي", icon: Briefcase }] : []),
|
||||
{ href: bookingsHref, label: "الحجوزات", icon: Calendar },
|
||||
{ href: "/payments", label: "المدفوعات", icon: CreditCard },
|
||||
{ href: "/settings", label: "الإعدادات", icon: Settings },
|
||||
...(isOwnerOrAgent ? [{ href: "/owner/account-book", label: "دفتر الحسابات", icon: BookOpen }] : []),
|
||||
];
|
||||
|
||||
const isActive = (href) => {
|
||||
|
||||
Reference in New Issue
Block a user