diff --git a/apps/portal/src/app/(portal)/orders/[id]/page.tsx b/apps/portal/src/app/(portal)/orders/[id]/page.tsx
index 16ce70e6..57a0ddd0 100644
--- a/apps/portal/src/app/(portal)/orders/[id]/page.tsx
+++ b/apps/portal/src/app/(portal)/orders/[id]/page.tsx
@@ -206,8 +206,6 @@ export default function OrderStatusPage() {
Your order has been created and submitted for processing. We will notify you as soon
as it's approved and ready for activation.
- Your order has been created and submitted for processing. We will notify you as soon
- as it's approved and ready for activation.
@@ -226,7 +224,6 @@ export default function OrderStatusPage() {
)}
{/* Status Section - Moved to top */}
- {data &&
{data &&
(() => {
const statusInfo = getDetailedStatusInfo(
@@ -245,11 +242,9 @@ export default function OrderStatusPage() {
: "neutral";
return (
- Status}
- header={
Status
}
>
{statusInfo.description}
@@ -259,7 +254,6 @@ export default function OrderStatusPage() {
/>
-
{/* Highlighted Next Steps Section */}
{statusInfo.nextAction && (
@@ -271,7 +265,6 @@ export default function OrderStatusPage() {
)}
-
{statusInfo.timeline && (
@@ -282,16 +275,12 @@ export default function OrderStatusPage() {
);
})()}
- })()}
{/* Combined Service Overview and Products */}
{data && (
{/* Service Header */}
-
- {getServiceTypeIcon(data.orderType)}
-
{getServiceTypeIcon(data.orderType)}
@@ -366,7 +355,6 @@ export default function OrderStatusPage() {
const aIsInstallation = a.product.itemClass === "Installation";
const bIsInstallation = b.product.itemClass === "Installation";
-
if (aIsService && !bIsService) return -1;
if (!aIsService && bIsService) return 1;
if (aIsInstallation && !bIsInstallation) return -1;
@@ -376,53 +364,7 @@ export default function OrderStatusPage() {
.map(item => {
// Use the actual Item_Class__c values from Salesforce documentation
const itemClass = item.product.itemClass;
- // Use the actual Item_Class__c values from Salesforce documentation
- const itemClass = item.product.itemClass;
- // Get appropriate icon and color based on item type and billing cycle
- const getItemTypeInfo = () => {
- const isMonthly = item.product.billingCycle === "Monthly";
- const isService = itemClass === "Service";
- const isInstallation = itemClass === "Installation";
-
- if (isService && isMonthly) {
- // Main service products - Blue theme
- return {
- icon: ,
- bg: "bg-blue-50 border-blue-200",
- iconBg: "bg-blue-100 text-blue-600",
- label: itemClass || "Service",
- labelColor: "text-blue-600",
- };
- } else if (isInstallation) {
- // Installation items - Green theme
- return {
- icon: ,
- bg: "bg-green-50 border-green-200",
- iconBg: "bg-green-100 text-green-600",
- label: itemClass || "Installation",
- labelColor: "text-green-600",
- };
- } else if (isMonthly) {
- // Other monthly products - Blue theme
- return {
- icon: ,
- bg: "bg-blue-50 border-blue-200",
- iconBg: "bg-blue-100 text-blue-600",
- label: itemClass || "Service",
- labelColor: "text-blue-600",
- };
- } else {
- // One-time products - Orange theme
- return {
- icon: ,
- bg: "bg-orange-50 border-orange-200",
- iconBg: "bg-orange-100 text-orange-600",
- label: itemClass || "Add-on",
- labelColor: "text-orange-600",
- };
- }
- };
// Get appropriate icon and color based on item type and billing cycle
const getItemTypeInfo = () => {
const isMonthly = item.product.billingCycle === "Monthly";
@@ -468,21 +410,8 @@ export default function OrderStatusPage() {
}
};
- const typeInfo = getItemTypeInfo();
const typeInfo = getItemTypeInfo();
- return (
-
-
-
-
- {typeInfo.icon}
-
return (
-
-
-
- {item.product.name}
-
-
- {typeInfo.label}
-
-
@@ -530,32 +448,6 @@ export default function OrderStatusPage() {
← Back to SIM Management
-
- ← Back to SIM Management
-
Change Plan
@@ -87,29 +82,13 @@ export default function SimChangePlanPage() {
{error}
)}
-
- Change Plan: Switch to a different data plan. Important: Plan changes must be requested
- before the 25th of the month. Changes will take effect on the 1st of the following
- month.
-