From: Bernd Bleßmann Date: Thu, 15 Oct 2015 22:32:13 +0000 (+0200) Subject: Auftrags-Controller: per js prüfen, ob Kunde oder Lieferant angegeben ist. X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=527c790aa1b87caa3f11edb59dc8f9ef45dc4a1f;p=kivitendo-erp.git Auftrags-Controller: per js prüfen, ob Kunde oder Lieferant angegeben ist. --- diff --git a/templates/webpages/order/form.html b/templates/webpages/order/form.html index 31a4dc019..bba8503b1 100644 --- a/templates/webpages/order/form.html +++ b/templates/webpages/order/form.html @@ -41,6 +41,7 @@ diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 26962e45f..aa39b2421 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -252,6 +252,7 @@ function reload_cv_dependend_selections() { function add_item() { if ($('#add_item_parts_id').val() == '') return; + if (!check_cv()) return; var data = $('#order_form').serialize(); data += '&action=Order/add_item';