showing empty fields in handling costs (not 0.00), to prevent that the 0.00 is set in the backend
This commit is contained in:
parent
0a128a7cb4
commit
640f466441
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue