Skip to content

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.

style: remove tags from quote bom and item bom

Brad Barbina3505a35745f
diff --git a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx
index cb3bfa6f0b..d35e65b676 100644
--- a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx
+++ b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx
@@ -177,7 +177,7 @@ function PurchaseInvoiceLineItem({
location.pathname === path.to.purchaseInvoiceLine(invoiceId, line.id!);
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<Link
to={path.to.purchaseInvoiceLine(invoiceId, line.id!)}
prefetch="intent"
diff --git a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
index 2f31552d03..1c21835cc1 100644
--- a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
+++ b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx
@@ -1606,11 +1606,6 @@ function makeItem(
)}
</HStack>
),
- footer: isTemporaryId(operation.id ?? "") ? null : (
- <HStack className="w-full justify-end">
- <MethodOperationTags operation={operation} availableTags={tags} />
- </HStack>
- ),
data: operation,
};
}
@@ -1644,6 +1639,7 @@ function usePendingOperations() {
function getFieldKey(field: string, operationId: string) {
return `${field}:${operationId}`;
}
+
export function MethodOperationTags({
operation,
availableTags,
diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx
index 9fb7b803c4..eb39d6e666 100644
--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx
+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx
@@ -177,7 +177,7 @@ function PurchaseOrderLineItem({
location.pathname === path.to.purchaseOrderLine(orderId, line.id!);
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<Link
to={path.to.purchaseOrderLine(orderId, line.id!)}
prefetch="intent"
@@ -186,7 +186,6 @@ function PurchaseOrderLineItem({
<HStack
className={cn(
"group w-full p-2 items-center hover:bg-accent/30 cursor-pointer relative",
- !disclosure.isOpen && "border-b border-border",
isSelected && "bg-accent/60 hover:bg-accent/50 shadow-inner"
)}
>
diff --git a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx
index 08a030bc97..fa756b3820 100644
--- a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx
+++ b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx
@@ -177,7 +177,7 @@ function SupplierQuoteLineItem({
location.pathname === path.to.supplierQuoteLine(id, line.id!);
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<Link
to={path.to.supplierQuoteLine(id, line.id!)}
prefetch="intent"
@@ -186,7 +186,6 @@ function SupplierQuoteLineItem({
<HStack
className={cn(
"group w-full p-2 items-center hover:bg-accent/30 cursor-pointer relative",
- !disclosure.isOpen && "border-b border-border",
isSelected && "bg-accent/60 hover:bg-accent/50 shadow-inner"
)}
>
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
index 5100f3ffed..8f1ae5d8a3 100644
--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx
@@ -161,11 +161,6 @@ function makeItem(
)}
</HStack>
),
- footer: isTemporaryId(operation.id ?? "") ? null : (
- <HStack className="w-full justify-end">
- <QuoteOperationTags operation={operation} availableTags={tags} />
- </HStack>
- ),
data: operation,
};
}
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx
index 70803227bf..0fca338e10 100644
--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx
+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx
@@ -231,11 +231,10 @@ function QuoteLineItem({
};
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<HStack
className={cn(
"group w-full p-2 items-center hover:bg-accent/30 cursor-pointer relative",
- !disclosure.isOpen && "border-b border-border",
isSelected && "bg-accent/60 hover:bg-accent/50 shadow-inner"
)}
onClick={() => onLineClick(line)}
diff --git a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx
index c388cf3dc9..54a4b2eebd 100644
--- a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx
+++ b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx
@@ -183,7 +183,7 @@ function SalesOrderLineItem({
location.pathname === path.to.salesOrderLine(orderId, line.id!);
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<Link
to={path.to.salesOrderLine(orderId, line.id!)}
prefetch="intent"
@@ -192,7 +192,6 @@ function SalesOrderLineItem({
<HStack
className={cn(
"group w-full p-2 items-center hover:bg-accent/30 cursor-pointer relative",
- !disclosure.isOpen && "border-b border-border",
isSelected && "bg-accent/60 hover:bg-accent/50 shadow-inner"
)}
>
diff --git a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx
index fe4bb8f715..b4d8a6b5e0 100644
--- a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx
+++ b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx
@@ -207,7 +207,7 @@ function OptimisticSalesRFQLineItem({
line: z.infer<typeof salesRfqDragValidator>;
}) {
return (
- <VStack spacing={0} className="border-b border-border">
+ <VStack spacing={0} className="border-b">
<HStack className="w-full p-2 items-center justify-between hover:bg-accent/30 cursor-pointer">
<HStack spacing={2}>
<div className="w-10 h-10 bg-gradient-to-bl from-muted to-muted/40 rounded-lg p-2">
@@ -271,7 +271,7 @@ function SalesRFQLineItem({
const isSelected = lineId === line.id;
return (
- <VStack spacing={0}>
+ <VStack spacing={0} className="border-b">
<Link
className="w-full"
prefetch="intent"