AAIT#38947 Bij wijzigen / in behandeling nemen van factuur zonder factuurregels, wordt nu automatisch lege regel aangemaakt

svn path=/Website/trunk/; revision=32732
This commit is contained in:
2017-02-07 14:08:17 +00:00
parent 821a120cfb
commit ced9146650
2 changed files with 10 additions and 1 deletions

View File

@@ -225,6 +225,15 @@ var fin_btwtabel_key = oRs("fin_btwtabel_key").value; // Standaard btw tabel key
<% } %>
<% } %>
referenceChanged(false);
<% if (this_fin.canInvLinChange) // AAIT#38947
{ %>
if ($("table#sel_items input[id^=sum]").not(":hidden").length == 0)
{
AddItem();
alert("yup");
}
<% } %>
});
// Settings needed by fin_edit_factuur.js

View File

@@ -19,7 +19,7 @@ function checkInput()
var filled_lines = 0;
var blank_lines = 0;
$("table#sel_items input[id^=sum]").each(function()
$("table#sel_items input[id^=sum]").not(":hidden").each(function()
{
if (myParseFloat($(this).val()) != 0)
filled_lines++;