This commit is contained in:
zadit frontend
2024-08-01 12:20:33 +00:00
parent a158e44071
commit c4654ce64f
14 changed files with 936 additions and 20 deletions

View File

@@ -16,6 +16,7 @@ import CafePage from "./pages/CafePage";
import SearchResult from "./pages/SearchResult";
import Cart from "./pages/Cart";
import Invoice from "./pages/Invoice";
import Transactions from "./pages/Transactions";
import Footer from "./components/Footer";
import GuestSideLogin from "./pages/GuestSideLogin";
@@ -290,6 +291,23 @@ function App() {
</>
}
/>
<Route
path="/:shopId/:tableId?/transactions"
element={
<>
<Transactions
sendParam={handleSetParam}
deviceType={deviceType}
/>
<Footer
shopId={shopId}
tableId={tableId}
cartItemsLength={totalItemsCount}
selectedPage={3}
/>
</>
}
/>
<Route
path="/:shopId/guest-side-login"
element={<GuestSideLogin shopId={shopId} socket={socket} />}