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
refactor: remove unnecessary folders and index files in app/modules
Brad Barbin8b89a73530b3
diff --git a/apps/carbon/app/modules/account/ui/Password/PasswordForm/PasswordForm.tsx b/apps/carbon/app/modules/account/ui/Password/PasswordForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/account/ui/Password/PasswordForm/PasswordForm.tsxrename to apps/carbon/app/modules/account/ui/Password/PasswordForm.tsxdiff --git a/apps/carbon/app/modules/account/ui/Password/PasswordForm/index.ts b/apps/carbon/app/modules/account/ui/Password/PasswordForm/index.tsdeleted file mode 100644index dbb46e1458..0000000000--- a/apps/carbon/app/modules/account/ui/Password/PasswordForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PasswordForm from "./PasswordForm";--export default PasswordForm;diff --git a/apps/carbon/app/modules/account/ui/Personal/PersonalDataForm/PersonalDataForm.tsx b/apps/carbon/app/modules/account/ui/Personal/PersonalDataForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/account/ui/Personal/PersonalDataForm/PersonalDataForm.tsxrename to apps/carbon/app/modules/account/ui/Personal/PersonalDataForm.tsxdiff --git a/apps/carbon/app/modules/account/ui/Personal/PersonalDataForm/index.ts b/apps/carbon/app/modules/account/ui/Personal/PersonalDataForm/index.tsdeleted file mode 100644index d0cc549b77..0000000000--- a/apps/carbon/app/modules/account/ui/Personal/PersonalDataForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonalDataForm from "./PersonalDataForm";--export default PersonalDataForm;diff --git a/apps/carbon/app/modules/account/ui/Profile/ProfileForm/ProfileForm.tsx b/apps/carbon/app/modules/account/ui/Profile/ProfileForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/account/ui/Profile/ProfileForm/ProfileForm.tsxrename to apps/carbon/app/modules/account/ui/Profile/ProfileForm.tsxdiff --git a/apps/carbon/app/modules/account/ui/Profile/ProfileForm/index.ts b/apps/carbon/app/modules/account/ui/Profile/ProfileForm/index.tsdeleted file mode 100644index 445eac517e..0000000000--- a/apps/carbon/app/modules/account/ui/Profile/ProfileForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ProfileForm from "./ProfileForm";--export default ProfileForm;diff --git a/apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm/ProfilePhotoForm.tsx b/apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm/ProfilePhotoForm.tsxrename to apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm.tsxdiff --git a/apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm/index.ts b/apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm/index.tsdeleted file mode 100644index 2753c24268..0000000000--- a/apps/carbon/app/modules/account/ui/Profile/ProfilePhotoForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ProfilePhotoForm from "./ProfilePhotoForm";--export default ProfilePhotoForm;diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable/AccountCategoriesTable.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable/AccountCategoriesTable.tsxrename to apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable/index.ts b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable/index.tsdeleted file mode 100644index 0e087d263b..0000000000--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AccountCategoriesTable from "./AccountCategoriesTable";--export default AccountCategoriesTable;diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsxrename to apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/index.ts b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/index.tsdeleted file mode 100644index ecbe6c620a..0000000000--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AccountCategoriesTableFilters from "./AccountCategoriesTableFilters";--export default AccountCategoriesTableFilters;diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsxrename to apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/index.ts b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/index.tsdeleted file mode 100644index 4fdadeda2c..0000000000--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AccountCategoryDetail from "./AccountCategoryDetail";--export default AccountCategoryDetail;diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm/AccountCategoryForm.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm/AccountCategoryForm.tsxrename to apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm/index.ts b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm/index.tsdeleted file mode 100644index 0ae0b2d464..0000000000--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AccountCategoryForm from "./AccountCategoryForm";--export default AccountCategoryForm;diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm/AccountSubcategoryForm.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm/AccountSubcategoryForm.tsxrename to apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm/index.ts b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm/index.tsdeleted file mode 100644index b4eb36a9c4..0000000000--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountSubcategoryForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AccountSubcategoryForm from "./AccountSubcategoryForm";--export default AccountSubcategoryForm;diff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm/ChartOfAccountForm.tsx b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm/ChartOfAccountForm.tsxrename to apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm/index.ts b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm/index.tsdeleted file mode 100644index 4e0b9cefae..0000000000--- a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ChartOfAccountForm from "./ChartOfAccountForm";--export default ChartOfAccountForm;diff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable/ChartOfAccountsTable.tsx b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable/ChartOfAccountsTable.tsxrename to apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable/index.ts b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable/index.tsdeleted file mode 100644index 9cfeb995cc..0000000000--- a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ChartOfAccountsTable from "./ChartOfAccountsTable";--export default ChartOfAccountsTable;diff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsxrename to apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/index.ts b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/index.tsdeleted file mode 100644index 4bcae33ff2..0000000000--- a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ChartOfAccountsTableFilters from "./ChartOfAccountsTableFilters";--export default ChartOfAccountsTableFilters;diff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable/CurrenciesTable.tsx b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable/CurrenciesTable.tsxrename to apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable/index.ts b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable/index.tsdeleted file mode 100644index 2a12fc59c0..0000000000--- a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CurrenciesTable from "./CurrenciesTable";--export default CurrenciesTable;diff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsxrename to apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/index.ts b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/index.tsdeleted file mode 100644index 78ff070a32..0000000000--- a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CurrenciesTableFilters from "./CurrenciesTableFilters";--export default CurrenciesTableFilters;diff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm/CurrencyForm.tsx b/apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm/CurrencyForm.tsxrename to apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm/index.ts b/apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm/index.tsdeleted file mode 100644index dcb693fca3..0000000000--- a/apps/carbon/app/modules/accounting/ui/Currencies/CurrencyForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CurrencyForm from "./CurrencyForm";--export default CurrencyForm;diff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm/PaymentTermForm.tsx b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm/PaymentTermForm.tsxrename to apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm/index.ts b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm/index.tsdeleted file mode 100644index df19001d81..0000000000--- a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PaymentTermsForm from "./PaymentTermForm";--export default PaymentTermsForm;diff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable/PaymentTermsTable.tsx b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable/PaymentTermsTable.tsxrename to apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable/index.ts b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable/index.tsdeleted file mode 100644index 56265c576e..0000000000--- a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PaymentTermsTable from "./PaymentTermsTable";--export default PaymentTermsTable;diff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsxrename to apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters.tsxdiff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/index.ts b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/index.tsdeleted file mode 100644index cc0cd9abc4..0000000000--- a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PaymentTermsTableFilters from "./PaymentTermsTableFilters";--export default PaymentTermsTableFilters;diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm/DocumentCreateForm.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm/DocumentCreateForm.tsxrename to apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm.tsxdiff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm/index.ts b/apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm/index.tsdeleted file mode 100644index 5303f4839e..0000000000--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentCreateForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DocumentCreateForm from "./DocumentCreateForm";--export default DocumentCreateForm;diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentForm/DocumentForm.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/documents/ui/Documents/DocumentForm/DocumentForm.tsxrename to apps/carbon/app/modules/documents/ui/Documents/DocumentForm.tsxdiff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentForm/index.ts b/apps/carbon/app/modules/documents/ui/Documents/DocumentForm/index.tsdeleted file mode 100644index 768fb2e84e..0000000000--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DocumentForm from "./DocumentForm";--export default DocumentForm;diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentIcon/DocumentIcon.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentIcon.tsxsimilarity index 100%rename from apps/carbon/app/modules/documents/ui/Documents/DocumentIcon/DocumentIcon.tsxrename to apps/carbon/app/modules/documents/ui/Documents/DocumentIcon.tsxdiff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentIcon/index.ts b/apps/carbon/app/modules/documents/ui/Documents/DocumentIcon/index.tsdeleted file mode 100644index 666c9a63ea..0000000000--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentIcon/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DocumentIcon from "./DocumentIcon";--export default DocumentIcon;diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/DocumentsTable.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsxsimilarity index 99%rename from apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/DocumentsTable.tsxrename to apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsxindex 22890d450e..c1800526ee 100644--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/DocumentsTable.tsx+++ b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable.tsx@@ -32,7 +32,7 @@ import { useUrlParams } from "~/hooks";import type { Document, DocumentLabel } from "~/modules/documents";import { DocumentIcon } from "~/modules/documents";import { path } from "~/utils/path";-import { useDocument } from "../useDocument";+import { useDocument } from "./useDocument";type DocumentsTableProps = {data: Document[];diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/index.ts b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/index.tsdeleted file mode 100644index 91d47f7721..0000000000--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DocumentsTable from "./DocumentsTable";--export default DocumentsTable;diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters.tsxsimilarity index 97%rename from apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsxrename to apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters.tsxindex 10ada1eb2a..2cf03044f3 100644--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsx+++ b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters.tsx@@ -5,7 +5,7 @@ import { DebouncedInput } from "~/components/Search";import { usePermissions, useUrlParams } from "~/hooks";import type { DocumentLabel } from "~/modules/documents/types";import { capitalize } from "~/utils/string";-import DocumentCreateForm from "../DocumentCreateForm";+import DocumentCreateForm from "./DocumentCreateForm";type DocumentTableFiltersProps = {labels: DocumentLabel[];diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/index.ts b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/index.tsdeleted file mode 100644index b19b42de83..0000000000--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DocumentsTableFilters from "./DocumentsTableFilters";--export default DocumentsTableFilters;diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal/ReceiptPostModal.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal/ReceiptPostModal.tsxrename to apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal/index.ts b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal/index.tsdeleted file mode 100644index ea8571e190..0000000000--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptPostModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ReceiptPostModal from "./ReceiptPostModal";--export default ReceiptPostModal;diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus/ReceiptStatus.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus/ReceiptStatus.tsxrename to apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus/index.ts b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus/index.tsdeleted file mode 100644index 76ed4ac16f..0000000000--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptStatus/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ReceiptStatus from "./ReceiptStatus";--export default ReceiptStatus;diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable/ReceiptsTable.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable/ReceiptsTable.tsxrename to apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable/index.ts b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable/index.tsdeleted file mode 100644index 4aa53880d5..0000000000--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ReceiptsTable from "./ReceiptsTable";--export default ReceiptsTable;diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsxrename to apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/index.ts b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/index.tsdeleted file mode 100644index 420ba9beba..0000000000--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ReceiptsTableFilters from "./ReceiptsTableFilters";--export default ReceiptsTableFilters;diff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm/ShippingMethodForm.tsx b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm/ShippingMethodForm.tsxrename to apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm/index.ts b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm/index.tsdeleted file mode 100644index 45df5723f5..0000000000--- a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShippingMethodForm from "./ShippingMethodForm";--export default ShippingMethodForm;diff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable/ShippingMethodsTable.tsx b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable/ShippingMethodsTable.tsxrename to apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable/index.ts b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable/index.tsdeleted file mode 100644index c807689689..0000000000--- a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShippingMethodsTable from "./ShippingMethodsTable";--export default ShippingMethodsTable;diff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsx b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsxrename to apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters.tsxdiff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/index.ts b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/index.tsdeleted file mode 100644index 2972aec811..0000000000--- a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShippingMethodsTableFilters from "./ShippingMethodsTableFilters";--export default ShippingMethodsTableFilters;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/index.tsdeleted file mode 100644index 3669952dbf..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoiceForm from "./PurchaseInvoiceForm";--export default PurchaseInvoiceForm;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsxsimilarity index 98%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsxindex df1bf9e95f..b4e4aab62d 100644--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsx+++ b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx@@ -23,7 +23,7 @@ import {usePurchaseInvoiceTotals,} from "~/modules/invoicing";import { path } from "~/utils/path";-import PurchaseInvoicePostModal from "../PurchaseInvoicePostModal";+import PurchaseInvoicePostModal from "./PurchaseInvoicePostModal";const PurchaseInvoiceHeader = () => {const permissions = usePermissions();diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/index.tsdeleted file mode 100644index 20eaa9886c..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoiceHeader from "./PurchaseInvoiceHeader";--export default PurchaseInvoiceHeader;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm/PurchaseInvoiceLineForm.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm/PurchaseInvoiceLineForm.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm/index.tsdeleted file mode 100644index 7306512f89..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceLineForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoiceLineForm from "./PurchaseInvoiceLineForm";--export default PurchaseInvoiceLineForm;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal/PurchaseInvoicePostModal.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal/PurchaseInvoicePostModal.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal/index.tsdeleted file mode 100644index a96471ebf0..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicePostModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoicePostModal from "./PurchaseInvoicePostModal";--export default PurchaseInvoicePostModal;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus/PurchaseInvoicingStatus.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus/PurchaseInvoicingStatus.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus/index.tsdeleted file mode 100644index 081aaf92ea..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicingStatus/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import InvoicingStatus from "./PurchaseInvoicingStatus";--export default InvoicingStatus;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable/PurchaseInvoicesTable.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable/PurchaseInvoicesTable.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable/index.tsdeleted file mode 100644index 20eb703746..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoicesTable from "./PurchaseInvoicesTable";--export default PurchaseInvoicesTable;diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsxrename to apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters.tsxdiff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/index.ts b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/index.tsdeleted file mode 100644index 132ef7b7f8..0000000000--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseInvoicesTableFilters from "./PurchaseInvoicesTableFilters";--export default PurchaseInvoicesTableFilters;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartCostingForm/PartCostingForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartCostingForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartCostingForm/PartCostingForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartCostingForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartCostingForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartCostingForm/index.tsdeleted file mode 100644index 1a274660db..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartCostingForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartCostingForm from "./PartCostingForm";--export default PartCostingForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartForm/index.tsdeleted file mode 100644index aace59b8a1..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartForm from "./PartForm";--export default PartForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartInventoryForm/PartInventoryForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartInventoryForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartInventoryForm/PartInventoryForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartInventoryForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartInventoryForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartInventoryForm/index.tsdeleted file mode 100644index 85895a2460..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartInventoryForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartInventoryForm from "./PartInventoryForm";--export default PartInventoryForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm/PartManufacturingForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm/PartManufacturingForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm/index.tsdeleted file mode 100644index c030e3a122..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartManufacturingForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartManufacturingForm from "./PartManufacturingForm";--export default PartManufacturingForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartPlanningForm/PartPlanningForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartPlanningForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartPlanningForm/PartPlanningForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartPlanningForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartPlanningForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartPlanningForm/index.tsdeleted file mode 100644index 76a00061bd..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartPlanningForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartPlanningForm from "./PartPlanningForm";--export default PartPlanningForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsx b/apps/carbon/app/modules/parts/ui/Part/PartPreview.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartPreview.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartPreview/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartPreview/index.tsdeleted file mode 100644index 98c18c14da..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartPreview/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartPreview from "./PartPreview";--export default PartPreview;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm/PartPurchasingForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm/PartPurchasingForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm/index.tsdeleted file mode 100644index e06475c8ec..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartPurchasingForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartPurchasingForm from "./PartPurchasingForm";--export default PartPurchasingForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm/PartSalePriceForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm/PartSalePriceForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm/index.tsdeleted file mode 100644index 029d2459fb..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartSalePriceForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartSalePriceForm from "./PartSalePriceForm";--export default PartSalePriceForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/PartSupplierForm/PartSupplierForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartSupplierForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Part/PartSupplierForm/PartSupplierForm.tsxrename to apps/carbon/app/modules/parts/ui/Part/PartSupplierForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Part/PartSupplierForm/index.ts b/apps/carbon/app/modules/parts/ui/Part/PartSupplierForm/index.tsdeleted file mode 100644index 2cc49a0875..0000000000--- a/apps/carbon/app/modules/parts/ui/Part/PartSupplierForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartSupplierForm from "./PartSupplierForm";--export default PartSupplierForm;diff --git a/apps/carbon/app/modules/parts/ui/Part/index.ts b/apps/carbon/app/modules/parts/ui/Part/index.tsindex ee73974235..9b61d68d68 100644--- a/apps/carbon/app/modules/parts/ui/Part/index.ts+++ b/apps/carbon/app/modules/parts/ui/Part/index.ts@@ -14,9 +14,9 @@ export {PartCostingForm,PartForm,PartInventoryForm,+ PartManufacturingForm,PartPlanningForm,PartPreview,- PartManufacturingForm,PartPurchasingForm,PartSalePriceForm,PartSidebar,diff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm/PartGroupForm.tsx b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm/PartGroupForm.tsxrename to apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm/index.ts b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm/index.tsdeleted file mode 100644index 4f38fd77ed..0000000000--- a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartGroupForm from "./PartGroupForm";--export default PartGroupForm;diff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable/PartGroupsTable.tsx b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable/PartGroupsTable.tsxrename to apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable.tsxdiff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable/index.ts b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable/index.tsdeleted file mode 100644index 9ceb279c29..0000000000--- a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartGroupsTable from "./PartGroupsTable";--export default PartGroupsTable;diff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsx b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsxrename to apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters.tsxdiff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/index.ts b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/index.tsdeleted file mode 100644index 4bd33b238b..0000000000--- a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartGroupsTableFilters from "./PartGroupsTableFilters";--export default PartGroupsTableFilters;diff --git a/apps/carbon/app/modules/parts/ui/Parts/PartsTable/PartsTable.tsx b/apps/carbon/app/modules/parts/ui/Parts/PartsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Parts/PartsTable/PartsTable.tsxrename to apps/carbon/app/modules/parts/ui/Parts/PartsTable.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Parts/PartsTable/index.ts b/apps/carbon/app/modules/parts/ui/Parts/PartsTable/index.tsdeleted file mode 100644index e0b6a661a1..0000000000--- a/apps/carbon/app/modules/parts/ui/Parts/PartsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartsTable from "./PartsTable";--export default PartsTable;diff --git a/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsx b/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsxrename to apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/index.ts b/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/index.tsdeleted file mode 100644index 7180390d60..0000000000--- a/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartsTableFilters from "./PartsTableFilters";--export default PartsTableFilters;diff --git a/apps/carbon/app/modules/parts/ui/Routing/PartsTree/PartsTree.tsx b/apps/carbon/app/modules/parts/ui/Routing/PartsTree.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Routing/PartsTree/PartsTree.tsxrename to apps/carbon/app/modules/parts/ui/Routing/PartsTree.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Routing/PartsTree/index.ts b/apps/carbon/app/modules/parts/ui/Routing/PartsTree/index.tsdeleted file mode 100644index a0a33672da..0000000000--- a/apps/carbon/app/modules/parts/ui/Routing/PartsTree/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartsTree from "./PartsTree";--export default PartsTree;diff --git a/apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsx b/apps/carbon/app/modules/parts/ui/Service/ServiceForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsxrename to apps/carbon/app/modules/parts/ui/Service/ServiceForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Service/ServiceForm/index.ts b/apps/carbon/app/modules/parts/ui/Service/ServiceForm/index.tsdeleted file mode 100644index 147b4e46b4..0000000000--- a/apps/carbon/app/modules/parts/ui/Service/ServiceForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ServiceForm from "./ServiceForm";--export default ServiceForm;diff --git a/apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsx b/apps/carbon/app/modules/parts/ui/Service/ServicePreview.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsxrename to apps/carbon/app/modules/parts/ui/Service/ServicePreview.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Service/ServicePreview/index.ts b/apps/carbon/app/modules/parts/ui/Service/ServicePreview/index.tsdeleted file mode 100644index 47ce0ada47..0000000000--- a/apps/carbon/app/modules/parts/ui/Service/ServicePreview/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ServicePreview from "./ServicePreview";--export default ServicePreview;diff --git a/apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm/ServiceSupplierForm.tsx b/apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm/ServiceSupplierForm.tsxrename to apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm/index.ts b/apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm/index.tsdeleted file mode 100644index 0b4d70eeaa..0000000000--- a/apps/carbon/app/modules/parts/ui/Service/ServiceSupplierForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ServiceSupplierForm from "./ServiceSupplierForm";--export default ServiceSupplierForm;diff --git a/apps/carbon/app/modules/parts/ui/Services/ServicesTable/ServicesTable.tsx b/apps/carbon/app/modules/parts/ui/Services/ServicesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Services/ServicesTable/ServicesTable.tsxrename to apps/carbon/app/modules/parts/ui/Services/ServicesTable.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Services/ServicesTable/index.ts b/apps/carbon/app/modules/parts/ui/Services/ServicesTable/index.tsdeleted file mode 100644index f82fd3dff7..0000000000--- a/apps/carbon/app/modules/parts/ui/Services/ServicesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ServicesTable from "./ServicesTable";--export default ServicesTable;diff --git a/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsx b/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsxrename to apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters.tsxdiff --git a/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/index.ts b/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/index.tsdeleted file mode 100644index 5d65cd633f..0000000000--- a/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ServicesTableFilters from "./ServicesTableFilters";--export default ServicesTableFilters;diff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm/UnitOfMeasureForm.tsx b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm/UnitOfMeasureForm.tsxrename to apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm.tsxdiff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm/index.ts b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm/index.tsdeleted file mode 100644index 27ed28fa35..0000000000--- a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasureForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import UnitOfMeasureForm from "./UnitOfMeasureForm";--export default UnitOfMeasureForm;diff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable/UnitOfMeasuresTable.tsx b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable/UnitOfMeasuresTable.tsxrename to apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable.tsxdiff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable/index.ts b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable/index.tsdeleted file mode 100644index b340f6f46d..0000000000--- a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import UnitOfMeasuresTable from "./UnitOfMeasuresTable";--export default UnitOfMeasuresTable;diff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsx b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsxrename to apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters.tsxdiff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/index.ts b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/index.tsdeleted file mode 100644index a000227b84..0000000000--- a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import UnitOfMeasuresTableFilters from "./UnitOfMeasuresTableFilters";--export default UnitOfMeasuresTableFilters;diff --git a/apps/carbon/app/modules/purchasing/purchasing.models.ts b/apps/carbon/app/modules/purchasing/purchasing.models.tsindex a7d4576a3a..14e82bf155 100644--- a/apps/carbon/app/modules/purchasing/purchasing.models.ts+++ b/apps/carbon/app/modules/purchasing/purchasing.models.ts@@ -169,7 +169,7 @@ export const purchaseOrderReleaseValidator = withZod());-const requestForQuoteStatusType = [+export const requestForQuoteStatusType = ["Draft","Sent","Expired",diff --git a/apps/carbon/app/modules/purchasing/purchasing.service.ts b/apps/carbon/app/modules/purchasing/purchasing.service.tsindex 690822d974..8f8327c9d0 100644--- a/apps/carbon/app/modules/purchasing/purchasing.service.ts+++ b/apps/carbon/app/modules/purchasing/purchasing.service.ts@@ -198,6 +198,39 @@ export async function getPurchaseOrderSuppliers(return client.from("purchaseOrderSuppliers").select("id, name");}+export async function getRequestsForQuotes(+ client: SupabaseClient<Database>,+ args: GenericQueryFilters & {+ search: string | null;+ status: string | null;+ supplierId: string | null;+ partId: string | null;+ }+) {+ let query = client.from("requestForQuotes").select("*", { count: "exact" });++ if (args.search) {+ query = query.or(+ `id.ilike.%${args.search}%,name.ilike.%${args.search}%,description.ilike.%${args.search}%`+ );+ }++ if (args.status) {+ query = query.eq("status", args.status);+ }++ if (args.supplierId) {+ query = query.contains("supplierIds", [args.supplierId]);+ }++ if (args.partId) {+ query = query.contains("partIds", [args.partId]);+ }++ query = setGenericQueryFilters(query, args, "id", false);+ return query;+}+export async function getSupplier(client: SupabaseClient<Database>,supplierId: stringdiff --git a/apps/carbon/app/modules/purchasing/types.ts b/apps/carbon/app/modules/purchasing/types.tsindex 9f46e6cc68..ef8e97761d 100644--- a/apps/carbon/app/modules/purchasing/types.ts+++ b/apps/carbon/app/modules/purchasing/types.ts@@ -3,6 +3,7 @@ import type {getExternalDocuments,getPurchaseOrderLines,getPurchaseOrders,+ getRequestsForQuotes,getSupplier,getSupplierContacts,getSupplierLocations,@@ -36,6 +37,10 @@ export type PurchaseOrderType =export type PurchaseOrderTransactionType =Database["public"]["Enums"]["purchaseOrderTransactionType"];+export type RequestForQuote = NonNullable<+ Awaited<ReturnType<typeof getRequestsForQuotes>>["data"]+>[number];+export type Supplier = NonNullable<Awaited<ReturnType<typeof getSuppliers>>["data"]>[number];diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/PurchaseOrdersTable.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable.tsxsimilarity index 99%rename from apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/PurchaseOrdersTable.tsxrename to apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable.tsxindex 4954563720..51a4dff2e9 100644--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/PurchaseOrdersTable.tsx+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable.tsx@@ -19,7 +19,7 @@ import type {} from "~/modules/purchasing";import { PurchasingStatus } from "~/modules/purchasing";import { path } from "~/utils/path";-import { usePurchaseOrder } from "../usePurchaseOrder";+import { usePurchaseOrder } from "./usePurchaseOrder";type PurchaseOrdersTableProps = {data: PurchaseOrder[];diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/index.ts b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/index.tsdeleted file mode 100644index e1ae2054e9..0000000000--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseOrdersTable from "./PurchaseOrdersTable";--export default PurchaseOrdersTable;diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsxrename to apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/index.ts b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/index.tsdeleted file mode 100644index ed0ac3f694..0000000000--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PurchaseOrdersTableFilters from "./PurchaseOrdersTableFilters";--export default PurchaseOrdersTableFilters;diff --git a/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTable.tsx b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTable.tsxnew file mode 100644index 0000000000..4f9340aa5a--- /dev/null+++ b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTable.tsx@@ -0,0 +1,149 @@+import { memo } from "react";+import type { RequestForQuote } from "~/modules/purchasing";+// import { RequestForQuoteStatus } from "~/modules/purchasing";++type RequestForQuotesTableProps = {+ data: RequestForQuote[];+ count: number;+};++const RequestForQuotesTable = memo(+ ({ data, count }: RequestForQuotesTableProps) => {+ console.log({ data, count });+ return null;+ // const permissions = usePermissions();++ // const columns = useMemo<ColumnDef<RequestForQuote>[]>(() => {+ // return [+ // {+ // accessorKey: "requestForQuoteId",+ // header: "Name",+ // cell: ({ row }) => (+ // <HStack>+ // <Hyperlink onClick={() => alert("TODO")}>+ // {row.original.name}+ // </Hyperlink>+ // </HStack>+ // ),+ // },+ // {+ // accessorKey: "supplierName",+ // header: "Supplier",+ // cell: (item) => item.getValue(),+ // },+ // {+ // accessorKey: "orderDate",+ // header: "Order Date",+ // cell: (item) => item.getValue(),+ // },+ // {+ // accessorKey: "status",+ // header: "Status",+ // cell: (item) => {+ // const status =+ // item.getValue<(typeof requestForQuoteStatusType)[number]>();+ // return <RequestForQuoteStatus status={status} />;+ // },+ // },+ // {+ // accessorKey: "receiptPromisedDate",+ // header: "Promised Date",+ // cell: (item) => item.getValue(),+ // },+ // {+ // accessorKey: "createdByFullName",+ // header: "Created By",+ // cell: ({ row }) => {+ // return (+ // <HStack>+ // <Avatar size="sm" path={row.original.createdByAvatar} />+ // <p>{row.original.createdByFullName}</p>+ // </HStack>+ // );+ // },+ // },+ // {+ // accessorKey: "createdAt",+ // header: "Created At",+ // cell: (item) => item.getValue(),+ // },+ // {+ // accessorKey: "updatedByFullName",+ // header: "Updated By",+ // cell: ({ row }) => {+ // return row.original.updatedByFullName ? (+ // <HStack>+ // <Avatar size="sm" path={row.original.updatedByAvatar ?? null} />+ // <p>{row.original.updatedByFullName}</p>+ // </HStack>+ // ) : null;+ // },+ // },+ // {+ // accessorKey: "updatedAt",+ // header: "Updated At",+ // cell: (item) => item.getValue(),+ // },+ // ];+ // }, []);++ // const defaultColumnVisibility = {+ // createdAt: false,+ // createdByFullName: false,+ // receiptPromisedDate: false,+ // updatedAt: false,+ // updatedByFullName: false,+ // };++ // const renderContextMenu = useMemo(() => {+ // // eslint-disable-next-line react/display-name+ // return (row: RequestForQuote) => (+ // <>+ // <MenuItem+ // disabled={!permissions.can("view", "purchasing")}+ // onClick={() => alert("TODO")}+ // >+ // <MenuIcon icon={<BsFillPenFill />} />+ // Edit+ // </MenuItem>+ // <MenuItem+ // onClick={() => {+ // alert("TODO");+ // }}+ // >+ // <MenuIcon icon={<BsStar />} />+ // Favorite+ // </MenuItem>++ // <MenuItem+ // disabled={!permissions.can("delete", "purchasing")}+ // onClick={() => alert("TODO")}+ // >+ // <MenuIcon icon={<IoMdTrash />} />+ // Delete+ // </MenuItem>+ // </>+ // );+ // }, [permissions]);++ // return (+ // <>+ // <Table<RequestForQuote>+ // count={count}+ // columns={columns}+ // data={data}+ // defaultColumnVisibility={defaultColumnVisibility}+ // withColumnOrdering+ // withFilters+ // withPagination+ // withSimpleSorting+ // renderContextMenu={renderContextMenu}+ // />+ // </>+ // );+ }+);++RequestForQuotesTable.displayName = "RequestForQuotesTable";++export default RequestForQuotesTable;diff --git a/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTableFilters.tsxnew file mode 100644index 0000000000..973071744c--- /dev/null+++ b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/RequestForQuotesTableFilters.tsx@@ -0,0 +1,88 @@+import { Button, HStack } from "@carbon/react";+import { Link } from "@remix-run/react";+import { IoMdAdd } from "react-icons/io";+import { Combobox, Select } from "~/components";+import { TableFilters } from "~/components/Layout";+import { DebouncedInput } from "~/components/Search";+import { usePermissions, useUrlParams } from "~/hooks";+import { requestForQuoteStatusType } from "~/modules/purchasing";+import { useParts, useSuppliers } from "~/stores";+import { path } from "~/utils/path";++const RequestForQuotesTableFilters = () => {+ const [suppliers] = useSuppliers();+ const [parts] = useParts();+ const [params, setParams] = useUrlParams();+ const permissions = usePermissions();++ const supplierOptions = suppliers+ .filter((supplier) => supplier.id && supplier.name)+ .map((supplier) => ({+ label: supplier.name,+ value: supplier.id,+ }));++ const partOptions = parts+ .filter((part) => part.id && part.name)+ .map((part) => ({+ label: part.name,+ value: part.id,+ }));++ const requestForQuoteStatusOptions = requestForQuoteStatusType.map(+ (status) => ({+ label: status,+ value: status,+ })+ );++ return (+ <TableFilters>+ <HStack>+ <DebouncedInput param="search" size="sm" placeholder="Search" />+ <Select+ size="sm"+ value={params.get("status") ?? ""}+ isClearable+ options={requestForQuoteStatusOptions}+ onChange={(selected) => {+ setParams({ status: selected });+ }}+ aria-label="Status"+ placeholder="Status"+ />+ <Combobox+ size="sm"+ value={params.get("supplierId") ?? ""}+ isClearable+ options={supplierOptions}+ onChange={(selected) => {+ setParams({ supplierId: selected });+ }}+ aria-label="Supplier"+ placeholder="Supplier"+ />+ <Combobox+ size="sm"+ value={params.get("partId") ?? ""}+ isClearable+ options={partOptions}+ onChange={(selected) => {+ setParams({ partId: selected });+ }}+ aria-label="Part"+ placeholder="Part"+ />+ </HStack>+ <HStack>+ {permissions.can("create", "purchasing") && (+ <Button asChild leftIcon={<IoMdAdd />}>+ <Link to={path.to.newRequestForQuote}>New RFQ</Link>+ </Button>+ )}+ </HStack>+ </TableFilters>+ );+};++export default RequestForQuotesTableFilters;diff --git a/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/index.ts b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/index.tsnew file mode 100644index 0000000000..fcb7803204--- /dev/null+++ b/apps/carbon/app/modules/purchasing/ui/RequestForQuotes/index.ts@@ -0,0 +1,4 @@+import RequestForQuotesTable from "./RequestForQuotesTable";+import RequestForQuotesTableFilters from "./RequestForQuotesTableFilters";++export { RequestForQuotesTable, RequestForQuotesTableFilters };diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm/SupplierContactForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm/SupplierContactForm.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm/index.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm/index.tsxdeleted file mode 100644index bb71398f9e..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm/index.tsx+++ /dev/null@@ -1,3 +0,0 @@-import SupplierContactForm from "./SupplierContactForm";--export default SupplierContactForm;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/index.tsdeleted file mode 100644index 4e6da35e8f..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierContacts from "./SupplierContacts";--export default SupplierContacts;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/index.tsdeleted file mode 100644index ed1e84d2b7..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierForm from "./SupplierForm";--export default SupplierForm;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader.tsxsimilarity index 93%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader.tsxindex cd9b1c1bf9..64c359cc65 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader.tsx@@ -76,10 +76,7 @@ const SupplierHeader = () => {<CardAttributeLabel>Payment Terms</CardAttributeLabel><CardAttributeValue>{/* // TODO: defaultPaymentTermId */}- {sharedSupplierData?.paymentTerms?.find(- (term) =>- term.id === routeData?.supplier?.defaultPaymentTermId- )?.name ?? "--"}+ --</CardAttributeValue></CardAttribute></CardAttributes>diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/index.tsdeleted file mode 100644index bb88c2030d..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierHeader from "./SupplierHeader";--export default SupplierHeader;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm/SupplierLocationForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm/SupplierLocationForm.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm/index.tsdeleted file mode 100644index 3f1859db3c..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocationForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierLocationForm from "./SupplierLocationForm";--export default SupplierLocationForm;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/index.tsdeleted file mode 100644index 307b65b822..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierLocations from "./SupplierLocations";--export default SupplierLocations;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm/SupplierPaymentForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm/SupplierPaymentForm.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm/index.tsdeleted file mode 100644index e0e682cb8e..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierPaymentForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierPaymentForm from "./SupplierPaymentForm";--export default SupplierPaymentForm;diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm/SupplierShippingForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm/SupplierShippingForm.tsxrename to apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm/index.ts b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm/index.tsdeleted file mode 100644index 6d74129dbd..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierShippingForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierShippingForm from "./SupplierShippingForm";--export default SupplierShippingForm;diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsxrename to apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm/index.ts b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm/index.tsdeleted file mode 100644index 17448614fc..0000000000--- a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierTypeForm from "./SupplierTypeForm";--export default SupplierTypeForm;diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable/SupplierTypesTable.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable/SupplierTypesTable.tsxrename to apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable/index.ts b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable/index.tsdeleted file mode 100644index 2bb37f3f4e..0000000000--- a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierTypesTable from "./SupplierTypesTable";--export default SupplierTypesTable;diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsxrename to apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/index.ts b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/index.tsdeleted file mode 100644index 551303386f..0000000000--- a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SupplierTypesTableFilters from "./SupplierTypesTableFilters";--export default SupplierTypesTableFilters;diff --git a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable/SuppliersTable.tsx b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable/SuppliersTable.tsxrename to apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable/index.ts b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable/index.tsdeleted file mode 100644index 733d42d3b6..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SuppliersTable from "./SuppliersTable";--export default SuppliersTable;diff --git a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsxrename to apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters.tsxdiff --git a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/index.ts b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/index.tsdeleted file mode 100644index 0136d93af5..0000000000--- a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import SuppliersTableFilters from "./SuppliersTableFilters";--export default SuppliersTableFilters;diff --git a/apps/carbon/app/modules/purchasing/ui/index.ts b/apps/carbon/app/modules/purchasing/ui/index.tsindex 9acc07cbed..bb2ee9cce7 100644--- a/apps/carbon/app/modules/purchasing/ui/index.ts+++ b/apps/carbon/app/modules/purchasing/ui/index.ts@@ -2,7 +2,8 @@ import usePurchasingSidebar from "./usePurchasingSidebar";export * from "./PurchaseOrder";export * from "./PurchaseOrders";+export * from "./RequestForQuotes";export * from "./Supplier";-export * from "./Suppliers";export * from "./SupplierTypes";+export * from "./Suppliers";export { usePurchasingSidebar };diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/AbilitiesTable.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsxsimilarity index 98%rename from apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/AbilitiesTable.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsxindex a8572c7c87..58d48381cf 100644--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/AbilitiesTable.tsx+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable.tsx@@ -15,7 +15,7 @@ import { Avatar, Table } from "~/components";import { usePermissions } from "~/hooks";import type { Abilities, AbilityDatum } from "~/modules/resources";import { path } from "~/utils/path";-import AbilityChart from "../AbilityChart";+import AbilityChart from "./AbilityChart";type AbilitiesTableProps = {data: Abilities;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/index.tsdeleted file mode 100644index 06226f4198..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AbilitiesTable from "./AbilitiesTable";--export default AbilitiesTable;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/index.tsdeleted file mode 100644index 9d1df7d801..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AbilitiesTableFilters from "./AbilitiesTableFilters";--export default AbilitiesTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityChart/AbilityChart.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilityChart.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Abilities/AbilityChart/AbilityChart.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/AbilityChart.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityChart/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/AbilityChart/index.tsdeleted file mode 100644index d46627c229..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityChart/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AbilityChart from "./AbilityChart";--export default AbilityChart;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/AbilityEmployeesTable.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsxsimilarity index 97%rename from apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/AbilityEmployeesTable.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsxindex bc87a04546..3740f1f12d 100644--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/AbilityEmployeesTable.tsx+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx@@ -104,10 +104,7 @@ const AbilityEmployeesTable = ({const percentage = row.original.percentage;return (<Progress- size="md"- borderRadius="full"- maxW={200}- colorScheme="green"+ className="max-w-[200px]"value={row.original.status === AbilityEmployeeStatus.Complete? 100diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/index.tsdeleted file mode 100644index 1f0759744e..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AbilityEmployeesTable from "./AbilityEmployeesTable";--export default AbilityEmployeesTable;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityForm/AbilityForm.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilityForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Abilities/AbilityForm/AbilityForm.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/AbilityForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityForm/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/AbilityForm/index.tsdeleted file mode 100644index aa2e0a96e4..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AbilityForm from "./AbilityForm";--export default AbilityForm;diff --git a/apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm/EmployeeAbilityForm.tsx b/apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm/EmployeeAbilityForm.tsxrename to apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm/index.ts b/apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm/index.tsdeleted file mode 100644index 2c0896d6fc..0000000000--- a/apps/carbon/app/modules/resources/ui/Abilities/EmployeeAbilityForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeeAbilityForm from "./EmployeeAbilityForm";--export default EmployeeAbilityForm;diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsxrename to apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable/index.ts b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable/index.tsdeleted file mode 100644index ceb9c1b289..0000000000--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AttributesCategoriesTable from "./AttributesCategoriesTable";--export default AttributesCategoriesTable;diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/index.tsdeleted file mode 100644index 478ea508ee..0000000000--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AttributeCategoriesTableFilters from "./AttributeCategoriesTableFilters";--export default AttributeCategoriesTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsxrename to apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/index.ts b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/index.tsdeleted file mode 100644index 1ffe488d92..0000000000--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AttributeCategoryDetail from "./AttributeCategoryDetail";--export default AttributeCategoryDetail;diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsxrename to apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm/index.ts b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm/index.tsdeleted file mode 100644index f74052d036..0000000000--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AttributeCategoryForm from "./AttributeCategoryForm";--export default AttributeCategoryForm;diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/AttributeForm.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm.tsxsimilarity index 93%rename from apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/AttributeForm.tsxrename to apps/carbon/app/modules/resources/ui/Attributes/AttributeForm.tsxindex e9f25df14f..18798853f6 100644--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/AttributeForm.tsx+++ b/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm.tsx@@ -62,11 +62,15 @@ const AttributeForm = ({initialValues.attributeDataTypeId === DataType.List);- const onChangeCheckForListType = (selected: {- value: string;- label: string;- }) => {- setIsList(Number(selected.value) === DataType.List);+ const onChangeCheckForListType = (+ selected: {+ value: string;+ label: string;+ } | null+ ) => {+ setIsList(+ selected === null ? false : Number(selected.value) === DataType.List+ );};return (diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/index.ts b/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/index.tsdeleted file mode 100644index 0cb93425a9..0000000000--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import AttributeForm from "./AttributeForm";--export default AttributeForm;diff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorForm/ContractorForm.tsx b/apps/carbon/app/modules/resources/ui/Contractors/ContractorForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Contractors/ContractorForm/ContractorForm.tsxrename to apps/carbon/app/modules/resources/ui/Contractors/ContractorForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorForm/index.ts b/apps/carbon/app/modules/resources/ui/Contractors/ContractorForm/index.tsdeleted file mode 100644index 975f32c82c..0000000000--- a/apps/carbon/app/modules/resources/ui/Contractors/ContractorForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ContractorForm from "./ContractorForm";--export default ContractorForm;diff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable/ContractorsTable.tsx b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable/ContractorsTable.tsxrename to apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable/index.ts b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable/index.tsdeleted file mode 100644index f289ce4e4d..0000000000--- a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ContractorsTable from "./ContractorsTable";--export default ContractorsTable;diff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/index.tsdeleted file mode 100644index 1fca445583..0000000000--- a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ContractorsTableFilters from "./ContractorsTableFilters";--export default ContractorsTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentForm/DepartmentForm.tsx b/apps/carbon/app/modules/resources/ui/Departments/DepartmentForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Departments/DepartmentForm/DepartmentForm.tsxrename to apps/carbon/app/modules/resources/ui/Departments/DepartmentForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentForm/index.ts b/apps/carbon/app/modules/resources/ui/Departments/DepartmentForm/index.tsdeleted file mode 100644index 4a4343d871..0000000000--- a/apps/carbon/app/modules/resources/ui/Departments/DepartmentForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DepartmentForm from "./DepartmentForm";--export default DepartmentForm;diff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable/DepartmentsTable.tsx b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable/DepartmentsTable.tsxrename to apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable/index.ts b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable/index.tsdeleted file mode 100644index 1e25a11b63..0000000000--- a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DepartmentsTable from "./DepartmentsTable";--export default DepartmentsTable;diff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/index.tsdeleted file mode 100644index 3e9f5b50e2..0000000000--- a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DepartmentsTableFilters from "./DepartmentsTableFilters";--export default DepartmentsTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm/EquipmentForm.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm/EquipmentForm.tsxrename to apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm/index.ts b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm/index.tsdeleted file mode 100644index 985ea3f652..0000000000--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EquipmentForm from "./EquipmentForm";--export default EquipmentForm;diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsxrename to apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/index.ts b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/index.tsdeleted file mode 100644index 26f1002c94..0000000000--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EquipmentTypeDetail from "./EquipmentTypeDetail";--export default EquipmentTypeDetail;diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm/EquipmentTypeForm.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm/EquipmentTypeForm.tsxrename to apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm/index.ts b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm/index.tsdeleted file mode 100644index 530695073b..0000000000--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EquipmentTypesForm from "./EquipmentTypeForm";--export default EquipmentTypesForm;diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsxrename to apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/index.ts b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/index.tsdeleted file mode 100644index 5110c8d301..0000000000--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EquipmentTypesTable from "./EquipmentTypesTable";--export default EquipmentTypesTable;diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/index.tsdeleted file mode 100644index 9e622b3377..0000000000--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EquipmentTypesTableFilters from "./EquipmentTypesTableFilters";--export default EquipmentTypesTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidayForm/HolidayForm.tsx b/apps/carbon/app/modules/resources/ui/Holidays/HolidayForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Holidays/HolidayForm/HolidayForm.tsxrename to apps/carbon/app/modules/resources/ui/Holidays/HolidayForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidayForm/index.ts b/apps/carbon/app/modules/resources/ui/Holidays/HolidayForm/index.tsdeleted file mode 100644index 3f91d5dc18..0000000000--- a/apps/carbon/app/modules/resources/ui/Holidays/HolidayForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import HolidayForm from "./HolidayForm";--export default HolidayForm;diff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable/HolidaysTable.tsx b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable/HolidaysTable.tsxrename to apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable/index.ts b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable/index.tsdeleted file mode 100644index 2db43957c4..0000000000--- a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import HolidaysTable from "./HolidaysTable";--export default HolidaysTable;diff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/index.tsdeleted file mode 100644index decb1648eb..0000000000--- a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import HolidaysTableFilters from "./HolidaysTableFilters";--export default HolidaysTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationForm/LocationForm.tsx b/apps/carbon/app/modules/resources/ui/Locations/LocationForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Locations/LocationForm/LocationForm.tsxrename to apps/carbon/app/modules/resources/ui/Locations/LocationForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationForm/index.ts b/apps/carbon/app/modules/resources/ui/Locations/LocationForm/index.tsdeleted file mode 100644index cc681fea4b..0000000000--- a/apps/carbon/app/modules/resources/ui/Locations/LocationForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import LocationForm from "./LocationForm";--export default LocationForm;diff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTable/LocationsTable.tsx b/apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Locations/LocationsTable/LocationsTable.tsxrename to apps/carbon/app/modules/resources/ui/Locations/LocationsTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTable/index.ts b/apps/carbon/app/modules/resources/ui/Locations/LocationsTable/index.tsdeleted file mode 100644index 1434ab470d..0000000000--- a/apps/carbon/app/modules/resources/ui/Locations/LocationsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import LocationsTable from "./LocationsTable";--export default LocationsTable;diff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/index.tsdeleted file mode 100644index 917f62228f..0000000000--- a/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import LocationsTableFilters from "./LocationsTableFilters";--export default LocationsTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnerForm/PartnerForm.tsx b/apps/carbon/app/modules/resources/ui/Partners/PartnerForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Partners/PartnerForm/PartnerForm.tsxrename to apps/carbon/app/modules/resources/ui/Partners/PartnerForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnerForm/index.ts b/apps/carbon/app/modules/resources/ui/Partners/PartnerForm/index.tsdeleted file mode 100644index 14124cdb70..0000000000--- a/apps/carbon/app/modules/resources/ui/Partners/PartnerForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartnerForm from "./PartnerForm";--export default PartnerForm;diff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTable/PartnersTable.tsx b/apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Partners/PartnersTable/PartnersTable.tsxrename to apps/carbon/app/modules/resources/ui/Partners/PartnersTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTable/index.ts b/apps/carbon/app/modules/resources/ui/Partners/PartnersTable/index.tsdeleted file mode 100644index 082843e88e..0000000000--- a/apps/carbon/app/modules/resources/ui/Partners/PartnersTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartnersTable from "./PartnersTable";--export default PartnersTable;diff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/index.tsdeleted file mode 100644index 2b1d86f2c2..0000000000--- a/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PartnersTableFilters from "./PartnersTableFilters";--export default PartnersTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/People/PeopleTable/PeopleTable.tsx b/apps/carbon/app/modules/resources/ui/People/PeopleTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/People/PeopleTable/PeopleTable.tsxrename to apps/carbon/app/modules/resources/ui/People/PeopleTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/People/PeopleTable/index.ts b/apps/carbon/app/modules/resources/ui/People/PeopleTable/index.tsdeleted file mode 100644index dbe39e96c6..0000000000--- a/apps/carbon/app/modules/resources/ui/People/PeopleTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PeopleTable from "./PeopleTable";--export default PeopleTable;diff --git a/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsx b/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/People/PeopleTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/index.tsdeleted file mode 100644index c074c31be6..0000000000--- a/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PeopleTableFilters from "./PeopleTableFilters";--export default PeopleTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonAbilities.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsxrename to apps/carbon/app/modules/resources/ui/Person/PersonAbilities.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/index.ts b/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/index.tsdeleted file mode 100644index 8596cdf253..0000000000--- a/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonAbiltiies from "./PersonAbilities";--export default PersonAbiltiies;diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonDaysOff/PersonDaysOff.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonDaysOff.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Person/PersonDaysOff/PersonDaysOff.tsxrename to apps/carbon/app/modules/resources/ui/Person/PersonDaysOff.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Person/PersonDaysOff/index.ts b/apps/carbon/app/modules/resources/ui/Person/PersonDaysOff/index.tsdeleted file mode 100644index ea3616d18e..0000000000--- a/apps/carbon/app/modules/resources/ui/Person/PersonDaysOff/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonDaysOff from "./PersonDaysOff";--export default PersonDaysOff;diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonJob/PersonJob.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonJob.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Person/PersonJob/PersonJob.tsxrename to apps/carbon/app/modules/resources/ui/Person/PersonJob.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Person/PersonJob/index.ts b/apps/carbon/app/modules/resources/ui/Person/PersonJob/index.tsdeleted file mode 100644index 813374a8ce..0000000000--- a/apps/carbon/app/modules/resources/ui/Person/PersonJob/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonJob from "./PersonJob";--export default PersonJob;diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonOvertime/PersonOvertime.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonOvertime.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Person/PersonOvertime/PersonOvertime.tsxrename to apps/carbon/app/modules/resources/ui/Person/PersonOvertime.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Person/PersonOvertime/index.ts b/apps/carbon/app/modules/resources/ui/Person/PersonOvertime/index.tsdeleted file mode 100644index d2cee756d4..0000000000--- a/apps/carbon/app/modules/resources/ui/Person/PersonOvertime/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonOvertime from "./PersonOvertime";--export default PersonOvertime;diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonPreview/PersonPreview.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonPreview.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Person/PersonPreview/PersonPreview.tsxrename to apps/carbon/app/modules/resources/ui/Person/PersonPreview.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Person/PersonPreview/index.ts b/apps/carbon/app/modules/resources/ui/Person/PersonPreview/index.tsdeleted file mode 100644index 79bea6c99f..0000000000--- a/apps/carbon/app/modules/resources/ui/Person/PersonPreview/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import PersonPreview from "./PersonPreview";--export default PersonPreview;diff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftForm/ShiftForm.tsx b/apps/carbon/app/modules/resources/ui/Shifts/ShiftForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Shifts/ShiftForm/ShiftForm.tsxrename to apps/carbon/app/modules/resources/ui/Shifts/ShiftForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftForm/index.ts b/apps/carbon/app/modules/resources/ui/Shifts/ShiftForm/index.tsdeleted file mode 100644index 0355f4858a..0000000000--- a/apps/carbon/app/modules/resources/ui/Shifts/ShiftForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShiftForm from "./ShiftForm";--export default ShiftForm;diff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable/ShiftsTable.tsx b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable/ShiftsTable.tsxrename to apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable/index.ts b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable/index.tsdeleted file mode 100644index ad11d6ab3d..0000000000--- a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShiftsTable from "./ShiftsTable";--export default ShiftsTable;diff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/index.tsdeleted file mode 100644index 58685e9ad8..0000000000--- a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ShiftsTableFilters from "./ShiftsTableFilters";--export default ShiftsTableFilters;diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm/WorkCellForm.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm/WorkCellForm.tsxrename to apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm/index.ts b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm/index.tsdeleted file mode 100644index 6842e71759..0000000000--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import WorkCellForm from "./WorkCellForm";--export default WorkCellForm;diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsxrename to apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail.tsxdiff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/index.ts b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/index.tsdeleted file mode 100644index 8ff14dd86b..0000000000--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import WorkCellTypeDetail from "./WorkCellTypeDetail";--export default WorkCellTypeDetail;diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm/WorkCellTypeForm.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm/WorkCellTypeForm.tsxrename to apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm.tsxdiff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm/index.ts b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm/index.tsdeleted file mode 100644index a9636b8d59..0000000000--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import WorkCellTypeForm from "./WorkCellTypeForm";--export default WorkCellTypeForm;diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsxrename to apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable.tsxdiff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/index.ts b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/index.tsdeleted file mode 100644index 8e0e4f389e..0000000000--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import WorkCellTypesTable from "./WorkCellTypesTable";--export default WorkCellTypesTable;diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsxrename to apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters.tsxdiff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/index.ts b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/index.tsdeleted file mode 100644index 397f00b91c..0000000000--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import WorkCellTypesTableFilters from "./WorkCellTypesTableFilters";--export default WorkCellTypesTableFilters;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm/CustomerContactForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm/CustomerContactForm.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm/index.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm/index.tsxdeleted file mode 100644index 9da6f144fc..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerContactForm/index.tsx+++ /dev/null@@ -1,3 +0,0 @@-import CustomerContactForm from "./CustomerContactForm";--export default CustomerContactForm;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerContacts.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/index.tsdeleted file mode 100644index 4ca1bc15e6..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerContacts from "./CustomerContacts";--export default CustomerContacts;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/index.tsdeleted file mode 100644index 80153745e0..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerForm from "./CustomerForm";--export default CustomerForm;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader.tsxsimilarity index 90%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerHeader.tsxindex 7862b3e201..75419e5a84 100644--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader.tsx@@ -68,15 +68,12 @@ const CustomerHeader = () => {)?.name ?? "--"}</CardAttributeValue></CardAttribute>- <CardAttribute>+ {/* <CardAttribute><CardAttributeLabel>Payment Terms</CardAttributeLabel><CardAttributeValue>- {sharedCustomerData?.paymentTerms?.find(- (term) =>- term.id === routeData?.customer?.defaultPaymentTermId- )?.name ?? "--"}+</CardAttributeValue>- </CardAttribute>+ </CardAttribute> */}</CardAttributes></CardContent></Card>diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/index.tsdeleted file mode 100644index 0569b423a7..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerHeader from "./CustomerHeader";--export default CustomerHeader;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm/CustomerLocationForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm/CustomerLocationForm.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm/index.tsdeleted file mode 100644index 35df58bce6..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocationForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerLocationForm from "./CustomerLocationForm";--export default CustomerLocationForm;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerLocations.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/index.tsdeleted file mode 100644index 90bffd6e65..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerLocations from "./CustomerLocations";--export default CustomerLocations;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm/CustomerPaymentForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm/CustomerPaymentForm.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm/index.tsdeleted file mode 100644index 3a93b1a28a..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerPaymentForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerPaymentForm from "./CustomerPaymentForm";--export default CustomerPaymentForm;diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm/CustomerShippingForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm/CustomerShippingForm.tsxrename to apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm/index.ts b/apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm/index.tsdeleted file mode 100644index ef689058a5..0000000000--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerShippingForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerShippingForm from "./CustomerShippingForm";--export default CustomerShippingForm;diff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsx b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsxrename to apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm.tsxdiff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm/index.ts b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm/index.tsdeleted file mode 100644index 9afadaf30c..0000000000--- a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerTypeForm from "./CustomerTypeForm";--export default CustomerTypeForm;diff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable/CustomerTypesTable.tsx b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable/CustomerTypesTable.tsxrename to apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsxdiff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable/index.ts b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable/index.tsdeleted file mode 100644index 7c52ef6811..0000000000--- a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerTypesTable from "./CustomerTypesTable";--export default CustomerTypesTable;diff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsx b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsxrename to apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters.tsxdiff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/index.ts b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/index.tsdeleted file mode 100644index 0f3529f802..0000000000--- a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerTypesTableFilters from "./CustomerTypesTableFilters";--export default CustomerTypesTableFilters;diff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTable/CustomersTable.tsx b/apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customers/CustomersTable/CustomersTable.tsxrename to apps/carbon/app/modules/sales/ui/Customers/CustomersTable.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTable/index.ts b/apps/carbon/app/modules/sales/ui/Customers/CustomersTable/index.tsdeleted file mode 100644index c6fe5c0540..0000000000--- a/apps/carbon/app/modules/sales/ui/Customers/CustomersTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomersTable from "./CustomersTable";--export default CustomersTable;diff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsx b/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsxrename to apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters.tsxdiff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/index.ts b/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/index.tsdeleted file mode 100644index 56e106d5cf..0000000000--- a/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomersTableFilters from "./CustomersTableFilters";--export default CustomersTableFilters;diff --git a/apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal/CreateCustomerModal.tsx b/apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal/CreateCustomerModal.tsxrename to apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal.tsxdiff --git a/apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal/index.ts b/apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal/index.tsdeleted file mode 100644index 5d5da0c5ce..0000000000--- a/apps/carbon/app/modules/users/ui/Customers/CreateCustomerModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CreateCustomerModal from "./CreateCustomerModal";--export default CreateCustomerModal;diff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable/CustomerAccountsTable.tsx b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable/CustomerAccountsTable.tsxrename to apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable.tsxdiff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable/index.ts b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable/index.tsdeleted file mode 100644index bb25aef5c5..0000000000--- a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerAccountsTable from "./CustomerAccountsTable";--export default CustomerAccountsTable;diff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsx b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsxrename to apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters.tsxdiff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/index.ts b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/index.tsdeleted file mode 100644index 90c5535661..0000000000--- a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CustomerAccountsTableFilters from "./CustomerAccountsTableFilters";--export default CustomerAccountsTableFilters;diff --git a/apps/carbon/app/modules/users/ui/DeactivateUsersModal/index.ts b/apps/carbon/app/modules/users/ui/DeactivateUsersModal/index.tsdeleted file mode 100644index 00d765483f..0000000000--- a/apps/carbon/app/modules/users/ui/DeactivateUsersModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import DeactivateUsersModal from "./DeactivateUsersModal";--export default DeactivateUsersModal;diff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsx b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsxrename to apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm.tsxdiff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm/index.ts b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm/index.tsdeleted file mode 100644index 31c2b5da7d..0000000000--- a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypeForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeeTypeForm from "./EmployeeTypeForm";--export default EmployeeTypeForm;diff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable/EmployeeTypesTable.tsx b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable/EmployeeTypesTable.tsxrename to apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.tsxdiff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable/index.ts b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable/index.tsdeleted file mode 100644index d19a094bb6..0000000000--- a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeeTypesTable from "./EmployeeTypesTable";--export default EmployeeTypesTable;diff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsx b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsxrename to apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters.tsxdiff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/index.ts b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/index.tsdeleted file mode 100644index 04b5179d32..0000000000--- a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeeTypesTableFilters from "./EmployeeTypesTableFilters";--export default EmployeeTypesTableFilters;diff --git a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsx b/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm.tsxsimilarity index 98%rename from apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsxrename to apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm.tsxindex 03f868bc45..0cdec830e5 100644--- a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsx+++ b/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm.tsx@@ -17,7 +17,7 @@ import { Employees, Hidden, Radios, Submit } from "~/components/Form";import type { Permission } from "~/modules/users";import { bulkPermissionsValidator } from "~/modules/users";import { path } from "~/utils/path";-import PermissionCheckboxes from "../../components/Permission";+import PermissionCheckboxes from "../components/Permission";type BulkEditPermissionsProps = {userIds: string[];diff --git a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/index.ts b/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/index.tsdeleted file mode 100644index ca24516d50..0000000000--- a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import BulkEditPermissionsForm from "./BulkEditPermissionsForm";--export default BulkEditPermissionsForm;diff --git a/apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal/CreateEmployeeModal.tsx b/apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal/CreateEmployeeModal.tsxrename to apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal.tsxdiff --git a/apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal/index.ts b/apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal/index.tsdeleted file mode 100644index 08fed6621a..0000000000--- a/apps/carbon/app/modules/users/ui/Employees/CreateEmployeeModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import CreateEmployeeModal from "./CreateEmployeeModal";--export default CreateEmployeeModal;diff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm/EmployeePermissionsForm.tsx b/apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm/EmployeePermissionsForm.tsxrename to apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm.tsxdiff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm/index.ts b/apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm/index.tsdeleted file mode 100644index 879f602c5b..0000000000--- a/apps/carbon/app/modules/users/ui/Employees/EmployeePermissionsForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeePermissionsForm from "./EmployeePermissionsForm";--export default EmployeePermissionsForm;diff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTable/EmployeesTable.tsx b/apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Employees/EmployeesTable/EmployeesTable.tsxrename to apps/carbon/app/modules/users/ui/Employees/EmployeesTable.tsxdiff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTable/index.ts b/apps/carbon/app/modules/users/ui/Employees/EmployeesTable/index.tsdeleted file mode 100644index 23e77e8867..0000000000--- a/apps/carbon/app/modules/users/ui/Employees/EmployeesTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeesTable from "./EmployeesTable";--export default EmployeesTable;diff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsx b/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsxrename to apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters.tsxdiff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/index.ts b/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/index.tsdeleted file mode 100644index ba96d27e3a..0000000000--- a/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import EmployeesTableFilters from "./EmployeesTableFilters";--export default EmployeesTableFilters;diff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsForm/GroupsForm.tsx b/apps/carbon/app/modules/users/ui/Groups/GroupsForm.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Groups/GroupsForm/GroupsForm.tsxrename to apps/carbon/app/modules/users/ui/Groups/GroupsForm.tsxdiff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsForm/index.ts b/apps/carbon/app/modules/users/ui/Groups/GroupsForm/index.tsdeleted file mode 100644index 2d520fb68d..0000000000--- a/apps/carbon/app/modules/users/ui/Groups/GroupsForm/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import GroupForm from "./GroupsForm";--export default GroupForm;diff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTable/GroupsTable.tsx b/apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Groups/GroupsTable/GroupsTable.tsxrename to apps/carbon/app/modules/users/ui/Groups/GroupsTable.tsxdiff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTable/index.ts b/apps/carbon/app/modules/users/ui/Groups/GroupsTable/index.tsdeleted file mode 100644index 463edc52df..0000000000--- a/apps/carbon/app/modules/users/ui/Groups/GroupsTable/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import GroupsTable from "./GroupsTable";--export default GroupsTable;diff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsx b/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsxrename to apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters.tsxdiff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/index.ts b/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/index.tsdeleted file mode 100644index 4e36f01945..0000000000--- a/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import GroupsTableFilters from "./GroupsTableFilters";--export default GroupsTableFilters;diff --git a/apps/carbon/app/modules/users/ui/ResendInviteModal/index.ts b/apps/carbon/app/modules/users/ui/ResendInviteModal/index.tsdeleted file mode 100644index c05fc8fad8..0000000000--- a/apps/carbon/app/modules/users/ui/ResendInviteModal/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import ResendInviteModal from "./ResendInviteModal";--export default ResendInviteModal;diff --git a/apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsx b/apps/carbon/app/modules/users/ui/components/DeactivateUsersModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsxrename to apps/carbon/app/modules/users/ui/components/DeactivateUsersModal.tsxdiff --git a/apps/carbon/app/modules/users/ui/components/Permission/Permission.tsx b/apps/carbon/app/modules/users/ui/components/Permission.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/components/Permission/Permission.tsxrename to apps/carbon/app/modules/users/ui/components/Permission.tsxdiff --git a/apps/carbon/app/modules/users/ui/components/Permission/index.ts b/apps/carbon/app/modules/users/ui/components/Permission/index.tsdeleted file mode 100644index d0f7e6707c..0000000000--- a/apps/carbon/app/modules/users/ui/components/Permission/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import Permission from "./Permission";--export default Permission;diff --git a/apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsx b/apps/carbon/app/modules/users/ui/components/ResendInviteModal.tsxsimilarity index 100%rename from apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsxrename to apps/carbon/app/modules/users/ui/components/ResendInviteModal.tsxdiff --git a/apps/carbon/app/modules/users/ui/components/index.ts b/apps/carbon/app/modules/users/ui/components/index.tsnew file mode 100644index 0000000000..33add82a74--- /dev/null+++ b/apps/carbon/app/modules/users/ui/components/index.ts@@ -0,0 +1,5 @@+import DeactivateUsersModal from "./DeactivateUsersModal";+import Permission from "./Permission";+import ResendInviteModal from "./ResendInviteModal";++export { DeactivateUsersModal, Permission, ResendInviteModal };diff --git a/apps/carbon/app/modules/users/ui/index.ts b/apps/carbon/app/modules/users/ui/index.tsindex 0b35a63926..dd4f433e86 100644--- a/apps/carbon/app/modules/users/ui/index.ts+++ b/apps/carbon/app/modules/users/ui/index.ts@@ -1,10 +1,9 @@-import DeactivateUsersModal from "./DeactivateUsersModal";-import ResendInviteModal from "./ResendInviteModal";import useUsersSidebar from "./useUsersSidebar";-export { DeactivateUsersModal, ResendInviteModal, useUsersSidebar };export * from "./Customers";-export * from "./Employees";export * from "./EmployeeTypes";+export * from "./Employees";export * from "./Groups";export * from "./Suppliers";+export * from "./components";+export { useUsersSidebar };diff --git a/apps/carbon/app/routes/x+/purchasing+/rfqs.tsx b/apps/carbon/app/routes/x+/purchasing+/rfqs.tsxnew file mode 100644index 0000000000..7a8abd72f6--- /dev/null+++ b/apps/carbon/app/routes/x+/purchasing+/rfqs.tsx@@ -0,0 +1,76 @@+import { VStack } from "@carbon/react";+import type { LoaderFunctionArgs } from "@remix-run/node";+import { json, redirect } from "@remix-run/node";+import { Outlet, useLoaderData } from "@remix-run/react";+import {+ RequestForQuotesTable,+ RequestForQuotesTableFilters,+ getRequestsForQuotes,+} from "~/modules/purchasing";+import { requirePermissions } from "~/services/auth";+import { flash } from "~/services/session.server";+import type { Handle } from "~/utils/handle";+import { path } from "~/utils/path";+import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";++export const handle: Handle = {+ breadcrumb: "Requests for Quotes",+ to: path.to.requestForQuotes,+};++export async function loader({ request }: LoaderFunctionArgs) {+ const { client } = await requirePermissions(request, {+ view: "purchasing",+ });++ const url = new URL(request.url);+ const searchParams = new URLSearchParams(url.search);+ const search = searchParams.get("search");+ const status = searchParams.get("status");+ const supplierId = searchParams.get("supplierId");+ const partId = searchParams.get("partId");++ const { limit, offset, sorts, filters } =+ getGenericQueryFilters(searchParams);++ const [requestForQuotes] = await Promise.all([+ getRequestsForQuotes(client, {+ search,+ status,+ partId,+ supplierId,+ limit,+ offset,+ sorts,+ filters,+ }),+ ]);++ if (requestForQuotes.error) {+ redirect(+ path.to.authenticatedRoot,+ await flash(+ request,+ error(requestForQuotes.error, "Failed to fetch request for quotes")+ )+ );+ }++ return json({+ count: requestForQuotes.count ?? 0,+ requestForQuotes: requestForQuotes.data ?? [],+ });+}++export default function RequestForQuotesSearchRoute() {+ const { count, requestForQuotes } = useLoaderData<typeof loader>();++ return (+ <VStack spacing={0} className="h-full">+ <RequestForQuotesTableFilters />+ <RequestForQuotesTable data={requestForQuotes} count={count} />+ <Outlet />+ </VStack>+ );+}diff --git a/apps/carbon/app/utils/path.ts b/apps/carbon/app/utils/path.tsindex e18224a8f5..8a54834c2b 100644--- a/apps/carbon/app/utils/path.ts+++ b/apps/carbon/app/utils/path.ts@@ -269,6 +269,7 @@ export const path = {newPurchaseOrderLine: (id: string) =>generatePath(`${x}/purchase-order/${id}/lines/new`),newReceipt: `${x}/inventory/receipts/new`,+ newRequestForQuote: `${x}/rfq/new`,newShift: `${x}/resources/shifts/new`,newShippingMethod: `${x}/inventory/shipping-methods/new`,newService: `${x}/service/new`,@@ -354,6 +355,7 @@ export const path = {receiptPost: (id: string) =>generatePath(`${x}/inventory/receipts/${id}/post`),refreshSession: "/refresh-session",+ requestForQuotes: `${x}/purchasing/rfqs`,resendInvite: `${x}/users/resend-invite`,resetPassord: "/reset-password",resources: `${x}/resources`,diff --git a/packages/database/src/seed/employee-types.ts b/packages/database/src/seed/employee-types.tsindex a0dba0934b..477b2b77e8 100644--- a/packages/database/src/seed/employee-types.ts+++ b/packages/database/src/seed/employee-types.ts@@ -27,12 +27,12 @@ export const employeeTypePermissionsDefinitions: Record<>> = {Admin: {- Accounting: {- create: true,- update: true,- delete: true,- view: true,- },+ // Accounting: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Invoicing: {create: true,update: true,@@ -45,24 +45,24 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- Jobs: {- create: true,- update: true,- delete: true,- view: true,- },+ // Jobs: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Inventory: {create: true,update: true,delete: true,view: true,},- Scheduling: {- create: true,- update: true,- delete: true,- view: true,- },+ // Scheduling: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Sales: {create: true,update: true,@@ -81,18 +81,18 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- Messaging: {- create: true,- update: true,- delete: true,- view: true,- },- Timecards: {- create: true,- update: true,- delete: true,- view: true,- },+ // Messaging: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },+ // Timecards: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Resources: {create: true,update: true,@@ -113,12 +113,12 @@ export const employeeTypePermissionsDefinitions: Record<},},"Project Manager": {- Accounting: {- create: false,- update: false,- delete: false,- view: false,- },+ // Accounting: {+ // create: false,+ // update: false,+ // delete: false,+ // view: false,+ // },Invoicing: {create: false,update: false,@@ -131,24 +131,24 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- Jobs: {- create: true,- update: true,- delete: true,- view: true,- },+ // Jobs: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Inventory: {create: false,update: false,delete: false,view: true,},- Scheduling: {- create: true,- update: true,- delete: true,- view: true,- },+ // Scheduling: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },Sales: {create: false,update: false,@@ -167,18 +167,18 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- Messaging: {- create: true,- update: true,- delete: true,- view: true,- },- Timecards: {- create: false,- update: false,- delete: false,- view: true,- },+ // Messaging: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },+ // Timecards: {+ // create: false,+ // update: false,+ // delete: false,+ // view: true,+ // },Resources: {create: true,update: true,@@ -199,12 +199,12 @@ export const employeeTypePermissionsDefinitions: Record<},},Sales: {- Accounting: {- create: false,- update: false,- delete: false,- view: false,- },+ // Accounting: {+ // create: false,+ // update: false,+ // delete: false,+ // view: false,+ // },Invoicing: {create: false,update: false,@@ -217,24 +217,24 @@ export const employeeTypePermissionsDefinitions: Record<delete: false,view: true,},- Jobs: {- create: false,- update: false,- delete: false,- view: true,- },+ // Jobs: {+ // create: false,+ // update: false,+ // delete: false,+ // view: true,+ // },Inventory: {create: false,update: false,delete: false,view: true,},- Scheduling: {- create: false,- update: false,- delete: false,- view: true,- },+ // Scheduling: {+ // create: false,+ // update: false,+ // delete: false,+ // view: true,+ // },Sales: {create: true,update: true,@@ -253,18 +253,18 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- Messaging: {- create: true,- update: true,- delete: true,- view: true,- },- Timecards: {- create: false,- update: false,- delete: false,- view: false,- },+ // Messaging: {+ // create: true,+ // update: true,+ // delete: true,+ // view: true,+ // },+ // Timecards: {+ // create: false,+ // update: false,+ // delete: false,+ // view: false,+ // },Resources: {create: false,update: false,diff --git a/packages/database/src/seed/features.ts b/packages/database/src/seed/features.tsindex bbbbc9491f..0655f594e2 100644--- a/packages/database/src/seed/features.ts+++ b/packages/database/src/seed/features.ts@@ -1,19 +1,19 @@import { v4 as uuidv4 } from "uuid";const possibleFeatures = [- "Accounting",+ // "Accounting","Documents","Inventory","Invoicing",- "Jobs",- "Messaging",+ // "Jobs",+ // "Messaging","Parts","Purchasing","Resources","Sales",- "Scheduling",+ // "Scheduling","Settings",- "Timecards",+ // "Timecards","Users",] as const;@@ -28,4 +28,4 @@ possibleFeatures.forEach((name) => {};});-export { possibleFeatures, features };+export { features, possibleFeatures };diff --git a/packages/database/src/types.ts b/packages/database/src/types.tsindex 6a544a0795..5affe37e39 100644--- a/packages/database/src/types.ts+++ b/packages/database/src/types.ts@@ -7195,6 +7195,12 @@ export interface Database {referencedRelation: "requestForQuote";referencedColumns: ["id"];},+ {+ foreignKeyName: "requestForQuoteLine_requestForQuoteId_fkey";+ columns: ["requestForQuoteId"];+ referencedRelation: "requestForQuotes";+ referencedColumns: ["id"];+ },{foreignKeyName: "requestForQuoteLine_shelfId_fkey";columns: ["shelfId", "locationId"];@@ -7295,6 +7301,12 @@ export interface Database {referencedRelation: "requestForQuote";referencedColumns: ["id"];},+ {+ foreignKeyName: "requestForQuoteSupplier_requestForQuoteId_fkey";+ columns: ["requestForQuoteId"];+ referencedRelation: "requestForQuotes";+ referencedColumns: ["id"];+ },{foreignKeyName: "requestForQuoteSupplier_supplierContactId_fkey";columns: ["supplierContactId"];@@ -10591,6 +10603,38 @@ export interface Database {}];};+ requestForQuotes: {+ Row: {+ expirationDate: string | null;+ id: string | null;+ locationId: string | null;+ locationName: string | null;+ notes: string | null;+ receiptDate: string | null;+ status: Database["public"]["Enums"]["requestForQuoteStatus"] | null;+ supplierIds: string[] | null;+ };+ Relationships: [+ {+ foreignKeyName: "requestForQuote_locationId_fkey";+ columns: ["locationId"];+ referencedRelation: "location";+ referencedColumns: ["id"];+ },+ {+ foreignKeyName: "requestForQuote_locationId_fkey";+ columns: ["locationId"];+ referencedRelation: "partQuantities";+ referencedColumns: ["locationId"];+ },+ {+ foreignKeyName: "requestForQuote_locationId_fkey";+ columns: ["locationId"];+ referencedRelation: "purchaseOrders";+ referencedColumns: ["locationId"];+ }+ ];+ };services: {Row: {active: boolean | null;diff --git a/packages/database/supabase/migrations/20240204025905_rfq.sql b/packages/database/supabase/migrations/20240204025905_rfq.sqlindex 4c678e2cd1..3a205a21e2 100644--- a/packages/database/supabase/migrations/20240204025905_rfq.sql+++ b/packages/database/supabase/migrations/20240204025905_rfq.sql@@ -92,3 +92,30 @@ CREATE TABLE "requestForQuoteSupplierLine" (CONSTRAINT "requestForQuoteSupplierLine_createdBy_fkey" FOREIGN KEY ("createdBy") REFERENCES "user"("id") ON DELETE RESTRICT ON UPDATE CASCADE,CONSTRAINT "requestForQuoteSupplierLine_updatedBy_fkey" FOREIGN KEY ("updatedBy") REFERENCES "user"("id") ON DELETE RESTRICT ON UPDATE CASCADE);++CREATE OR REPLACE VIEW "requestForQuotes" WITH(SECURITY_INVOKER=true) AS+ SELECT+ r."id",+ r."status",+ r."notes",+ r."receiptDate",+ r."expirationDate",+ r."locationId",+ l."name" AS "locationName",+ array_agg(rs."supplierId") AS "supplierIds",+ array_agg(rl."partId") AS "partIds"+FROM "requestForQuote" r+LEFT JOIN "location" l+ ON l.id = r."locationId"+LEFT JOIN "requestForQuoteSupplier" rs+ ON rs."requestForQuoteId" = r.id+LEFT JOIN "requestForQuoteLine" rl+ ON rl."requestForQuoteId" = r.id+GROUP BY+ r."id",+ r."status",+ r."notes",+ r."receiptDate",+ r."expirationDate",+ r."locationId",+ l."name";\ No newline at end of file