Merge branch 'feature/partner-search-preorder' into 'master'
Removed Price as necesatiy See merge request fronk/thetool!766
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user