diff --git a/frontend/lib/api/types/data-contracts.ts b/frontend/lib/api/types/data-contracts.ts index e5457bb..2990549 100644 --- a/frontend/lib/api/types/data-contracts.ts +++ b/frontend/lib/api/types/data-contracts.ts @@ -193,6 +193,7 @@ export interface LabelOut { id: string; name: string; updatedAt: Date | string; + totalPrice: number | undefined; } export interface LabelSummary { @@ -217,6 +218,7 @@ export interface LocationOut { name: string; parent: LocationSummary; updatedAt: Date | string; + totalPrice: number | undefined; } export interface LocationOutCount { diff --git a/frontend/pages/label/[id].vue b/frontend/pages/label/[id].vue index f190782..5c7e5d9 100644 --- a/frontend/pages/label/[id].vue +++ b/frontend/pages/label/[id].vue @@ -1,4 +1,6 @@ @@ -111,8 +115,17 @@
-

+

{{ label ? label.name : "" }} + +
+
+ +
+

diff --git a/frontend/pages/location/[id].vue b/frontend/pages/location/[id].vue index 05c6e5f..7728f5b 100644 --- a/frontend/pages/location/[id].vue +++ b/frontend/pages/location/[id].vue @@ -1,6 +1,7 @@ @@ -135,8 +184,17 @@
  • {{ location.name }}
  • -

    +

    {{ location ? location.name : "" }} + +
    +
    + +
    +