Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
import { useLingui } from "@lingui/react/macro";
import { LuList } from "react-icons/lu";
import { SearchLandingPage } from "~/components";
import { type ScopeOption, ScopePicker } from "./ScopePicker";
type PriceListScopeEmptyProps = {
scopeOptions: ScopeOption[];
value: string;
onChange: (next: string) => void;
};
export function PriceListScopeEmpty({
scopeOptions,
value,
onChange
}: PriceListScopeEmptyProps) {
const { t } = useLingui();
return (
<SearchLandingPage
icon={LuList}
heading={t`Price Lists`}
description={t`Pick a customer, a customer type, or All Customers to view their pricing.`}
>
<div className="flex justify-center [&>[role=combobox]]:!min-w-[400px] max-md:[&>[role=combobox]]:!min-w-0 max-md:[&>[role=combobox]]:w-full max-md:[&>[role=combobox]]:h-11 max-md:[&>[role=combobox]]:rounded-md max-md:[&>[role=combobox]]:text-base">
<ScopePicker
size="md"
value={value}
options={scopeOptions}
onChange={onChange}
placeholder={t`Search customers or types...`}
/>
</div>
</SearchLandingPage>
);
}