AAIT#37411 Facturatieschema / Termijnbedragen bij contracten

svn path=/Website/branches/v2016.3/; revision=32408
This commit is contained in:
Jos Groot Lipman
2017-01-17 12:28:15 +00:00
parent e606af3284
commit 45e7a2211b

View File

@@ -17,7 +17,7 @@ $(function () {
function pre_submit()
{
var period = $("#accountingperiod").val();
if (!period || !period.match(/^\d{4}\-\d{1,2}$/))
if (!$("#generate").prop("checked") && (!period || !period.match(/^\d{4}\-\d{1,2}$/)))
{
FcltMgr.alert(L("lcl_shared_validator_format"));
return false;