diff --git a/public/js/pages/WarehouseShippingNote/WarehouseShippingNoteModal.js b/public/js/pages/WarehouseShippingNote/WarehouseShippingNoteModal.js index 87561cef7..ebc20857c 100644 --- a/public/js/pages/WarehouseShippingNote/WarehouseShippingNoteModal.js +++ b/public/js/pages/WarehouseShippingNote/WarehouseShippingNoteModal.js @@ -278,10 +278,9 @@ Vue.component('warehouse-shipping-note-modal-positions-entry', { // TODO: if articlePacket is needed we need to implement this async createOrUpdate() { if (!this.amount) return this.window.notify('error', 'Bitte füllen sie die Menge aus'); - if (!this.price) return this.window.notify('error', 'Bitte füllen sie den Preis aus'); const data = { amount: this.amount, - price: parseFloat(this.price) + price: parseFloat(this.price) ?? '' } if (!this.articleId && this.$refs.article.displayValue) { data.articleText = this.$refs.article.displayValue;