From 640f466441258b5de0158e2a939687b27ee40c23 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 14 Dec 2025 17:26:59 +0100 Subject: [PATCH] showing empty fields in handling costs (not 0.00), to prevent that the 0.00 is set in the backend --- .../layout/edit/destination/DestinationEditHandlingCost.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/layout/edit/destination/DestinationEditHandlingCost.vue b/src/frontend/src/components/layout/edit/destination/DestinationEditHandlingCost.vue index 0c5758b..0c52506 100644 --- a/src/frontend/src/components/layout/edit/destination/DestinationEditHandlingCost.vue +++ b/src/frontend/src/components/layout/edit/destination/DestinationEditHandlingCost.vue @@ -58,7 +58,7 @@ export default { }, repackaging: { get() { - return this.destination?.repackaging_costs?.toFixed(2) ?? '0.00'; + return this.destination?.repackaging_costs?.toFixed(2) ?? ''; }, set(value) { return this.destination && (this.destination.repackaging_costs = value); @@ -66,7 +66,7 @@ export default { }, handling: { get() { - return this.destination?.handling_costs?.toFixed(2) ?? '0.00'; + return this.destination?.handling_costs?.toFixed(2) ?? ''; }, set(value) { return this.destination && (this.destination.handling_costs = value); @@ -74,7 +74,7 @@ export default { }, disposal: { get() { - return this.destination?.disposal_costs?.toFixed(2) ?? '0.00'; + return this.destination?.disposal_costs?.toFixed(2) ?? ''; }, set(value) { return this.destination && (this.destination.disposal_costs = value);