|
|
@@ -57,7 +57,9 @@ class DocumentItemModal {
|
|
|
this.$serialNumberField.val(item.serialNumber);
|
|
|
this.$quantityField.val(item.quantity);
|
|
|
this.$unitPriceField.val(item.unitPrice);
|
|
|
- this.$insuranceValueField.val(item.insuranceValue);
|
|
|
+ if(item.insuranceValue) {
|
|
|
+ this.$insuranceValueField.val(item.insuranceValue);
|
|
|
+ }
|
|
|
}
|
|
|
else {
|
|
|
this.$title.text("Add Item");
|