diff --git a/mvp/b2c/src/app/panel/precios/page.tsx b/mvp/b2c/src/app/panel/precios/page.tsx index e77b81e..d701943 100644 --- a/mvp/b2c/src/app/panel/precios/page.tsx +++ b/mvp/b2c/src/app/panel/precios/page.tsx @@ -82,26 +82,33 @@ export default async function PreciosPage() { {/* Config general */}

Configuración general

-
+ - {(['demolicion', 'fontaneria', 'electricidad', 'mano_de_obra'] as const).map((k) => ( + {( + [ + ['demolicion', 'Demolición'], + ['fontaneria', 'Fontanería'], + ['electricidad', 'Electricidad'], + ['mano_de_obra', 'Mano de obra'], + ] as const + ).map(([k, etiqueta]) => ( ))} @@ -120,53 +127,94 @@ export default async function PreciosPage() {
{items.length === 0 &&

Sin materiales.

} {items.map((item) => ( -
- {item.nombre} - {item.calidad} - {item.unidad} - {item.esDefault && ( - default - )} - - - - - - -
- - -
+
+
+
{item.nombre}
+
+ {item.calidad} + · + {item.unidad} + {item.esDefault && ( + default + )} +
+
+
+
+ +
+ + + € + +
+ +
+
+ + +
+
))}
-
+ - - + - - + - - -
);