IVET#38115 periodekeuze optioneel ook voor fobo

svn path=/Website/trunk/; revision=31329
This commit is contained in:
Peter Feij
2016-11-02 13:54:03 +00:00
parent b53c31bec6
commit 06a085b105

View File

@@ -839,24 +839,21 @@ if (!frontend && srtdisc > -1)
<td class="searchkolom2">
<table><!-- x rijen, 2 kolommen: label + veld -->
<!-- Datum van -->
<% if (frontend || minfo)
{
FCLTcalendar("date_from",
<% FCLTcalendar("date_from",
{ label : L("lcl_period_from"),
datum: date_from,
initEmpty: (frontend ? true : false),
trclass: "primsearch",
initEmpty: (minfo ? false : true),
trclass: (frontend || minfo ? "primsearch" : "secsearch"),
volgnr: 1
}); %>
<!-- Datum tot -->
<% FCLTcalendar("date_to",
{ label: L("lcl_period_to"),
datum: date_to,
initEmpty: (frontend ? true : false),
trclass: "primsearch",
initEmpty: (minfo ? false : true),
trclass: (frontend || minfo ? "primsearch" : "secsearch"),
volgnr: 2
});
}
if (minfo)
{
// Referentie
@@ -876,9 +873,9 @@ if (!frontend && srtdisc > -1)
if (!justClose)
{
if (min_plaats > 0) {
switch(min_plaats)
{
{
case 7: alg_eindlevel = 2; break; // Locatie
case 5: alg_eindlevel = 3; break; // Gebouw
case 3: alg_eindlevel = (minfo?4:3); break; // Voor minfo Verdieping, anders maximaal Gebouw.
@@ -893,8 +890,8 @@ if (!frontend && srtdisc > -1)
</td>
</tr>
<% FCLTplaatsselector(authparams.ALGreadlevel, { regiokey: reg_key,
districtkey: dist_key,
locatiekey: loc_key,