Edit account book for owner
All checks were successful
Build frontend / build (push) Successful in 1m6s

This commit is contained in:
Rahaf
2026-06-28 23:22:35 +03:00
parent 253e1b7542
commit dc64178f94
3 changed files with 118 additions and 119 deletions

View File

@ -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) => {