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:
@@ -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
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user