feat: bump client-services (accumulated feature work + deploy fixes)
Snapshot of in-progress work across local_backend, manager_dashboard, and waiter_pwa (pricing, chat, fiscal, prep zones, recovery codes, CRM, inventory, permissions), plus the nginx/docker-compose deploy fixes for the Unraid + NPM reverse-proxy setup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
24
manager_dashboard/src/pages/reports/MiscPage.jsx
Normal file
24
manager_dashboard/src/pages/reports/MiscPage.jsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { useState } from 'react'
|
||||
import { TabBar } from '../../ui/Tabs'
|
||||
import CancellationsLog from './operations/CancellationsLog'
|
||||
import DiscountsLog from './operations/DiscountsLog'
|
||||
|
||||
const TABS = [
|
||||
{ id: 'cancellations', label: 'Ακυρώσεις', Component: CancellationsLog },
|
||||
{ id: 'discounts', label: 'Εκπτώσεις', Component: DiscountsLog },
|
||||
]
|
||||
|
||||
export default function MiscPage() {
|
||||
const [active, setActive] = useState('cancellations')
|
||||
const tab = TABS.find(t => t.id === active) || TABS[0]
|
||||
const { Component } = tab
|
||||
|
||||
return (
|
||||
<div className="flex flex-col h-full min-h-0">
|
||||
<TabBar tabs={TABS} active={active} onChange={setActive} />
|
||||
<div className="flex-1 min-h-0 flex flex-col">
|
||||
<Component key={active} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user