<%@language = "javascript" %>
<% /*
     $Revision$
     $Id$

     File:                 loadLimietPeriode.asp
     Description:          Maak limiet/budget periode selectbox
     Parameters:
        kpn_limietperiode: Limiet/budget periode van de kostenplaats
        readonly:          Maak hem readonly
     Context:
     Note:
*/ %>

<%
DOCTYPE_Disable = true;
%>

<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/selector.inc" -->

<%
// Maak een limietperiode selector lijst.
var fld = getFParam("fld", "kpn_limietperiode");
var kpn_limietperiode = getFParamInt("kpn_limietperiode", 0);
var readonly = (getFParamInt("readonly", 0) == 1);

var sql =  "SELECT        0, " + safe.quoted_sql(L("lcl_prs_none")) + " FROM DUAL"
        +  " UNION SELECT 1, " + safe.quoted_sql(L("lcl_prs_per_month")) + " FROM DUAL"
        +  " UNION SELECT 2, " + safe.quoted_sql(L("lcl_prs_annual")) + " FROM DUAL";

FCLTselector(fld,
             sql,
             { initKey: kpn_limietperiode,
               readonly: readonly
             });
%>

<% ASPPAGE_END(); %> 
