refactor: remove ResourceBookingPage and related components; update references in AppointmentsPage and ScheduleSection

This commit is contained in:
hamed
2026-08-08 07:19:48 +03:30
parent b699476305
commit c452150a83
7 changed files with 10 additions and 606 deletions
+1 -12
View File
@@ -472,18 +472,7 @@ export default function AppointmentsPage() {
<AdjustmentsHorizontalIcon style={{ width: 16 }} />
</button>
{/* رزرو منبع‌محور مسیر جداست چون جستجویش از تقاطع تقویم منابع می‌آید، نه از
اسلات‌های یک پزشک؛ ادغامشان در یک فرم، هر دو را گیج می‌کرد. */}
{!isRepresentation && canCreateAppt && (
<button
className="btn secondary sm"
onClick={() => navigate('/admin/resource-booking')}
style={{ display: 'flex', alignItems: 'center', gap: 5 }}
>
نوبت منبعمحور
</button>
)}
{/* دکمهٔ «نوبت منبع‌محور» و صفحه‌اش در ۲۰۲۶-۰۸-۰۸ حذف شدند. */}
{!isRepresentation && canCreateAppt && (
<button
className="btn primary sm"