FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 седмици
123456789101112131415161718192021222324252627
  1. import { Metadata } from "next";
  2. import { Suspense } from "react";
  3. import { I18nProvider, getServerI18n } from "@/i18n";
  4. import ItemPriceSearch from "@/components/ItemPriceSearch/ItemPriceSearch";
  5. import PageTitleBar from "@/components/PageTitleBar";
  6. export const metadata: Metadata = {
  7. title: "Price Inquiry",
  8. };
  9. const ItemPriceSetting: React.FC = async () => {
  10. const { t } = await getServerI18n("inventory", "common");
  11. return (
  12. <>
  13. <PageTitleBar title={t("Price Inquiry", { ns: "common" })} className="mb-4" />
  14. <I18nProvider namespaces={["common", "inventory"]}>
  15. <Suspense fallback={<ItemPriceSearch.Loading />}>
  16. <ItemPriceSearch />
  17. </Suspense>
  18. </I18nProvider>
  19. </>
  20. );
  21. };
  22. export default ItemPriceSetting;