+
+ {currentCorporate?.data.map((item, index) => (
+
+
+
+
+
+ Field
+ Old Value
+ New Values
+
+
+
+ {Object.entries(item.old_values).map(([key, value]) => {
+ let renderedValue;
+ if (key !== 'reason') {
+ return null; // Melewati iterasi saat key adalah 'deleted_by'
+ }
+ renderedValue = item.new_values[key];
+
+ const field = key.charAt(0).toUpperCase() + key.slice(1);
+
+ return (
+
+ {`${field}`}
+ {`${value}`}
+ {renderedValue}
+
+ );
+ })}
+
+
+
+
+ ))}
+
+ );
+}
diff --git a/frontend/dashboard/src/routes/index.tsx b/frontend/dashboard/src/routes/index.tsx
index 78129fe1..3c0a4ec1 100755
--- a/frontend/dashboard/src/routes/index.tsx
+++ b/frontend/dashboard/src/routes/index.tsx
@@ -129,11 +129,18 @@ export default function Router() {
path: ':corporate_id/benefits',
element: