FSN#22214 lcl2db + cleanup

svn path=/Website/trunk/; revision=5385
This commit is contained in:
Jos Groot Lipman
2012-01-15 19:10:32 +00:00
parent 86b7b20d4c
commit d90aacf3c8
1036 changed files with 10990 additions and 10802 deletions

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 6 $
$Modtime: 19-12-11 15:12 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: alg_delete.asp (formerly setAlgverwijder.asp)
Description: Verwijderen alg-object en deels PRS
@@ -15,7 +15,7 @@
*/
DOCTYPE_Disable = 1;
%>
<!--#include file="../../cust/install.inc"-->
<!--#include file="../Shared/common.inc"-->
<!--#include file="../Shared/json2.js" -->
<%

View File

@@ -1,8 +1,8 @@
<%@language = "javascript" %>
<% // testing: bes_key=1251054
/* $Revision: 8 $
$Modtime: 19-05-11 12:16 $
/* $Revision: 9 $
$Modtime: 13-01-12 19:59 $
File: alg_district.asp
Status:
@@ -14,7 +14,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<%
@@ -42,7 +42,7 @@ else
<head>
<% FCLTHeader.Generate(); %>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_district%> <%=safe.jsstring(dis_name)%> ", {hot: false});
FcltMgr.setTitle("<%=L("lcl_district")%> <%=safe.jsstring(dis_name)%> ", {hot: false});
<% if (dis_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -74,7 +74,7 @@ else
var page="alg_show_district.asp";
page += "?dis_key="+dis_key;
IFRAMER("algFrame", page, { title: lcl_alg_district_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_district_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 6 $
$Modtime: 17-11-11 8:28 $
$Revision: 7 $
$Modtime: 15-01-12 19:56 $
File: alg_district.inc
Description: Show an overview of district items in list-form,
which meets with the given requirements
@@ -38,25 +38,25 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_locatie_search.asp?district_key=" + algData.detail_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_location%>");
FcltMgr.openDetail(url, "<%=L("lcl_location")%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_regio_search.asp?regio_key=" + algData.parent_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_region%>");
FcltMgr.openDetail(url, "<%=L("lcl_region")%>");
}
function districtEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_district.asp?mode=viewUpdate&key=" + algData.key;
FcltMgr.openDetail(url, "<%=lcl_district%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_district")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var disKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_district%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_district")))
$.post("alg_delete.asp",
{ key: disKeyString,
level: "D" },
@@ -94,13 +94,6 @@ function district_list(pautfunction, params)
</head>
<body id="listbody">
<%
var lcl_titel = "Titel"
var lcl_geldig_van = "Geldig van"
var lcl_geldig_tot = "Geldig tot"
var lcl_locatie = "Locatie"
var lcl_gebouw_omschr = "Omschrijving"
var lcl_gebruiker = "Gebruiker"
var lcl_nieuws_aanmaak = "datum aangemaakt" // later algemeen maken?
var sqln = "SELECT d.alg_district_key, "
+ " d.alg_regio_key, "
@@ -137,7 +130,7 @@ function district_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({sql:sqln,
@@ -153,13 +146,13 @@ function district_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_regio_descr, content: "alg_regio_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_district_man_descr, content: "alg_district_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: L("lcl_estate_regio_descr"), content: "alg_regio_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_district_man_descr"), content: "alg_district_omschrijving", hasActions: true}));
rst.addAction({ action: "districtEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", multi: true, multiOnce: true});
rst.addAction({ action: "gotoDetails", caption: lcl_goto_locatie_list});
rst.addAction({ action: "gotoParent", caption: lcl_goto_regio_list});
rst.addAction({ action: "districtEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", multi: true, multiOnce: true});
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_locatie_list")});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_regio_list")});
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 7 $
$Modtime: 4-07-11 14:49 $
$Revision: 8 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg.inc" -->
@@ -34,7 +34,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" +bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit();<%}%>});
@@ -43,7 +43,7 @@ var authparams = alg.checkAutorisation();
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="alg_district_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
@@ -53,7 +53,7 @@ var authparams = alg.checkAutorisation();
districtkey: district_key,
startlevel: 0, // Regio
eindlevel: 1, // District
whenEmpty: lcl_search_generic
whenEmpty: L("lcl_search_generic")
});
%>
</table>
@@ -62,8 +62,8 @@ var authparams = alg.checkAutorisation();
</td><!-- end column 1 -->
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id: "bAdvanced" } ];
CreateButtons(buttons); %>
</form>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 2-12-10 12:04 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: alg_district_search_list.asp
Description:
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_district_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 7 $
$Modtime: 16-06-10 14:16 $
/* $Revision: 8 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_district.asp
Description: edit screen voor districten
@@ -11,7 +11,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/plaatsselector.inc" -->
@@ -67,9 +67,9 @@ if (dis_key > 0)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_district_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_district_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -92,11 +92,11 @@ else
readonly: !this_alg.writeman
});
manRWFIELD("dis_oms", "fld required", lcl_district, dis_oms);
manRWFIELD("dis_oms", "fld required", L("lcl_district"), dis_oms);
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : dis_key,

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 6 $
$Modtime: 27-07-11 13:39 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 15 $
$Modtime: 1-12-11 13:49 $
/* $Revision: 16 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_gebouw.asp
Description: edit of toevoegen van een gebouw
@@ -12,7 +12,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/selector.inc" -->
@@ -90,9 +90,9 @@ else
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_gebouw_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_gebouw_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -115,7 +115,7 @@ BLOCK_START("algLoc1", "");
readonly: bld_key > 0,
required: true });
manRWFIELD("bld_naam", "fld", lcl_estate_gebouw_man_name, bld_naam, {required: true, maxlength: 30});
manRWFIELD("bld_naam", "fld", L("lcl_estate_gebouw_man_name"), bld_naam, {required: true, maxlength: 30});
sql = "SELECT alg_srtgebouw_key, "
+ " "+lcl.xsqla('alg_srtgebouw_omschrijving', 'alg_srtgebouw_key')
@@ -124,26 +124,26 @@ BLOCK_START("algLoc1", "");
+ "ORDER BY UPPER("+lcl.xsql('alg_srtgebouw_omschrijving', 'alg_srtgebouw_key')+")";
FCLTselector("bld_srtkey", sql,
{ label: lcl_estate_gebouw_srtgebouw,
{ label: L("lcl_estate_gebouw_srtgebouw"),
initKey: bld_srtkey,
emptyOption: "",
readonly: !this_alg.writeman
}
);
manRWFIELD("bld_code", "fld", lcl_estate_gebouw_man_code, bld_code, {required: true, maxlength: 12});
manRWFIELD("bld_opmerk", "fld", lcl_estate_gebouw_man_opmerk, bld_opmerk, {maxlength: 50});
manRWFIELD("bld_code", "fld", L("lcl_estate_gebouw_man_code"), bld_code, {required: true, maxlength: 12});
manRWFIELD("bld_opmerk", "fld", L("lcl_estate_gebouw_man_opmerk"), bld_opmerk, {maxlength: 50});
FCLTkostenplaatsselector( "prs_kstpl",
"prs_kstpl",
user_key,
{ kostenplaatsKey: prs_kstpl,
label: lcl_prs_dept_kosten,
label: L("lcl_prs_dept_kosten"),
filtercode: "G",
readonly: !this_alg.writeman
});
manRWFIELD("bld_ordrnr", "fld", lcl_estate_gebouw_ordernr, bld_ordrnr, {maxlength: 30});
manRWFIELD("bld_ordrnr", "fld", L("lcl_estate_gebouw_ordernr"), bld_ordrnr, {maxlength: 30});
sql = "SELECT mld_dienstniveau_key, "
+ lcl.xsqla("mld_dienstniveau_omschr", "mld_dienstniveau_key")
@@ -151,7 +151,7 @@ BLOCK_START("algLoc1", "");
+ "ORDER BY UPPER("+lcl.xsql("mld_dienstniveau_omschr", "mld_dienstniveau_key")+")";
FCLTselector("dienstniveau", sql,
{ label: lcl_mld_dienst_niveau,
{ label: L("lcl_mld_dienst_niveau"),
initKey: dienstniveau,
emptyOption: "",
readonly: !this_alg.writeuse
@@ -160,9 +160,9 @@ BLOCK_START("algLoc1", "");
BLOCK_END();
BLOCK_START("algLoc2", "");
manRWFIELD("bld_opp", "fld", lcl_estate_gebouw_man_bruto_vloeropp, bld_opp, {maxlength: 15});
manRWFIELD("bld_omtrek", "fld", lcl_estate_gebouw_man_omtrek, bld_omtrek, {maxlength: 15});
manRWFIELD("bld_inhoud", "fld", lcl_estate_gebouw_man_inhoud, bld_inhoud, {maxlength: 15});
manRWFIELD("bld_opp", "fld", L("lcl_estate_gebouw_man_bruto_vloeropp"), bld_opp, {maxlength: 15});
manRWFIELD("bld_omtrek", "fld", L("lcl_estate_gebouw_man_omtrek"), bld_omtrek, {maxlength: 15});
manRWFIELD("bld_inhoud", "fld", L("lcl_estate_gebouw_man_inhoud"), bld_inhoud, {maxlength: 15});
sql ="SELECT mld_adres_key, "
+ " mld_adres_naam "
@@ -170,16 +170,16 @@ BLOCK_START("algLoc2", "");
+ "ORDER BY mld_adres_naam ";
FCLTselector("mld_adres", sql,
{ label: lcl_delivery_address,
{ label: L("lcl_delivery_address"),
initKey: mld_adres,
emptyOption: "",
readonly: !this_alg.writeman
});
manRWFIELD("bld_x", "fld", lcl_geoxcoord, bld_x, {maxlength: 25});
manRWFIELD("bld_y", "fld", lcl_geoycoord, bld_y, {maxlength: 25});
manRWFIELD("bld_x", "fld", L("lcl_geoxcoord"), bld_x, {maxlength: 25});
manRWFIELD("bld_y", "fld", L("lcl_geoycoord"), bld_y, {maxlength: 25});
if (this_alg.writeman)
CHECKBOXTR(lcl_estate_gebouw_bez, "fldalgbez", "bld_bez", bld_bez==1)
CHECKBOXTR(L("lcl_estate_gebouw_bez"), "fldalgbez", "bld_bez", bld_bez==1)
var times = [];
for (i=0; i<24; i++)
@@ -191,24 +191,24 @@ BLOCK_START("algLoc2", "");
times.push(sql);
}
FCLTselector("bld_beginuur", times.join(" UNION ALL "),
{ label: lcl_estate_gebouw_beginuur,
{ label: L("lcl_estate_gebouw_beginuur"),
initKey: beginuur,
emptyOption: "",
readonly: !this_alg.writeman
}
);
FCLTselector("bld_einduur", times.join(" UNION ALL "),
{ label: lcl_estate_gebouw_einduur,
{ label: L("lcl_estate_gebouw_einduur"),
initKey: einduur,
emptyOption: "",
readonly: !this_alg.writeman
}
);
if (this_alg.writeman)
CHECKBOXTR(lcl_estate_gebouw_werkdagen, "fldalgwerk", "bld_werkdagen", werkdagen==1)
CHECKBOXTR(L("lcl_estate_gebouw_werkdagen"), "fldalgwerk", "bld_werkdagen", werkdagen==1)
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : bld_key,

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 10 $
$Modtime: 1-12-11 13:53 $
$Revision: 11 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 8 $
$Modtime: 19-05-11 12:58 $
/* $Revision: 9 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_locatie.asp
Description: edit locatie gegevens
@@ -11,7 +11,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/selector.inc" -->
@@ -81,9 +81,9 @@ if (loc_key > 0)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_locatie_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_locatie_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -106,12 +106,12 @@ BLOCK_START("algLoc1", "");
readonly: !this_alg.writeman,
required: true });
manRWFIELD("loc_omsch", "fld", lcl_estate_locatie_man_descr, loc_omsch, {required: true, maxlength: 30});
manRWFIELD("loc_code", "fld", lcl_estate_locatie_man_code, loc_code, {required: true, maxlength: 10});
manRWFIELD("bez_adres", "fld", lcl_prs_address_bezoek_adres, bez_adres, {maxlength: 35});
manRWFIELD("bez_postc", "fld", lcl_prs_address_bezoek_postcode, bez_postc, {maxlength: 12});
manRWFIELD("bez_plaats", "fld", lcl_prs_address_bezoek_plaats, bez_plaats, {maxlength: 30});
manRWFIELD("bez_land", "fld", lcl_prs_address_bezoek_land, bez_land, {maxlength: 30});
manRWFIELD("loc_omsch", "fld", L("lcl_estate_locatie_man_descr"), loc_omsch, {required: true, maxlength: 30});
manRWFIELD("loc_code", "fld", L("lcl_estate_locatie_man_code"), loc_code, {required: true, maxlength: 10});
manRWFIELD("bez_adres", "fld", L("lcl_prs_address_bezoek_adres"), bez_adres, {maxlength: 35});
manRWFIELD("bez_postc", "fld", L("lcl_prs_address_bezoek_postcode"), bez_postc, {maxlength: 12});
manRWFIELD("bez_plaats", "fld", L("lcl_prs_address_bezoek_plaats"), bez_plaats, {maxlength: 30});
manRWFIELD("bez_land", "fld", L("lcl_prs_address_bezoek_land"), bez_land, {maxlength: 30});
sql = "SELECT mld_dienstniveau_key, "
+ lcl.xsqla("mld_dienstniveau_omschr", "mld_dienstniveau_key")
@@ -119,28 +119,28 @@ manRWFIELD("bez_land", "fld", lcl_prs_address_bezoek_land, bez_
+ "ORDER BY UPPER("+lcl.xsql("mld_dienstniveau_omschr", "mld_dienstniveau_key")+")";
FCLTselector("dienstniveau", sql,
{ label: lcl_mld_dienst_niveau,
{ label: L("lcl_mld_dienst_niveau"),
initKey: dienstniveau,
emptyOption: "",
readonly: !this_alg.writeuse
});
manRWFIELD("loc_x", "fld", lcl_geoxcoord, loc_x, {maxlength: 25});
manRWFIELD("loc_y", "fld", lcl_geoycoord, loc_y, {maxlength: 25});
manRWFIELD("loc_x", "fld", L("lcl_geoxcoord"), loc_x, {maxlength: 25});
manRWFIELD("loc_y", "fld", L("lcl_geoycoord"), loc_y, {maxlength: 25});
BLOCK_END();
BLOCK_START("algLoc2", "");
manRWFIELD("pst_adres", "fld", lcl_prs_address_post_adres, pst_adres, {maxlength: 35});
manRWFIELD("pst_postc", "fld", lcl_prs_address_post_postcode, pst_postc, {maxlength: 12});
manRWFIELD("pst_plaats", "fld", lcl_prs_address_post_plaats, pst_plaats, {maxlength: 30});
manRWFIELD("pst_land", "fld", lcl_prs_address_post_land, pst_land, {maxlength: 30});
manRWFIELD("loc_vw", "fld", lcl_estate_locatie_man_verantw, loc_vw, {maxlength: 30});
manRWFIELD("loc_vwtel", "fld", lcl_estate_locatie_man_verantw_tel, loc_vwtel, {maxlength: 15});
manRWFIELD("loc_mail", "fld", lcl_noti_email, loc_mail, {maxlength: 200});
manRWFIELD("pst_adres", "fld", L("lcl_prs_address_post_adres"), pst_adres, {maxlength: 35});
manRWFIELD("pst_postc", "fld", L("lcl_prs_address_post_postcode"), pst_postc, {maxlength: 12});
manRWFIELD("pst_plaats", "fld", L("lcl_prs_address_post_plaats"), pst_plaats, {maxlength: 30});
manRWFIELD("pst_land", "fld", L("lcl_prs_address_post_land"), pst_land, {maxlength: 30});
manRWFIELD("loc_vw", "fld", L("lcl_estate_locatie_man_verantw"), loc_vw, {maxlength: 30});
manRWFIELD("loc_vwtel", "fld", L("lcl_estate_locatie_man_verantw_tel"), loc_vwtel, {maxlength: 15});
manRWFIELD("loc_mail", "fld", L("lcl_noti_email"), loc_mail, {maxlength: 200});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : loc_key,

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 7 $
$Modtime: 27-07-11 13:50 $
$Revision: 8 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 6 $
$Modtime: 24-06-10 11:27 $
/* $Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_regio.asp
Description: scherm om regio gegevens te wijzigen.
@@ -12,7 +12,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!-- #include file="alg_flexkenmerk.inc" -->
@@ -62,9 +62,9 @@ if (regio_key > 0)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_regio_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_regio_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -79,7 +79,7 @@ else
manRWFIELD = function (a,b,c,d,e) { ROFIELDTR(b,c,d,e) }; // als geen USE dan zijn er veel readonly
BLOCK_START("algInfo", "");
manRWFIELD("reg_oms", "fld", lcl_region, reg_oms, {required: true, maxlength: 30});
manRWFIELD("reg_oms", "fld", L("lcl_region"), reg_oms, {required: true, maxlength: 30});
BLOCK_END();
%>

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 16-06-10 14:32 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<% FCLTHeader.Requires({ plugins:["jQuery"],

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 15 $
$Modtime: 19-05-11 12:49 $
/* $Revision: 16 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_ruimte.asp
Description: wijzigen of toevoegen van een ruimte
@@ -11,7 +11,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/selector.inc" -->
@@ -114,9 +114,9 @@ else
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_ruimte_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_ruimte_frame"), buttons);
%>
<div id="edit">
<form name="u2" action="alg_edit_ruimte_save.asp?room_key=<%=room_key%>"
@@ -148,8 +148,8 @@ BLOCK_START("algLoc1", "");
required: true });
// alguse mag deze twee ook als alg_ruimtenr_aut_use==1
useRWFIELD("room_nr", "fldshort", lcl_estate_ruimte_man_nr, room_nr, {required: true, maxlength: 10});
useRWFIELD("room_oms", "fld", lcl_estate_ruimte_man_descr, room_oms, {maxlength: 30});
useRWFIELD("room_nr", "fldshort", L("lcl_estate_ruimte_man_nr"), room_nr, {required: true, maxlength: 10});
useRWFIELD("room_oms", "fld", L("lcl_estate_ruimte_man_descr"), room_oms, {maxlength: 30});
sql = "SELECT alg_srtruimte_key, "
+ lcl.xsqla("alg_srtruimte_omschrijving", "alg_srtruimte_key")
@@ -157,7 +157,7 @@ BLOCK_START("algLoc1", "");
+ "ORDER BY UPPER("+lcl.xsql("alg_srtruimte_omschrijving", "alg_srtruimte_key")+")";
FCLTselector("room_srt", sql,
{ label: lcl_estate_ruimte_man_sort,
{ label: L("lcl_estate_ruimte_man_sort"),
initKey: room_srt,
emptyOption: "",
readonly: !this_alg.writeman
@@ -169,7 +169,7 @@ BLOCK_START("algLoc1", "");
+ "ORDER BY UPPER("+lcl.xsql("mld_dienstniveau_omschr", "mld_dienstniveau_key")+")";
FCLTselector("dienstniveau", sql,
{ label: lcl_mld_dienst_niveau,
{ label: L("lcl_mld_dienst_niveau"),
initKey: dienstniveau,
emptyOption: "",
readonly: !this_alg.writeuse
@@ -178,23 +178,23 @@ BLOCK_START("algLoc1", "");
BLOCK_END();
BLOCK_START("algLoc2", "");
manRWFIELD("room_opp", "fldshort", lcl_estate_ruimte_bruto_vloeropp, room_opp, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", lcl_estate_ruimte_getekendopp, contour_opp);
manRWFIELD("room_opp", "fldshort", L("lcl_estate_ruimte_bruto_vloeropp"), room_opp, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_getekendopp"), contour_opp);
if (fg_contourlayers_alt1!="" && fg_labellayers_alt1!="") {
manRWFIELD("room_oppa1", "fldshort", lcl_estate_ruimte_opp_alt1, room_oppa1, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", lcl_fg_tek_room_opp_g_alt1, contour_opp1);
manRWFIELD("room_oppa1", "fldshort", L("lcl_estate_ruimte_opp_alt1"), room_oppa1, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", L("lcl_fg_tek_room_opp_g_alt1"), contour_opp1);
}
if (fg_contourlayers_alt2!="" && fg_labellayers_alt2!="") {
manRWFIELD("room_oppa2", "fldshort", lcl_estate_ruimte_opp_alt2, room_oppa2, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", lcl_fg_tek_room_opp_g_alt2, contour_opp2);
manRWFIELD("room_oppa2", "fldshort", L("lcl_estate_ruimte_opp_alt2"), room_oppa2, {maxlength: 10, datatype: "float"});
ROFIELDTR("fldshort", L("lcl_fg_tek_room_opp_g_alt2"), contour_opp2);
}
manRWFIELD("room_omt", "fldshort", lcl_estate_ruimte_man_omtrek, room_omt, {maxlength: 10, datatype: "float"});
manRWFIELD("room_inh", "fldshort", lcl_estate_ruimte_man_inhoud, room_inh, {maxlength: 13, datatype: "float"});
manRWFIELD("room_opm", "fld", lcl_estate_ruimte_man_opmerk, room_opm, {maxlength: 50});
manRWFIELD("room_omt", "fldshort", L("lcl_estate_ruimte_man_omtrek"), room_omt, {maxlength: 10, datatype: "float"});
manRWFIELD("room_inh", "fldshort", L("lcl_estate_ruimte_man_inhoud"), room_inh, {maxlength: 13, datatype: "float"});
manRWFIELD("room_opm", "fld", L("lcl_estate_ruimte_man_opmerk"), room_opm, {maxlength: 50});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : room_key,

View File

@@ -1,13 +1,13 @@
<%@language = "javascript" %>
<% /*
$Revision: 9 $
$Modtime: 29-06-11 15:10 $
$Revision: 10 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_ruimte_save.asp
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->
@@ -19,22 +19,22 @@
var isNew = (room_key < 0);
var fields = [ { dbs: "ALG_VERDIEPING_KEY", typ: "key", frm: "verdiepingkey" },
{ dbs: "ALG_SRTRUIMTE_KEY", typ: "key", frm: "room_srt", track: lcl_estate_ruimte_man_sort , foreign: "alg_srtruimte" },
{ dbs: "ALG_RUIMTE_NR", typ: "varchar", frm: "room_nr", track: lcl_estate_ruimte_man_nr },
{ dbs: "ALG_SRTRUIMTE_KEY", typ: "key", frm: "room_srt", track: L("lcl_estate_ruimte_man_sort") , foreign: "alg_srtruimte" },
{ dbs: "ALG_RUIMTE_NR", typ: "varchar", frm: "room_nr", track: L("lcl_estate_ruimte_man_nr") },
{ dbs: "ALG_RUIMTE_ACADKEY", typ: "varchar", frm: "room_ackey" },
{ dbs: "ALG_RUIMTE_OMSCHRIJVING", typ: "varchar", frm: "room_oms", track: lcl_estate_ruimte_man_descr },
{ dbs: "ALG_RUIMTE_OMSCHRIJVING", typ: "varchar", frm: "room_oms", track: L("lcl_estate_ruimte_man_descr") },
{ dbs: "ALG_RUIMTE_GETEKEND", typ: "date", frm: "room_tek" },
{ dbs: "ALG_RUIMTE_BRUTO_VLOEROPP", typ: "float", frm: "room_opp", track: lcl_estate_ruimte_bruto_vloeropp },
{ dbs: "ALG_RUIMTE_OMTREK", typ: "float", frm: "room_omt", track: lcl_estate_ruimte_man_omtrek },
{ dbs: "ALG_RUIMTE_INHOUD", typ: "float", frm: "room_inh", track: lcl_estate_ruimte_man_inhoud },
{ dbs: "ALG_RUIMTE_OPMERKING", typ: "varchar", frm: "room_opm", track: lcl_estate_ruimte_man_opmerk },
{ dbs: "ALG_RUIMTE_BRUTO_VLOEROPP", typ: "float", frm: "room_opp", track: L("lcl_estate_ruimte_bruto_vloeropp") },
{ dbs: "ALG_RUIMTE_OMTREK", typ: "float", frm: "room_omt", track: L("lcl_estate_ruimte_man_omtrek") },
{ dbs: "ALG_RUIMTE_INHOUD", typ: "float", frm: "room_inh", track: L("lcl_estate_ruimte_man_inhoud") },
{ dbs: "ALG_RUIMTE_OPMERKING", typ: "varchar", frm: "room_opm", track: L("lcl_estate_ruimte_man_opmerk") },
{ dbs: "ALG_RUIMTE_VLOER_OMSCHRIJVING", typ: "varchar", frm: "room_flrom" },
{ dbs: "ALG_RUIMTE_OPP_GEVELGLAS", typ: "float", frm: "room_gegl" },
{ dbs: "ALG_RUIMTE_OPP_SEPARATIEGLAS", typ: "float", frm: "room_segl" },
{ dbs: "ALG_RUIMTE_OPP_GEVELBEKLEDING", typ: "float", frm: "room_gebe" },
{ dbs: "ALG_RUIMTE_OPP_ALT1", typ: "float", frm: "room_oppa1", track: lcl_estate_ruimte_opp_alt1 },
{ dbs: "ALG_RUIMTE_OPP_ALT2", typ: "float", frm: "room_oppa2", track: lcl_estate_ruimte_opp_alt2 },
{ dbs: "MLD_DIENSTNIVEAU_KEY", typ: "key", frm: "dienstniveau", track: lcl_mld_dienst_niveau, foreign: "mld_dienstniveau" }
{ dbs: "ALG_RUIMTE_OPP_ALT1", typ: "float", frm: "room_oppa1", track: L("lcl_estate_ruimte_opp_alt1") },
{ dbs: "ALG_RUIMTE_OPP_ALT2", typ: "float", frm: "room_oppa2", track: L("lcl_estate_ruimte_opp_alt2") },
{ dbs: "MLD_DIENSTNIVEAU_KEY", typ: "key", frm: "dienstniveau", track: L("lcl_mld_dienst_niveau"), foreign: "mld_dienstniveau" }
];
var warning="";
if (room_key > 0)

View File

@@ -1,6 +1,6 @@
<%@language = "javascript" %>
<%
/* $Revision: 5 $Modtime: 06-10-2009 $
/* $Revision: 6 $Modtime: 06-10-2009 $
File: alg_edit_ruimtefunctie.asp
Description: edit or add ruimtefuncties
@@ -13,7 +13,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -88,10 +88,10 @@ if (srtruimte_lg_key > -1)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"ruimtefunctie_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"ruimtefunctie_cancel()", icon: "undo.png" }];
var buttons = [ {title: L("lcl_submit"), action:"ruimtefunctie_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"ruimtefunctie_cancel()", icon: "undo.png" }];
IFRAMER_HEADER(lcl_alg_srtruimte_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_srtruimte_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -100,7 +100,7 @@ if (srtruimte_lg_key > -1)
target="hidFrameSubmit"
onSubmit="ruimtefunctie_submit();">
<%
BLOCK_START("algRuimtefunctieLg", lcl_prs_basisblok);
BLOCK_START("algRuimtefunctieLg", L("lcl_prs_basisblok"));
<!-- Ruimtesoort -->
sql = "SELECT alg_srtruimte_key, "
@@ -110,7 +110,7 @@ if (srtruimte_lg_key > -1)
FCLTselector("srtruimte",
sql,
{ initKey: srtruimte_key,
label: lcl_estate_ruimte_man_sort,
label: L("lcl_estate_ruimte_man_sort"),
required: true,
emptyOption: ""
});
@@ -121,11 +121,11 @@ if (srtruimte_lg_key > -1)
eindlevel: 3 // gebouw
});
RWFIELDTR("prijs", "fldalgprijs", LCL.alg.alg_tarief, safe.editablefloat(prijs, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs2", "fldalgprijs", LCL.alg.alg_tariefA, safe.editablefloat(prijs2, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs3", "fldalgprijs", LCL.alg.alg_tariefB, safe.editablefloat(prijs3, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs4", "fldalgprijs", LCL.alg.alg_tariefC, safe.editablefloat(prijs4, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs5", "fldalgprijs", LCL.alg.alg_tariefD, safe.editablefloat(prijs5, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs", "fldalgprijs", L("lcl_alg_alg_tarief"), safe.editablefloat(prijs, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs2", "fldalgprijs", L("lcl_alg_alg_tariefA"), safe.editablefloat(prijs2, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs3", "fldalgprijs", L("lcl_alg_alg_tariefB"), safe.editablefloat(prijs3, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs4", "fldalgprijs", L("lcl_alg_alg_tariefC"), safe.editablefloat(prijs4, 5), {maxlength: 17, datatype: "float"});
RWFIELDTR("prijs5", "fldalgprijs", L("lcl_alg_alg_tariefD"), safe.editablefloat(prijs5, 5), {maxlength: 17, datatype: "float"});
BLOCK_END();
%>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 2 $
$Modtime: 25-11-10 11:26 $
$Revision: 3 $
$Modtime: 15-01-12 18:16 $
File: alg_edit_ruimtefunctie_save.asp
@@ -11,7 +11,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<% FCLTHeader.Requires({ plugins:["jQuery"],
@@ -53,7 +53,7 @@
oRs = Oracle.Execute(sql);
if (!oRs.eof)
{
warning = LCL.alg.room_type_exists;
warning = L("lcl_alg_room_type_exists");
}
}
__Log("srtruimte_lg_key = " + srtruimte_lg_key);

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 10 $
$Modtime: 11-01-12 15:46 $
/* $Revision: 11 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_terreinsector.asp
Description: Wijzigen of toevoegen van geselecteerde terreinsector
@@ -11,7 +11,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/selector.inc" -->
@@ -85,9 +85,9 @@ if (ter_key > 0)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_terreinsector_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_terreinsector_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -117,27 +117,27 @@ BLOCK_START("algInfo", "");
+ "ORDER BY UPPER("+lcl.xsql('alg_srtterreinsec_omschrijving', 'alg_srtterreinsector_key')+")";
FCLTselector("ter_srkey", sql,
{ label: lcl_estate_terreinsector_man_sort,
{ label: L("lcl_estate_terreinsector_man_sort"),
initKey: ter_srkey,
emptyOption: "",
readonly: false
});
RWFIELDTR("ter_code", "fld", lcl_estate_terreinsector_man_code, ter_code, {maxlength: 10, required: true});
RWFIELDTR("ter_naam", "fld", lcl_estate_terreinsector_man_name, ter_naam, {maxlength: 30, required: true});
RWFIELDTR("ter_code", "fld", L("lcl_estate_terreinsector_man_code"), ter_code, {maxlength: 10, required: true});
RWFIELDTR("ter_naam", "fld", L("lcl_estate_terreinsector_man_name"), ter_naam, {maxlength: 30, required: true});
FCLTkostenplaatsselector( "prs_kstn",
"prs_kstn",
user_key,
{ kostenplaatsKey: prs_kstn,
label: lcl_prs_dept_kosten });
label: L("lcl_prs_dept_kosten") });
RWFIELDTR("ter_ordnr", "fld", lcl_estate_terreinsector_ordernr, ter_ordnr, {maxlength: 30});
RWFIELDTR("ter_opp", "fld", lcl_estate_terreinsector_man_oppervlak, ter_opp, {maxlength: 15});
RWFIELDTR("ter_omt", "fld", lcl_estate_terreinsector_man_omtrek, ter_omt, {maxlength: 15});
RWFIELDTR("ter_ordnr", "fld", L("lcl_estate_terreinsector_ordernr"), ter_ordnr, {maxlength: 30});
RWFIELDTR("ter_opp", "fld", L("lcl_estate_terreinsector_man_oppervlak"), ter_opp, {maxlength: 15});
RWFIELDTR("ter_omt", "fld", L("lcl_estate_terreinsector_man_omtrek"), ter_omt, {maxlength: 15});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : ter_key,

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 6 $
$Modtime: 27-07-11 13:52 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 7 $
$Modtime: 19-05-11 12:56 $
/* $Revision: 8 $
$Modtime: 13-01-12 19:59 $
File: alg_edit_verdieping.asp
Description: wijzigen of toevoegen verdieping
@@ -11,7 +11,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!--#include file="../Shared/selector.inc" -->
@@ -69,9 +69,9 @@ if (flr_key > 0)
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_verdieping_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_verdieping_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -95,9 +95,9 @@ BLOCK_START("algLoc1", "");
readonly: (flr_key > 0),
required: true });
manRWFIELD("flr_omschr", "fld", lcl_estate_verdieping_man_descr, flr_omschr, {required: true, maxlength: 30});
manRWFIELD("flr_code", "fld", lcl_estate_verdieping_man_code, flr_code, {required: true, maxlength: 10});
manRWFIELD("flr_volgnr", "fldshort", lcl_estate_verdieping_man_volgnr, flr_volgnr, {required: true, maxlength: 3});
manRWFIELD("flr_omschr", "fld", L("lcl_estate_verdieping_man_descr"), flr_omschr, {required: true, maxlength: 30});
manRWFIELD("flr_code", "fld", L("lcl_estate_verdieping_man_code"), flr_code, {required: true, maxlength: 10});
manRWFIELD("flr_volgnr", "fldshort", L("lcl_estate_verdieping_man_volgnr"), flr_volgnr, {required: true, maxlength: 3});
sql = "SELECT mld_dienstniveau_key, "
+ lcl.xsqla("mld_dienstniveau_omschr", "mld_dienstniveau_key")
@@ -105,14 +105,14 @@ BLOCK_START("algLoc1", "");
+ "ORDER BY UPPER("+lcl.xsql("mld_dienstniveau_omschr", "mld_dienstniveau_key")+")";
FCLTselector("dienstniveau", sql,
{ label: lcl_mld_dienst_niveau,
{ label: L("lcl_mld_dienst_niveau"),
initKey: dienstniveau,
emptyOption: "",
readonly: !this_alg.writeuse
});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : bld_key,

View File

@@ -1,12 +1,12 @@
<%@language = "javascript" %>
<% /*
$Revision: 6 $
$Modtime: 27-07-11 13:54 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc"-->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 12 $
$Modtime: 11-01-12 8:32 $
/* $Revision: 13 $
$Modtime: 15-01-12 18:33 $
File: alg_edit_wp.asp
Description: wijzigen of toevoegen van een werkplek
@@ -12,7 +12,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<!--#include file="../Shared/plaatsselector.inc" -->
@@ -96,7 +96,7 @@ function checkArea()
&& !isGoodNumber(document.getElementById("area").value, false )
&& parseInt(document.getElementById("wp_opp").value,10) > 0
&& parseInt(document.getElementById("wp_opp").value,10) < 999999.99) {
alert('<%=lcl_estate_wp_bad_area%>');
alert(L("lcl_estate_wp_bad_area"));
return false;
}
@@ -133,10 +133,10 @@ $(document).ready(function(){ onChangeRoom(<%=room_key%>)});
<body id="editbody">
<%
var buttons = [ //{title: lcl_submit, action:"alg_next()", icon: "opslaan.png" },
{title: lcl_submit, action:"alg_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_alg_wp_frame, buttons);
var buttons = [ //{title: L("lcl_submit"), action:"alg_next()", icon: "opslaan.png" },
{title: L("lcl_submit"), action:"alg_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"alg_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_alg_wp_frame"), buttons);
%>
<div id="edit">
<form name="u2"
@@ -154,27 +154,27 @@ BLOCK_START("algInfo", "");
readonly: (wp_key > 0),
required: true });
RWFIELDTR("wp_volgnr", "fldshort", lcl_estate_wp_seq, wp_volgnr, {required: true,
RWFIELDTR("wp_volgnr", "fldshort", L("lcl_estate_wp_seq"), wp_volgnr, {required: true,
html: 'onChange="onChangeVolgnr()"',
datatype: "number",
maxlength: 3});
RWFIELDTR("wp_oms", "fld", lcl_workplace, wp_oms, {maxlength: 30});
RWFIELDTR("wp_oms", "fld", L("lcl_workplace"), wp_oms, {maxlength: 30});
%>
<tr>
<td class="label"><label><%=lcl_estate_wp_fixed%>:</label></td>
<td class="label"><label><%=L("lcl_estate_wp_fixed")%>:</label></td>
<td>
<label for="wp_vstopp_v">
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_v" value="" <%= wp_vstopp==null ? " checked " : "" %>><%=lcl_estate_wp_fixed_v%>
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_v" value="" <%= wp_vstopp==null ? " checked " : "" %>><%=L("lcl_estate_wp_fixed_v")%>
</label>
<label for="wp_vstopp_f">
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_f" value="1" <%= wp_vstopp==1 ? " checked " : "" %>><%=lcl_estate_wp_fixed_f%>
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_f" value="1" <%= wp_vstopp==1 ? " checked " : "" %>><%=L("lcl_estate_wp_fixed_f")%>
</label>
</td>
</tr>
<%
RWFIELDTR("wp_opp", "fld", lcl_estate_wp_area, wp_opp, {maxlength: 10, float: true}); //TODO: in de toekomst ook kijken naar tussen 0 en 99999.99 ?
RWFIELDTR("wp_opp", "fld", L("lcl_estate_wp_area"), wp_opp, {maxlength: 10, float: true}); //TODO: in de toekomst ook kijken naar tussen 0 en 99999.99 ?
CHECKBOXTR(lcl_estate_wp_virt, "fldalgbez", "wp_virt", wp_virt==1);
CHECKBOXTR(L("lcl_estate_wp_virt"), "fldalgbez", "wp_virt", wp_virt==1);
BLOCK_END();
%>

View File

@@ -1,15 +1,14 @@
<%@language = "javascript" %>
<% /*
$Revision: 7 $
$Modtime: 2-12-10 13:31 $
$Revision: 8 $
$Modtime: 13-01-12 19:59 $
SUBMIT-form
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../shared/save2db.inc" -->
<!-- #include file="../shared/date_sql.inc" -->
<% FCLTHeader.Requires({ plugins:["jQuery"] }); %>
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 6 $
$Modtime: 19-05-11 12:11 $
/* $Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: alg_gebouw.asp
Status:
@@ -13,7 +13,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<%
@@ -41,7 +41,7 @@ else
<head>
<% FCLTHeader.Generate(); %>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_building%> <%=safe.jsstring(bld_name)%>", {hot:false});
FcltMgr.setTitle("<%=L("lcl_building")%> <%=safe.jsstring(bld_name)%>", {hot:false});
<% if (bld_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -73,7 +73,7 @@ else
var page="alg_show_gebouw.asp";
page += "?bld_key="+bld_key;
IFRAMER("algFrame", page, { title: lcl_alg_gebouw_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_gebouw_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 8 $
$Modtime: 17-11-11 8:28 $
$Revision: 9 $
$Modtime: 15-01-12 19:36 $
File: alg_gebouw.inc
Description: Show an overview of gebouw items in list-form,
which meets with the given requirements
@@ -38,25 +38,25 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_verdieping_search.asp?gebouw_key=" + algData.detail_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_floor%>");
FcltMgr.openDetail(url, "<%=L("lcl_floor")%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_locatie_search.asp?locatie_key=" + algData.parent_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_location%>");
FcltMgr.openDetail(url, "<%=L("lcl_location")%>");
}
function gebouwEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_gebouw.asp?mode=viewUpdate&key=" + algData.key;
FcltMgr.openDetail(url, "<%=lcl_building%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_building")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var bldKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_gebouw%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_gebouw")))
$.post("alg_delete.asp",
{ key: bldKeyString,
level: "G" },
@@ -160,7 +160,7 @@ function gebouw_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
// addurl += buildTransitParam(["loc_key", "bld_key", "flo_key", "room_key"], params) // TODO: welke allemaal?
@@ -168,7 +168,7 @@ function gebouw_list(pautfunction, params)
var rst = new ResultsetTable({ sql:sqln,
keyColumn: "alg_gebouw_key",
ID: "algtable",
title: lcl_menu_alg_gebouw,
title: L("lcl_menu_alg_gebouw"),
showAll: showall,
rowData: fnrowData,
rowActionEnabler: fnrowActionEnabler,
@@ -179,25 +179,25 @@ function gebouw_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_locatie_man_descr, content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_code, content: "alg_gebouw_code"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_name, content: "alg_gebouw_naam", hasActions: true}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_srtgebouw, content: "alg_srtgebouw_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_bruto_vloeropp, content: "alg_gebouw_bruto_vloeropp"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_descr"), content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_code"), content: "alg_gebouw_code"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_name"), content: "alg_gebouw_naam", hasActions: true}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_srtgebouw"), content: "alg_srtgebouw_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_bruto_vloeropp"), content: "alg_gebouw_bruto_vloeropp"}));
if (outputmode != 0)
{
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_opmerk, content: "alg_gebouw_opmerking"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_omtrek, content: "alg_gebouw_omtrek"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_inhoud, content: "alg_gebouw_inhoud"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_opmerk"), content: "alg_gebouw_opmerking"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_omtrek"), content: "alg_gebouw_omtrek"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_inhoud"), content: "alg_gebouw_inhoud"}));
}
rst.addAction({ action: "gebouwEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", single:!noref, multi: true, multiOnce: true});
rst.addAction({ action: "gebouwEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", single:!noref, multi: true, multiOnce: true});
if (!noref) {
rst.addAction({ action: "gotoDetails", caption: lcl_goto_verdieping_list});
rst.addAction({ action: "gotoParent", caption: lcl_goto_locatie_list});
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_verdieping_list")});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_locatie_list")});
}
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 10 $
$Modtime: 4-07-11 14:49 $
$Revision: 11 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="../Shared/selector.inc" -->
@@ -36,7 +36,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
@@ -45,7 +45,7 @@ var authparams = alg.checkAutorisation();
</head>
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" target="workFrame" action="alg_gebouw_search_list.asp" method="get">
<tr>
<td class="searchkolom1">
@@ -57,7 +57,7 @@ var authparams = alg.checkAutorisation();
gebouwkey: gebouw_key,
startlevel: 2, // locatie
eindlevel: 3, // gebouw
whenEmpty: lcl_search_generic
whenEmpty: L("lcl_search_generic")
});
%>
</table>
@@ -74,7 +74,7 @@ var authparams = alg.checkAutorisation();
FCLTselector("srt",
sql,
{ initKey: gebouw_func,
label: lcl_estate_gebouw_srtgebouw,
label: L("lcl_estate_gebouw_srtgebouw"),
trclass: "primsearch",
emptyOption: ""
});
@@ -85,8 +85,8 @@ var authparams = alg.checkAutorisation();
</form>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id: "bAdvanced" } ];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 5 $
$Modtime: 2-12-10 12:04 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
File: msg_search_list.asp
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_gebouw_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 7 $
$Modtime: 19-05-11 12:16 $
/* $Revision: 8 $
$Modtime: 13-01-12 19:59 $
File: alg_locatie.asp
Description:
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<%
@@ -41,7 +41,7 @@ else
<head>
<% FCLTHeader.Generate(); %>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_location+' '+safe.jsstring(loc_name)%> ", {hot: false});
FcltMgr.setTitle("<%=L("lcl_location")+' '+safe.jsstring(loc_name)%> ", {hot: false});
<% if (loc_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -73,7 +73,7 @@ else
var page="alg_show_locatie.asp";
page += "?loc_key=" + loc_key;
IFRAMER("algFrame", page, { title: lcl_alg_locatie_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_locatie_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 8 $
$Modtime: 17-11-11 8:28 $
$Revision: 9 $
$Modtime: 15-01-12 19:36 $
File: alg_locatie_list.inc
Description: Show an overview of alg_locatie items in list-form,
which meets with the given requirements
@@ -39,31 +39,31 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_gebouw_search.asp?locatie_key="+algData.detail_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_building%>");
FcltMgr.openDetail(url, "<%=L("lcl_building")%>");
}
function gotoDetails2(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_terreinsector_search.asp?locatie_key="+algData.detail_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_terra%>");
FcltMgr.openDetail(url, "<%=L("lcl_terra")%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_district_search.asp?district_key="+algData.parent_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_district%>");
FcltMgr.openDetail(url, "<%=L("lcl_district")%>");
}
function locatieEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_locatie.asp?key="+algData.key;
FcltMgr.openDetail(url, "<%=lcl_location%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_location")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var locKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_locatie%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_locatie")))
$.post("alg_delete.asp",
{ key: locKeyString,
level: "L" },
@@ -153,13 +153,13 @@ function locatie_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({ sql:sqln,
keyColumn: "alg_locatie_key",
ID: "algtable",
title: lcl_menu_alg_locatie,
title: L("lcl_menu_alg_locatie"),
showAll: showall,
rowData: fnrowData,
rowActionEnabler: fnrowActionEnabler,
@@ -170,31 +170,31 @@ function locatie_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_district_man_descr, content: "alg_district_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_locatie_man_code, content: "alg_locatie_code"}));
rst.addColumn(new Column({caption: lcl_estate_locatie_man_descr, content: "alg_locatie_omschrijving", hasActions:true}));
rst.addColumn(new Column({caption: lcl_prs_address_bezoek_adres, content: "alg_locatie_adres"}));
rst.addColumn(new Column({caption: lcl_prs_address_bezoek_postcode, content: "alg_locatie_postcode"}));
rst.addColumn(new Column({caption: lcl_prs_address_bezoek_plaats, content: "alg_locatie_plaats"}));
rst.addColumn(new Column({caption: L("lcl_estate_district_man_descr"), content: "alg_district_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_code"), content: "alg_locatie_code"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_descr"), content: "alg_locatie_omschrijving", hasActions:true}));
rst.addColumn(new Column({caption: L("lcl_prs_address_bezoek_adres"), content: "alg_locatie_adres"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_bezoek_postcode"), content: "alg_locatie_postcode"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_bezoek_plaats"), content: "alg_locatie_plaats"}));
if (outputmode != 0)
{
rst.addColumn(new Column({caption: lcl_prs_address_bezoek_land, content: "alg_locatie_land"}));
rst.addColumn(new Column({caption: lcl_prs_address_post_adres, content: "alg_locatie_post_adres"}));
rst.addColumn(new Column({caption: lcl_prs_address_post_postcode, content: "alg_locatie_post_postcode"}));
rst.addColumn(new Column({caption: lcl_prs_address_post_plaats, content: "alg_locatie_post_plaats"}));
rst.addColumn(new Column({caption: lcl_prs_address_post_land, content: "alg_locatie_post_land"}));
rst.addColumn(new Column({caption: lcl_estate_locatie_man_verantw, content: "alg_locatie_verantw"}));
rst.addColumn(new Column({caption: lcl_estate_locatie_man_verantw_tel, content: "alg_locatie_verantw_tel"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_bezoek_land"), content: "alg_locatie_land"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_post_adres"), content: "alg_locatie_post_adres"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_post_postcode"), content: "alg_locatie_post_postcode"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_post_plaats"), content: "alg_locatie_post_plaats"}));
rst.addColumn(new Column({caption: L("lcl_prs_address_post_land"), content: "alg_locatie_post_land"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_verantw"), content: "alg_locatie_verantw"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_verantw_tel"), content: "alg_locatie_verantw_tel"}));
}
rst.addAction({ action: "locatieEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", single:!noref, multi: true, multiOnce: true});
rst.addAction({ action: "locatieEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", single:!noref, multi: true, multiOnce: true});
if (!noref) {
rst.addAction({ action: "gotoDetails", caption: lcl_goto_gebouw_list});
rst.addAction({ action: "gotoDetails2", caption: lcl_goto_terreinsector_list});
rst.addAction({ action: "gotoParent", caption: lcl_goto_district_list});
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_gebouw_list")});
rst.addAction({ action: "gotoDetails2", caption: L("lcl_goto_terreinsector_list")});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_district_list")});
}
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 6 $
$Modtime: 4-07-11 14:49 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg.inc" -->
@@ -34,7 +34,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
@@ -43,7 +43,7 @@ var authparams = alg.checkAutorisation();
</head>
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" target="workFrame" action="alg_locatie_search_list.asp" method="get">
<tr>
<td class="searchkolom1">
@@ -54,7 +54,7 @@ var authparams = alg.checkAutorisation();
locatiekey: locatie_key,
startlevel: 1, // District
eindlevel: 2, // locatie
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%>
</table>
@@ -66,8 +66,8 @@ var authparams = alg.checkAutorisation();
</form>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id: "bAdvanced" } ];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 5 $
$Modtime: 24-05-11 12:05 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
File:
Description:
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_locatie_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 4 $
$Modtime: 19-05-11 12:13 $
/* $Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: alg_regio.asp
Status:
@@ -13,7 +13,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<%
FCLTHeader.Requires({plugins:["jQuery"], js: []})
@@ -36,7 +36,7 @@ var reg_key = getQParamInt("key", -1);
FcltMgr.closeDetail(window, params );
return true;
}
FcltMgr.setTitle("<%=lcl_region%> " + params.regio_key, {hot: false});
FcltMgr.setTitle("<%=L("lcl_region")%> " + params.regio_key, {hot: false});
if (!params.keepForm)
window.location.href = "alg_regio.asp?verynew=1&key=" + params.regio_key;
<% } else { // Bestaande melding bewerkt, switch naar show-mode %>
@@ -57,7 +57,7 @@ var reg_key = getQParamInt("key", -1);
var page="alg_show_regio.asp";
page += "?regio_key="+reg_key;
IFRAMER("algFrame", page, { title: lcl_alg_regio_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_regio_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 6 $
$Modtime: 17-11-11 8:28 $
$Revision: 7 $
$Modtime: 15-01-12 19:36 $
File: alg_regio.inc
Description: Show an overview of regio items in list-form,
which meets with the given requirements
@@ -38,20 +38,20 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_district_search.asp?regio_key=" + algData.detail_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_district%>");
FcltMgr.openDetail(url, "<%=L("lcl_district")%>");
}
function districtEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_regio.asp?mode=viewUpdate&key=" + algData.key;
FcltMgr.openDetail(url, "<%=lcl_region%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_region")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var regKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_regio%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_regio")))
$.post("alg_delete.asp",
{ key: regKeyString,
level: "RE" },
@@ -111,7 +111,7 @@ function regio_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({sql:sqln,
@@ -126,11 +126,11 @@ function regio_list(pautfunction, params)
});
rst.addColumn(new Column({caption: lcl_estate_regio_descr, content: "alg_regio_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_regio_descr"), content: "alg_regio_omschrijving"}));
rst.addAction({ action: "districtEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", multi: true, multiOnce: true});
rst.addAction({ action: "gotoDetails", caption: lcl_goto_district_list});
rst.addAction({ action: "districtEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", multi: true, multiOnce: true});
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_district_list")});
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 5 $
$Modtime: 16-12-10 12:51 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/afdelingselector.inc" -->
@@ -29,7 +29,7 @@ var authparams = alg.checkAutorisation();
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="alg_regio_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
@@ -39,7 +39,7 @@ var authparams = alg.checkAutorisation();
regiokey: regio_key,
startlevel: 0, // Regio
eindlevel: 0, // District
whenEmpty: lcl_search_generic
whenEmpty: L("lcl_search_generic")
});
%>
</table>
@@ -52,7 +52,7 @@ var authparams = alg.checkAutorisation();
<% BLOCK_END(); %>
</form>
<%
var buttons = [{title: lcl_search, action: "document.forms.u2.submit();", id: "bSearch" }];
var buttons = [{title: L("lcl_search"), action: "document.forms.u2.submit();", id: "bSearch" }];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 2-12-10 12:06 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: alg_district_search_list.asp
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_regio_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 14 $
$Modtime: 19-05-11 12:13 $
/* $Revision: 15 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimte.asp
Status:
@@ -13,7 +13,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<%
@@ -70,7 +70,7 @@ else
FCLTHeader.Generate();
%>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_room%> <%=safe.jsstring(room_name)%>", {hot: false});
FcltMgr.setTitle("<%=L("lcl_room")%> <%=safe.jsstring(room_name)%>", {hot: false});
<% if (room_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 16 $
$Modtime: 12-12-11 17:13 $
$Revision: 17 $
$Modtime: 15-01-12 19:36 $
File: alg_ruimte.inc
Description: Show an overview of ruimte items in list-form,
which meets with the given requirements
@@ -48,21 +48,21 @@ function ruimte_list(pautfunction, params)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_werkplek_search.asp?ruimte_key="+algData.detail_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_workspace%>");
FcltMgr.openDetail(url, "<%=L("lcl_workspace")%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_verdieping_search.asp?verdieping_key="+algData.parent_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_floor%>");
FcltMgr.openDetail(url, "<%=L("lcl_floor")%>");
}
function ruimteEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_ruimte.asp?mode=viewUpdate&key="+algData.key;
FcltMgr.openDetail(url, "<%=lcl_room%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_room")%>" + ' ' + algData.oms);
}
function doRuimteAfdeling(rowArray)
@@ -72,14 +72,14 @@ function ruimte_list(pautfunction, params)
{
ruimteArr.push(rowArray[i].getAttribute("ROWKEY"))
}
FcltMgr.openModalDetail("alg_ruimteafdeling.asp?ruimte_keys=" + ruimteArr.join(","), LCL.alg.ruimte_bezetting);
FcltMgr.openModalDetail("alg_ruimteafdeling.asp?ruimte_keys=" + ruimteArr.join(","), L("lcl_alg_ruimte_bezetting"));
}
function doDelete(row, isMulti)
{
$(row).addClass('dirty');
var room_key = row.getAttribute("ROWKEY");
if (isMulti || confirm("<%=lcl_alg_del_txt_ruimte%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_ruimte")))
$.post("alg_delete.asp",
{ key: room_key,
level: "R" },
@@ -199,13 +199,13 @@ function ruimte_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({ sql: sqln,
keyColumn: "alg_ruimte_key",
ID: "algtable",
title: lcl_menu_alg_ruimte,
title: L("lcl_menu_alg_ruimte"),
showAll: showall,
rowData: fnrowData,
rowActionEnabler: fnrowActionEnabler,
@@ -216,41 +216,41 @@ function ruimte_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_descr, content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_verdieping_man_descr, content: "alg_verdieping_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_descr"), content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_verdieping_man_descr"), content: "alg_verdieping_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_nr, content: "alg_ruimte_nr"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_nr"), content: "alg_ruimte_nr"}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_descr, content: "alg_ruimte_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_sort, content: "alg_srtruimte_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_bruto_vloeropp, content: "alg_ruimte_bruto_vloeropp", datatype: "float", decimals: 2 }));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_descr"), content: "alg_ruimte_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_sort"), content: "alg_srtruimte_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_bruto_vloeropp"), content: "alg_ruimte_bruto_vloeropp", datatype: "float", decimals: 2 }));
if (fg_contourlayers_alt1 != "" && fg_labellayers_alt1 != "")
{
rst.addColumn(new Column({caption: lcl_estate_ruimte_opp_alt1, content: "alg_ruimte_opp_alt1", datatype: "float", decimals: 2 }));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_opp_alt1"), content: "alg_ruimte_opp_alt1", datatype: "float", decimals: 2 }));
}
if (fg_contourlayers_alt2 != "" && fg_labellayers_alt2 != "")
{
rst.addColumn(new Column({caption: lcl_estate_ruimte_opp_alt2, content: "alg_ruimte_opp_alt2", datatype: "float", decimals: 2 }));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_opp_alt2"), content: "alg_ruimte_opp_alt2", datatype: "float", decimals: 2 }));
}
if (outputmode != 0) // to be completed
{
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_opmerk, content: "alg_ruimte_opmerking"}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_omtrek, content: "alg_ruimte_omtrek"}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_inhoud, content: "alg_ruimte_inhoud"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_opmerk"), content: "alg_ruimte_opmerking"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_omtrek"), content: "alg_ruimte_omtrek"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_inhoud"), content: "alg_ruimte_inhoud"}));
}
rst.addAction({ action: "ruimteEdit", caption: lcl_edit, isDefault: true });
rst.addAction({ action: "doDelete", caption: lcl_delete, multi: true, single: !noref, enabler: "eDelete" });
rst.addAction({ action: "doRuimteAfdeling", caption: LCL.alg.bezetting, multi: true, multiOnce: true, enabler: "eBezetting" });
rst.addAction({ action: "ruimteEdit", caption: L("lcl_edit"), isDefault: true });
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), multi: true, single: !noref, enabler: "eDelete" });
rst.addAction({ action: "doRuimteAfdeling", caption: L("lcl_alg_bezetting"), multi: true, multiOnce: true, enabler: "eBezetting" });
if (!noref)
{
if (prs_werkplek_implicit == 0)
rst.addAction({ action: "gotoDetails", caption: lcl_goto_werkplek_list });
rst.addAction({ action: "gotoParent", caption: lcl_goto_verdieping_list });
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_werkplek_list") });
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_verdieping_list") });
}
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 11 $
$Modtime: 4-07-11 14:49 $
$Revision: 12 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -40,7 +40,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
@@ -49,7 +49,7 @@ var authparams = alg.checkAutorisation();
</head>
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" target="workFrame" action="alg_ruimte_search_list.asp" method="get">
<tr>
<td class="searchkolom1">
@@ -63,7 +63,7 @@ var authparams = alg.checkAutorisation();
ruimtekey: ruimte_key,
startlevel: 2, // locatie
eindlevel: 5, // ruimte
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%>
@@ -74,11 +74,11 @@ var authparams = alg.checkAutorisation();
<table><!-- x rijen, 2 kolommen: label + veld -->
<!-- Zoektekst -->
<tr class="primsearch">
<td class="label"><label for="nr"><%=lcl_estate_ruimte_man_nr%>:</label></td>
<td class="label"><label for="nr"><%=L("lcl_estate_ruimte_man_nr")%>:</label></td>
<td><input type="text" class="fldsrch" name="nr" value="<%=safe.htmlattr(ruimte_nr)%>"></td>
</tr>
<tr class="primsearch">
<td class="label"><label for="descr"><%=lcl_estate_ruimte_man_descr%>:</label></td>
<td class="label"><label for="descr"><%=L("lcl_estate_ruimte_man_descr")%>:</label></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(ruimte_descr)%>"></td>
</tr>
<%
@@ -91,7 +91,7 @@ var authparams = alg.checkAutorisation();
sql,
{ initKey: ruimte_use,
trclass: "primsearch",
label: lcl_estate_ruimte_man_sort,
label: L("lcl_estate_ruimte_man_sort"),
emptyOption: ""
});
@@ -101,8 +101,8 @@ var authparams = alg.checkAutorisation();
</form>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id: "bAdvanced" } ];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 2-12-10 12:24 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimte_search_list.asp
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_ruimte_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript"%>
<% /*
$Revision: 10 $
$Modtime: 13-01-12 15:39 $
$Revision: 11 $
$Modtime: 15-01-12 18:16 $
File: alg_ruimteafdeling.asp
Description: Laat een afdeling aan meerdere ruimtes toevoegen
@@ -12,7 +12,7 @@
k
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/afdelingselector.inc" -->
@@ -119,27 +119,27 @@ else
<div id="email">
<form name="u2" method="post" action="alg_ruimteafdeling.asp?submit=1&ruimte_keys=<%=ruimte_key_arr.join(",")%>">
<input type="hidden" id="nrRows" name="nrRows" value="0">
<% BLOCK_START("alg_ruimteafdeling", LCL.alg.geselecteerde_ruimten + ": " + ruimte_key_arr.length);
<% BLOCK_START("alg_ruimteafdeling", L("lcl_alg_geselecteerde_ruimten") + ": " + ruimte_key_arr.length);
// <!-- Toevoegen -->
FCLTafdelingselector("afdeling_key",
"sgDept",
{ label: lcl_dep_name_level2,
{ label: L("lcl_dep_name_level2"),
//autlevel: authparams.PRSreadlevel,
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
}); %>
<tr>
<td class="label">
<label for="afdbezettingtable" style="white-space: nowrap"><%=LCL.alg.te_koppelen_afd%>:&nbsp;</label>
<label for="afdbezettingtable" style="white-space: nowrap"><%=L("lcl_alg_te_koppelen_afd")%>:&nbsp;</label>
</td>
<td>
<table id="afdbezettingtable" cellspacing=0 cellpadding=0 class="rstable">
<thead>
<tr>
<th width=15></th>
<th><%=lcl_department%></th>
<th><%=LCL.alg.bezetting_perc%></th>
<th><%=lcl_estate_ruimte_bruto_vloeropp%></th>
<th><%=L("lcl_department")%></th>
<th><%=L("lcl_alg_bezetting_perc")%></th>
<th><%=L("lcl_estate_ruimte_bruto_vloeropp")%></th>
</tr>
</thead>
<tbody>
@@ -180,8 +180,8 @@ else
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_add, icon: "submit.png", action: "alg_add()" },
{title: lcl_submit, icon: "undo.png", action: "alg_submit()" } ];
var buttons = [ {title: L("lcl_add"), icon: "submit.png", action: "alg_add()" },
{title: L("lcl_submit"), icon: "undo.png", action: "alg_submit()" } ];
CreateButtons(buttons);
%>
</form>

View File

@@ -1,6 +1,6 @@
/*
$Revision: 6 $
$Modtime: 13-01-12 15:36 $
$Revision: 7 $
$Modtime: 15-01-12 18:16 $
File: alg_ruimteafdeling.js
*/
@@ -65,7 +65,7 @@ function CreateRow(afd_key, afd_name, bezetting, oppervlak, bruto)
function delRow(img)
{
// Verwijder de aangeklikte afdeling uit de lijst (de regel)
if (!confirm(LCL.alg.cancelDepartment))
if (!confirm(L("lcl_alg_cancelDepartment")))
return;
var tr = $(img).closest("tr")[0];
if (tr.myData.afd_key != null)
@@ -113,7 +113,7 @@ function checkInput(bezetting)
{
// if (!isGoodNumber(bezetting.value, true) || bezetting.value > 100)
// {
// alert(LCL.alg.bezetting_ongeldig);
// alert(L("lcl_alg_bezetting_ongeldig"));
// bezetting.select();
// bezetting.focus();
// } dit er even tussenuit omdat wij wijzigen geen goed nummer is.

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 1 $
$Modtime: 23-11-10 9:26 $
/* $Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: prs_algsrtruimte.asp
Description: dit is de grote 'wrapper' voor de diverse andere schermen
@@ -13,7 +13,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<%
@@ -59,7 +59,7 @@ FCLTHeader.Requires({plugins:["suggest","jQuery"], js: ["jQuery-ui.js"]})
//else
// var page="alg_show_ruimtefunctie.asp?srtruimte_lg_key=" + srtruimte_lg_key ;
IFRAMER("prsFrame", page, { title: lcl_prs_dienst_frame,
IFRAMER("prsFrame", page, { title: L("lcl_prs_dienst_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 2 $
$Modtime: 25-11-10 11:28 $
$Revision: 3 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimtefunctie_delete.asp
Description: Verwijderen ruimtefunctie locatie/gebouw relatie
@@ -15,7 +15,7 @@
*/
DOCTYPE_Disable = 1;
%>
<!--#include file="../../cust/install.inc"-->
<!--#include file="../Shared/common.inc"-->
<!--#include file="../Shared/json2.js" -->
<%

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 7 $
$Modtime: 25-08-11 12:40 $
$Revision: 8 $
$Modtime: 15-01-12 18:16 $
File: alg_ruimtefunctie.inc
Description: Show an overview of ruimtefunctie items in list-form,
which meets with the given requirements
@@ -46,7 +46,7 @@ function ruimtefunctie_list(pautfunction, params)
var srtruimte_lg_key = row.getAttribute("ROWKEY");
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var subject = "<%=lcl_estate_ruimte_man_sort%>" + ' ' + algData.oms;
var subject = "<%=L("lcl_estate_ruimte_man_sort")%>" + ' ' + algData.oms;
var url = "alg_ruimtefunctie.asp?srtruimte_lg_key=" + srtruimte_lg_key;
FcltMgr.openModalDetail(url, subject, { width: 700, callback: FcltMgr.reload });
}
@@ -55,7 +55,7 @@ function ruimtefunctie_list(pautfunction, params)
{
$(row).addClass('dirty');
var srtruimte_lg_key = row.getAttribute("ROWKEY");
if (isMulti || confirm(LCL.alg.del_txt_ruimtefunctie))
if (isMulti || confirm(L("lcl_alg_del_txt_ruimtefunctie")))
$.post("alg_ruimtefunctie_delete.asp",
{ key: srtruimte_lg_key },
FcltCallbackRefresh,
@@ -131,13 +131,13 @@ function ruimtefunctie_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openModalDetail('" + addurl + "', '" + lcl_add + "', { width: 700, callback: FcltMgr.reload })" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openModalDetail('" + addurl + "', '" + L("lcl_add") + "', { width: 700, callback: FcltMgr.reload })" }]
}
var rst = new ResultsetTable({ sql: sqln,
keyColumn: "alg_srtruimte_lg_key",
ID: "algtable",
title: lcl_menu_alg_ruimtefuncties,
title: L("lcl_menu_alg_ruimtefuncties"),
showAll: showall,
rowData: fnrowData,
rowActionEnabler: fnrowActionEnabler,
@@ -146,17 +146,17 @@ function ruimtefunctie_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_sort, content: "alg_srtruimte_omschrijving"}));
rst.addColumn(new Column({caption: lcl_location, content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: lcl_building, content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: LCL.alg.alg_tarief, content: "alg_srtruimte_prijs", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: LCL.alg.alg_tariefA, content: "alg_srtruimte_prijs2", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: LCL.alg.alg_tariefB, content: "alg_srtruimte_prijs3", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: LCL.alg.alg_tariefC, content: "alg_srtruimte_prijs4", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: LCL.alg.alg_tariefD, content: "alg_srtruimte_prijs5", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_sort"), content: "alg_srtruimte_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_location"), content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_building"), content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_alg_alg_tarief"), content: "alg_srtruimte_prijs", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: L("lcl_alg_alg_tariefA"), content: "alg_srtruimte_prijs2", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: L("lcl_alg_alg_tariefB"), content: "alg_srtruimte_prijs3", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: L("lcl_alg_alg_tariefC"), content: "alg_srtruimte_prijs4", datatype: "float", decimals: 5 }));
rst.addColumn(new Column({caption: L("lcl_alg_alg_tariefD"), content: "alg_srtruimte_prijs5", datatype: "float", decimals: 5 }));
rst.addAction({ action: "ruimtefunctie_edit", caption: lcl_edit, isDefault: true });
rst.addAction({ action: "ruimtefunctie_delete", caption: lcl_delete, enabler: "eDelete", multi: true });
rst.addAction({ action: "ruimtefunctie_edit", caption: L("lcl_edit"), isDefault: true });
rst.addAction({ action: "ruimtefunctie_delete", caption: L("lcl_delete"), enabler: "eDelete", multi: true });
var cnt = rst.processResultset();
%>

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 4 $
$Modtime: 1-06-11 9:18 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimtefunctie_search.asp
Description: Toont zoekvelden voor lijst van ruimtefuncties
@@ -13,7 +13,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -42,7 +42,7 @@ var authparams = alg.checkAutorisation();
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="alg_ruimtefunctie_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
@@ -56,7 +56,7 @@ var authparams = alg.checkAutorisation();
sql,
{ initKey: alg_srtruimte_key,
trclass: "primsearch",
label: lcl_estate_ruimte_man_sort,
label: L("lcl_estate_ruimte_man_sort"),
emptyOption: ""
});
%>
@@ -70,13 +70,13 @@ var authparams = alg.checkAutorisation();
gebouwkey: gebouw_key,
startlevel: 2, // locatie
eindlevel: 3, // gebouw
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%> </table>
</td><!-- end column 1 -->
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch"} ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch"} ];
CreateButtons(buttons, { entersubmit: true});
%>
</form>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 2 $
$Modtime: 2-12-10 12:09 $
$Revision: 3 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimtefunctie_search_list.asp
Description: Vangt de parameters van ruimtefunctie_search op en verwerkt die in een aanroep van ruimtefunctie_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_ruimtefunctie_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 5 $
$Modtime: 4-07-11 13:50 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
File: alg_search.asp
Generieke vastgoedbrowser zonder specifieke filters
@@ -9,7 +9,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -49,7 +49,7 @@ var authparams = alg.checkAutorisation();
</head>
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" id="algform" target="workFrame" action="dynamischbepaald" method="get">
<tr>
<td class="searchkolom1">
@@ -63,7 +63,7 @@ var authparams = alg.checkAutorisation();
ruimtekey: ruimte_key,
startlevel: 0, // regio
eindlevel: 5, // ruimte
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%>
</table>
@@ -75,11 +75,11 @@ var authparams = alg.checkAutorisation();
<% BLOCK_END();
var buttons = [
{title: lcl_menu_alg_locatie, action: "doSubmit('L')"},
{title: lcl_menu_alg_gebouw, action: "doSubmit('G')"},
{title: lcl_menu_alg_verdieping, action: "doSubmit('V')"},
{title: lcl_menu_alg_ruimte, action: "doSubmit('R')"},
{title: lcl_menu_alg_terreinsector, action: "doSubmit('T')"}
{title: L("lcl_menu_alg_locatie"), action: "doSubmit('L')"},
{title: L("lcl_menu_alg_gebouw"), action: "doSubmit('G')"},
{title: L("lcl_menu_alg_verdieping"), action: "doSubmit('V')"},
{title: L("lcl_menu_alg_ruimte"), action: "doSubmit('R')"},
{title: L("lcl_menu_alg_terreinsector"), action: "doSubmit('T')"}
];
CreateButtons(buttons);
%></div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 8 $
$Modtime: 3-05-11 13:05 $
/* $Revision: 9 $
$Modtime: 15-01-12 19:36 $
File: alg_show_district.asp
Description: show mode voor het districten scherm
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg_flexkenmerk.inc" -->
@@ -47,7 +47,7 @@ oRs.Close();
}
function dis_delete()
{
if (confirm("<%=lcl_alg_del_txt_district%>"))
if (confirm(L("lcl_alg_del_txt_district")))
$.post("alg_delete.asp",
{ key: <%=dis_key%>,
level: "D" },
@@ -62,17 +62,17 @@ oRs.Close();
if (!dis_deleted)
{
if (this_alg.writeuse || this_alg.writeman)
buttons.push({title: lcl_change, action:"dis_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"dis_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"dis_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"dis_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_district_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_district_frame"), buttons);
%>
<div id="show">
<% if (dis_deleted == 1)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -85,7 +85,7 @@ oRs.Close();
readonly: true });
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({ onrgoed_key : dis_key,
onrgoed_niveau : onrgoedlvl,
reado : true,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 12 $
$Modtime: 1-12-11 14:04 $
/* $Revision: 13 $
$Modtime: 15-01-12 19:36 $
File: alg_show_gebouw.asp
Description: show gebouw details
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -69,7 +69,7 @@ oRs.Close();
}
function bld_delete()
{
if (confirm("<%=lcl_alg_del_txt_gebouw%>"))
if (confirm(L("lcl_alg_del_txt_gebouw")))
{
$.post("alg_delete.asp",
{ key: <%=bld_key%>,
@@ -86,17 +86,17 @@ oRs.Close();
if (!bld_deleted)
{
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: lcl_change, action:"bld_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"bld_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"bld_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"bld_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_gebouw_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_gebouw_frame"), buttons);
%>
<div id="show">
<% if (bld_deleted)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<div id="show">
@@ -113,23 +113,23 @@ oRs.Close();
+ " WHERE alg_srtgebouw_verwijder IS NULL "
+ "ORDER BY alg_srtgebouw_upper "
FCLTselector("bld_srtkey", sql,
{ label: lcl_estate_gebouw_srtgebouw,
{ label: L("lcl_estate_gebouw_srtgebouw"),
initKey: bld_srtkey,
emptyOption: "",
readonly: true });
ROFIELDTR("fld", lcl_estate_gebouw_man_code, bld_code, {suppressEmpty:true});
ROFIELDTR("fld", lcl_estate_gebouw_man_opmerk, bld_opmerk, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_man_code"), bld_code, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_man_opmerk"), bld_opmerk, {suppressEmpty:true});
sql = "SELECT prs_kostenplaats_key, "
+ " k.prs_kostenplaats_nr || ' ' || k.prs_kostenplaats_omschrijving "
+ " FROM prs_kostenplaats k "
+ " WHERE k.prs_kostenplaats_module = 'ALG' "
+ "ORDER BY prs_kostenplaats_upper ";
FCLTselector("prs_kstpl", sql,
{ label: lcl_prs_dept_kosten,
{ label: L("lcl_prs_dept_kosten"),
initKey: prs_kstpl,
emptyOption: "",
readonly: true });
ROFIELDTR("fld", lcl_estate_gebouw_ordernr, bld_ordrnr, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_ordernr"), bld_ordrnr, {suppressEmpty:true});
if (dienstniveau)
{
sql = "SELECT mld_dienstniveau_key, "
@@ -137,29 +137,29 @@ oRs.Close();
+ " FROM mld_dienstniveau "
+ " WHERE mld_dienstniveau_key = " + dienstniveau;
oRs = Oracle.Execute(sql);
ROFIELDTR("fld", lcl_mld_dienst_niveau, oRs("mld_dienstniveau_omschr").value);
ROFIELDTR("fld", L("lcl_mld_dienst_niveau"), oRs("mld_dienstniveau_omschr").value);
oRs.Close();
}
BLOCK_END();
BLOCK_START("algLoc2", "");
ROFIELDTR("fld", lcl_estate_gebouw_man_bruto_vloeropp, bld_opp, {suppressEmpty:true});
ROFIELDTR("fld", lcl_estate_gebouw_man_omtrek, bld_omtrek, {suppressEmpty:true});
ROFIELDTR("fld", lcl_estate_gebouw_man_inhoud, bld_inhoud, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_man_bruto_vloeropp"), bld_opp, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_man_omtrek"), bld_omtrek, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_man_inhoud"), bld_inhoud, {suppressEmpty:true});
sql ="SELECT mld_adres_key, "
+ " mld_adres_naam "
+ " FROM mld_v_afleveradres "
+ "ORDER BY mld_adres_naam ";
FCLTselector("del_address", sql,
{ label: lcl_delivery_address,
{ label: L("lcl_delivery_address"),
initKey: mld_adres,
emptyOption: "",
readonly: true
}
);
ROFIELDTR("fld", lcl_geoxcoord, bld_x, {suppressEmpty:true});
ROFIELDTR("fld", lcl_geoycoord, bld_y, {suppressEmpty:true});
ROCHECKBOXTR("fldalgbez", lcl_estate_gebouw_bez, bld_bez==1);
ROFIELDTR("fld", L("lcl_geoxcoord"), bld_x, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_geoycoord"), bld_y, {suppressEmpty:true});
ROCHECKBOXTR("fldalgbez", L("lcl_estate_gebouw_bez"), bld_bez==1);
if (beginuur >= 0 && einduur > 0)
{
@@ -167,17 +167,17 @@ oRs.Close();
var hh = Math.floor(beginuur);
var mm = (beginuur*60) % 60;
dd.setHours(hh,mm,0,0);
ROFIELDTR("fld", lcl_estate_gebouw_beginuur, toTimeString(dd), {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_beginuur"), toTimeString(dd), {suppressEmpty:true});
var hh = Math.floor(einduur);
var mm = (beginuur*60) % 60;
dd.setHours(hh,mm,0,0);
ROFIELDTR("fld", lcl_estate_gebouw_einduur, toTimeString(dd), {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_einduur"), toTimeString(dd), {suppressEmpty:true});
}
ROCHECKBOXTR("fldalgwerk", lcl_estate_gebouw_werkdagen, werkdagen==1);
ROCHECKBOXTR("fldalgwerk", L("lcl_estate_gebouw_werkdagen"), werkdagen==1);
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({ onrgoed_key : bld_key,
onrgoed_niveau : onrgoedlvl,
reado : true,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 11 $
$Modtime: 19-05-11 13:09 $
/* $Revision: 12 $
$Modtime: 15-01-12 19:36 $
File: alg_shwo_locatie.asp
Description: show de details van een locatie
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg_flexkenmerk.inc" -->
@@ -60,7 +60,7 @@ oRs.Close();
function alg_showphotos()
{
FcltMgr.openDetail("appl/shared/show_foto.asp?urole=bo&root_path=<%=custpath%>/location_images/&loc_key=<%=loc_key%>", "<%=lcl_photos%>");
FcltMgr.openDetail("appl/shared/show_foto.asp?urole=bo&root_path=<%=custpath%>/location_images/&loc_key=<%=loc_key%>", "<%=L("lcl_photos")%>");
}
function loc_change()
@@ -71,7 +71,7 @@ oRs.Close();
function loc_delete()
{
if (confirm("<%=lcl_alg_del_txt_locatie%>"))
if (confirm(L("lcl_alg_del_txt_locatie")))
{
$.post("alg_delete.asp",
{ key: <%=loc_key%>,
@@ -85,21 +85,21 @@ oRs.Close();
<body id="showbody">
<% var buttons = [];
buttons.push({title: lcl_photos, icon: "camera.png", action: "alg_showphotos()"});
buttons.push({title: L("lcl_photos"), icon: "camera.png", action: "alg_showphotos()"});
if (!loc_deleted)
{
if (this_alg.writeman || this_alg.writeman)
buttons.push({title: lcl_change, action: "loc_change()", icon: "wijzigen.png"});
buttons.push({title: L("lcl_change"), action: "loc_change()", icon: "wijzigen.png"});
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action: "loc_delete()", icon: "delete.png"});
buttons.push({title: L("lcl_delete"), action: "loc_delete()", icon: "delete.png"});
}
IFRAMER_HEADER(lcl_alg_locatie_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_locatie_frame"), buttons);
%>
<div id="show">
<% if (loc_deleted)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -110,11 +110,11 @@ oRs.Close();
eindlevel: 2, // Locatie
readonly: true });
ROFIELDTR("fld", lcl_estate_locatie_man_code, loc_code, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_bezoek_adres, bez_adres, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_bezoek_postcode, bez_postc, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_bezoek_plaats, bez_plaats, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_bezoek_land, bez_land, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_estate_locatie_man_code"), loc_code, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_bezoek_adres"), bez_adres, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_bezoek_postcode"), bez_postc, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_bezoek_plaats"), bez_plaats, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_bezoek_land"), bez_land, {suppressEmpty: true});
if (dienstniveau)
{
sql = "SELECT mld_dienstniveau_key, "
@@ -122,25 +122,25 @@ oRs.Close();
+ " FROM mld_dienstniveau "
+ " WHERE mld_dienstniveau_key = " + dienstniveau;
oRs = Oracle.Execute(sql);
ROFIELDTR("fld", lcl_mld_dienst_niveau, oRs("mld_dienstniveau_omschr").value);
ROFIELDTR("fld", L("lcl_mld_dienst_niveau"), oRs("mld_dienstniveau_omschr").value);
oRs.Close();
}
ROFIELDTR("fld", lcl_geoxcoord, loc_x, {suppressEmpty: true});
ROFIELDTR("fld", lcl_geoycoord, loc_y, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_geoxcoord"), loc_x, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_geoycoord"), loc_y, {suppressEmpty: true});
BLOCK_END();
BLOCK_START("algLoc2", "");
ROFIELDTR("fld", lcl_prs_address_post_adres, pst_adres, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_post_postcode, pst_postc, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_post_plaats, pst_plaats, {suppressEmpty: true});
ROFIELDTR("fld", lcl_prs_address_post_land, pst_land, {suppressEmpty: true});
ROFIELDTR("fld", lcl_estate_locatie_man_verantw, loc_vw, {suppressEmpty: true});
ROFIELDTR("fld", lcl_estate_locatie_man_verantw_tel, loc_vwtel, {suppressEmpty: true});
ROFIELDTR("fld", lcl_noti_email, loc_mail, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_post_adres"), pst_adres, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_post_postcode"), pst_postc, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_post_plaats"), pst_plaats, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_prs_address_post_land"), pst_land, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_estate_locatie_man_verantw"), loc_vw, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_estate_locatie_man_verantw_tel"), loc_vwtel, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_noti_email"), loc_mail, {suppressEmpty: true});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({onrgoed_key : loc_key,
onrgoed_niveau : onrgoedlvl,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 5 $
$Modtime: 3-05-11 13:06 $
/* $Revision: 6 $
$Modtime: 15-01-12 19:36 $
File: alg_show_ruimte.asp
Status:
@@ -13,7 +13,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -48,7 +48,7 @@ oRs.Close();
function reg_delete()
{
if (confirm("<%=lcl_alg_del_txt_regio%>"))
if (confirm(L("lcl_alg_del_txt_regio")))
{
$.post("alg_delete.asp",
{ key: <%=regio_key%>,
@@ -65,17 +65,17 @@ oRs.Close();
if (!reg_deleted)
{
if (this_alg.writeman || this_alg.writeman)
buttons.push({title: lcl_change, action:"reg_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"reg_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"reg_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"reg_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_regio_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_regio_frame"), buttons);
%>
<div id="show">
<% if (reg_deleted == 1)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">

View File

@@ -1,6 +1,6 @@
<%@language = "javascript" %>
<%
/* $Revision: 14 $Modtime: 06-10-2009 $
/* $Revision: 15 $Modtime: 06-10-2009 $
File: alg_show_ruimte.asp
Description: details van een ruimte
@@ -10,7 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -87,7 +87,7 @@ oRs.Close();
}
function room_delete()
{
if (confirm("<%=lcl_alg_del_txt_ruimte%>"))
if (confirm(L("lcl_alg_del_txt_ruimte")))
{
$.post("alg_delete.asp",
{ key: <%=room_key%>,
@@ -104,17 +104,17 @@ oRs.Close();
if (!room_deleted)
{
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: lcl_change, action:"room_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"room_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"room_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"room_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_ruimte_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_ruimte_frame"), buttons);
%>
<div id="show">
<% if (room_deleted)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -128,13 +128,13 @@ oRs.Close();
moreinfo: true,
readonly: true });
var params = { infoPointer: { Url: "Appl/Shared/status_info.asp?room_key=" + room_key + "&urole=bo",
Title: lcl_status_details + " " + room_nr
var params = { infoPointer: { Url: "appl/shared/status_info.asp?room_key=" + room_key + "&urole=bo",
Title: L("lcl_status_details") + " " + room_nr
}
}
ROFIELDTR("fldshort", lcl_estate_ruimte_man_nr, room_nr, params);
ROFIELDTR("fld", lcl_estate_ruimte_man_descr, room_oms);
ROFIELDTR("fldshort", L("lcl_estate_ruimte_man_nr"), room_nr, params);
ROFIELDTR("fld", L("lcl_estate_ruimte_man_descr"), room_oms);
if (room_srt)
{
@@ -143,7 +143,7 @@ oRs.Close();
+ " FROM alg_srtruimte "
+ " WHERE alg_srtruimte_key="+room_srt ;
oRs = Oracle.Execute(sql);
ROFIELDTR("fld", lcl_estate_ruimte_man_sort, oRs("alg_srtruimte_omschrijving").value);
ROFIELDTR("fld", L("lcl_estate_ruimte_man_sort"), oRs("alg_srtruimte_omschrijving").value);
oRs.Close();
}
@@ -154,28 +154,28 @@ oRs.Close();
+ " FROM mld_dienstniveau "
+ " WHERE mld_dienstniveau_key = " + dienstniveau;
oRs = Oracle.Execute(sql);
ROFIELDTR("fld", lcl_mld_dienst_niveau, oRs("mld_dienstniveau_omschr").value);
ROFIELDTR("fld", L("lcl_mld_dienst_niveau"), oRs("mld_dienstniveau_omschr").value);
oRs.Close();
}
BLOCK_END();
BLOCK_START("algLoc2", "");
ROFIELDTR("fldshort", lcl_estate_ruimte_bruto_vloeropp, room_opp, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_bruto_vloeropp"), room_opp, {suppressEmpty:true});
if (room_opp != contour_opp)
ROFIELDTR("fldshort", lcl_estate_ruimte_getekendopp, contour_opp, {suppressEmpty:true});
ROFIELDTR("fldshort", lcl_estate_ruimte_opp_alt1, room_oppa1, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_getekendopp"), contour_opp, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_opp_alt1"), room_oppa1, {suppressEmpty:true});
if (room_oppa1 != contour_opp1)
ROFIELDTR("fldshort", lcl_fg_tek_room_opp_g_alt1, contour_opp1, {suppressEmpty:true});
ROFIELDTR("fldshort", lcl_estate_ruimte_opp_alt2, room_oppa2, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_fg_tek_room_opp_g_alt1"), contour_opp1, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_opp_alt2"), room_oppa2, {suppressEmpty:true});
if (room_oppa2 != contour_opp2)
ROFIELDTR("fldshort", lcl_fg_tek_room_opp_g_alt2, contour_opp2, {suppressEmpty:true});
ROFIELDTR("fldshort", lcl_estate_ruimte_man_omtrek, room_omt, {suppressEmpty:true});
ROFIELDTR("fldshort", lcl_estate_ruimte_man_inhoud, room_inh, {suppressEmpty:true});
ROFIELDTR("fld", lcl_estate_ruimte_man_opmerk, room_opm, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_fg_tek_room_opp_g_alt2"), contour_opp2, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_man_omtrek"), room_omt, {suppressEmpty:true});
ROFIELDTR("fldshort", L("lcl_estate_ruimte_man_inhoud"), room_inh, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_ruimte_man_opmerk"), room_opm, {suppressEmpty:true});
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : room_key,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 10 $
$Modtime: 3-05-11 13:06 $
/* $Revision: 11 $
$Modtime: 15-01-12 19:36 $
File: alg_show_terreinsector.asp
Description: details van een terrein
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -78,7 +78,7 @@ oRs.Close();
}
function ter_delete()
{
if (confirm("<%=lcl_alg_del_txt_terreinsector%>"))
if (confirm(L("lcl_alg_del_txt_terreinsector")))
{
var ter_key = <%=ter_key%>
$.post("alg_delete.asp",
@@ -96,17 +96,17 @@ oRs.Close();
if (!ter_deleted)
{
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: lcl_change, action:"ter_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"ter_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"ter_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"ter_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_terreinsector_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_terreinsector_frame"), buttons);
%>
<div id="show">
<% if (ter_deleted == 1)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -119,16 +119,16 @@ oRs.Close();
readonly: true
});
ROFIELDTR("fld", lcl_estate_terreinsector_man_sort, ter_sroms);
ROFIELDTR("fld", lcl_estate_terreinsector_man_code, ter_code);
ROFIELDTR("fld", lcl_estate_terreinsector_man_name, ter_naam);
ROFIELDTR("fld", lcl_prs_dept_kosten, prs_kstn);
ROFIELDTR("fld", lcl_estate_terreinsector_ordernr, ter_ordnr);
ROFIELDTR("fld", lcl_estate_terreinsector_man_oppervlak, ter_opp);
ROFIELDTR("fld", lcl_estate_terreinsector_man_omtrek, ter_omt);
ROFIELDTR("fld", L("lcl_estate_terreinsector_man_sort"), ter_sroms);
ROFIELDTR("fld", L("lcl_estate_terreinsector_man_code"), ter_code);
ROFIELDTR("fld", L("lcl_estate_terreinsector_man_name"), ter_naam);
ROFIELDTR("fld", L("lcl_prs_dept_kosten"), prs_kstn);
ROFIELDTR("fld", L("lcl_estate_terreinsector_ordernr"), ter_ordnr);
ROFIELDTR("fld", L("lcl_estate_terreinsector_man_oppervlak"), ter_opp);
ROFIELDTR("fld", L("lcl_estate_terreinsector_man_omtrek"), ter_omt);
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode({onrgoed_key : ter_key,
onrgoed_niveau : onrgoedlvl,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 8 $
$Modtime: 19-05-11 13:09 $
/* $Revision: 9 $
$Modtime: 15-01-12 19:36 $
File: alg_show_verdieping.asp
Status:
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -52,7 +52,7 @@ oRs.Close();
function flr_delete()
{
if (confirm("<%=lcl_alg_del_txt_verdieping%>"))
if (confirm(L("lcl_alg_del_txt_verdieping")))
{
$.post("alg_delete.asp",
{ key: <%=flr_key%>,
@@ -69,17 +69,17 @@ oRs.Close();
if (!flr_deleted)
{
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: lcl_change, action:"flr_change()", icon: "wijzigen.png" });
buttons.push({title: L("lcl_change"), action:"flr_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: lcl_delete, action:"flr_delete()", icon: "delete.png" });
buttons.push({title: L("lcl_delete"), action:"flr_delete()", icon: "delete.png" });
}
IFRAMER_HEADER(lcl_alg_verdieping_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_verdieping_frame"), buttons);
%>
<div id="show">
<% if (flr_deleted)
{
%> <div class="alg_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="alg_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -90,8 +90,8 @@ oRs.Close();
eindlevel: 4, // Verdieping
readonly: true });
ROFIELDTR("fld", lcl_estate_verdieping_man_code, flr_code);
ROFIELDTR("fld", lcl_estate_verdieping_man_volgnr, flr_volgnr);
ROFIELDTR("fld", L("lcl_estate_verdieping_man_code"), flr_code);
ROFIELDTR("fld", L("lcl_estate_verdieping_man_volgnr"), flr_volgnr);
if (dienstniveau)
{
sql = "SELECT mld_dienstniveau_key, "
@@ -99,12 +99,12 @@ oRs.Close();
+ " FROM mld_dienstniveau "
+ " WHERE mld_dienstniveau_key = " + dienstniveau;
oRs = Oracle.Execute(sql);
ROFIELDTR("fld", lcl_mld_dienst_niveau, oRs("mld_dienstniveau_omschr").value);
ROFIELDTR("fld", L("lcl_mld_dienst_niveau"), oRs("mld_dienstniveau_omschr").value);
oRs.Close();
}
BLOCK_END();
BLOCK_START("algFlex", lcl_alg_flexblok);
BLOCK_START("algFlex", L("lcl_alg_flexblok"));
generateFlexKenmerkCode ({
onrgoed_key : flr_key,
onrgoed_niveau : onrgoedlvl,

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 6 $
$Modtime: 3-05-11 13:07 $
/* $Revision: 7 $
$Modtime: 15-01-12 19:36 $
File: alg_show_wp.asp
Status: 99%
@@ -13,7 +13,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="alg.inc" -->
@@ -56,7 +56,7 @@ oRs.Close();
function wp_delete()
{
var wp_key = <%=wp_key%>;
if (confirm("<%=lcl_alg_del_txt_werkplek%>"))
if (confirm(L("lcl_alg_del_txt_werkplek")))
$.post("alg_delete.asp",
{ key: <%=wp_key%>,
level: "W" },
@@ -72,16 +72,16 @@ oRs.Close();
{
if (alg.canWriteRuimte(room_key, authparams.uALGwritelevel)) // ALGUSE schrijfrechten nodig
{
var buttons = [ {title: lcl_change, action:"wp_change()", icon: "wijzigen.png" },
{title: lcl_delete, action:"wp_delete()", icon: "delete.png" } ];
var buttons = [ {title: L("lcl_change"), action:"wp_change()", icon: "wijzigen.png" },
{title: L("lcl_delete"), action:"wp_delete()", icon: "delete.png" } ];
}
}
IFRAMER_HEADER(lcl_alg_wp_frame, buttons);
IFRAMER_HEADER(L("lcl_alg_wp_frame"), buttons);
%>
<div id="show">
<% if (wp_deleted == 1)
{
%> <div class="prs_deleted"><%=lcl_record_is_deleted%></div><%
%> <div class="prs_deleted"><%=L("lcl_record_is_deleted")%></div><%
}
%>
<form name=u2 onSubmit="return false;">
@@ -94,23 +94,23 @@ oRs.Close();
startlevel: 2, // Regio
eindlevel: 5, // District
readonly: true });
ROFIELDTR("fld", lcl_estate_wp_seq, wp_volgnr, {suppressEmpty: true});
ROFIELDTR("fld", lcl_workplace, wp_oms, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_estate_wp_seq"), wp_volgnr, {suppressEmpty: true});
ROFIELDTR("fld", L("lcl_workplace"), wp_oms, {suppressEmpty: true});
%> <tr>
<td class="label"><label><%=lcl_estate_wp_fixed%>:</label></td>
<td class="label"><label><%=L("lcl_estate_wp_fixed")%>:</label></td>
<td>
<label for="wp_vstopp_v">
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_v" value="" <%= wp_vstopp==null ? " checked " : "" %> disabled><%=lcl_estate_wp_fixed_v%>
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_v" value="" <%= wp_vstopp==null ? " checked " : "" %> disabled><%=L("lcl_estate_wp_fixed_v")%>
</label>
<label for="wp_vstopp_f">
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_f" value="1"<%= wp_vstopp==1 ? " checked " : "" %> disabled><%=lcl_estate_wp_fixed_f%>
<input type="radio" name="wp_vstopp_v" id="wp_vstopp_f" value="1"<%= wp_vstopp==1 ? " checked " : "" %> disabled><%=L("lcl_estate_wp_fixed_f")%>
</label>
</td>
</tr>
<% ROFIELDTR("fld", lcl_estate_wp_area, wp_opp, {suppressEmpty:true});
<% ROFIELDTR("fld", L("lcl_estate_wp_area"), wp_opp, {suppressEmpty:true});
%>
<tr>
<td class="label"><label><%=lcl_estate_wp_virt%>:</label></td>
<td class="label"><label><%=L("lcl_estate_wp_virt")%>:</label></td>
<td><input class="fldalgbez" type="checkbox" id="wp_virt" name="wp_virt" value="<%=wp_virt%>" <%= wp_virt==1 ? " checked " : "" %>disabled></td>
</tr>
</table>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 8 $
$Modtime: 19-05-11 12:15 $
/* $Revision: 9 $
$Modtime: 13-01-12 19:59 $
File: alg_terreinsector
Description: Terreinsector wrapper
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<%
@@ -46,7 +46,7 @@ else
<head>
<% FCLTHeader.Generate(); %>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_terra%> <%=safe.jsstring(ter_naam)%> ", {hot: false});
FcltMgr.setTitle("<%=L("lcl_terra")%> <%=safe.jsstring(ter_naam)%> ", {hot: false});
<% if (ter_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -78,7 +78,7 @@ else
var page = "alg_show_terreinsector.asp";
page += "?ter_key=" + ter_key;
IFRAMER("algFrame", page, { title: lcl_alg_terreinsector_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_terreinsector_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 13 $
$Modtime: 17-11-11 8:28 $
$Revision: 14 $
$Modtime: 15-01-12 19:36 $
File: alg_terreinsector.inc
Description: Show an overview of terrein items in list-form,
which meets with the given requirements
@@ -37,20 +37,20 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_locatie_search.asp?locatie_key=" + algData.parent_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_location%>");
FcltMgr.openDetail(url, "<%=L("lcl_location")%>");
}
function terreinEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_terreinsector.asp?mode=viewUpdate&ter_key="+algData.key;
FcltMgr.openDetail(url, "<%=lcl_terra%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_terra")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var terKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_terreinsector%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_terreinsector")))
$.post("alg_delete.asp",
{ key: terKeyString,
level: "T" },
@@ -140,13 +140,13 @@ function terrein_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({sql:sqln,
keyColumn: "alg_terreinsector_key",
ID: "algtable",
title: lcl_menu_alg_terreinsector,
title: L("lcl_menu_alg_terreinsector"),
showAll: showall,
rowActionEnabler: fnrowActionEnabler,
rowData: fnrowData,
@@ -157,17 +157,17 @@ function terrein_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_locatie_man_descr, content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_terreinsector_man_code, content: "alg_terreinsector_code"}));
rst.addColumn(new Column({caption: lcl_estate_terreinsector_man_name, content: "alg_terreinsector_naam"}));
rst.addColumn(new Column({caption: lcl_estate_terreinsector_man_sort, content: "alg_srtterreinsec_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_terreinsector_man_oppervlak, content: "alg_terreinsector_oppervlak"}));
rst.addColumn(new Column({caption: lcl_estate_terreinsector_man_omtrek, content: "alg_terreinsector_omtrek"}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_descr"), content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_terreinsector_man_code"), content: "alg_terreinsector_code"}));
rst.addColumn(new Column({caption: L("lcl_estate_terreinsector_man_name"), content: "alg_terreinsector_naam"}));
rst.addColumn(new Column({caption: L("lcl_estate_terreinsector_man_sort"), content: "alg_srtterreinsec_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_terreinsector_man_oppervlak"), content: "alg_terreinsector_oppervlak"}));
rst.addColumn(new Column({caption: L("lcl_estate_terreinsector_man_omtrek"), content: "alg_terreinsector_omtrek"}));
rst.addAction({ action: "terreinEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", single: !noref, multi: true, multiOnce: true});
rst.addAction({ action: "terreinEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", single: !noref, multi: true, multiOnce: true});
if (!noref)
rst.addAction({ action: "gotoParent", caption: lcl_goto_locatie_list});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_locatie_list")});
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 10 $
$Modtime: 4-07-11 14:49 $
$Revision: 11 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -36,7 +36,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
$(document).ready(function() {<% if (autosearch) { %> document.forms.u2.submit();<%}%>});
@@ -45,7 +45,7 @@ var authparams = alg.checkAutorisation();
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="alg_terreinsector_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
@@ -55,7 +55,7 @@ var authparams = alg.checkAutorisation();
locatiekey: locatie_key,
startlevel: 2, // locatie
eindlevel: 2, // locatie
whenEmpty: lcl_search_generic
whenEmpty: L("lcl_search_generic")
});
sql = "SELECT alg_srtterreinsector_key, "
+ lcl.xsqla('alg_srtterreinsec_omschrijving', 'alg_srtterreinsector_key')
@@ -65,7 +65,7 @@ var authparams = alg.checkAutorisation();
FCLTselector("srt",
sql,
{ initKey: ter_func,
label: lcl_estate_terreinsector_man_sort,
label: L("lcl_estate_terreinsector_man_sort"),
emptyOption: "",
trclass: "primsearch",
initEmpty: true
@@ -79,7 +79,7 @@ var authparams = alg.checkAutorisation();
<table><!-- x rijen, 2 kolommen: label + veld -->
<!-- Zoektekst -->
<tr class="primsearch">
<td class="label"><label for="descr"><%=lcl_estate_terreinsector_man_code%>:</label></td>
<td class="label"><label for="descr"><%=L("lcl_estate_terreinsector_man_code")%>:</label></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(vak_code)%>"></td>
</tr>
</table>
@@ -87,8 +87,8 @@ var authparams = alg.checkAutorisation();
</tr>
<% BLOCK_END(); %>
<%
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id:"bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id:"bAdvanced" } ];
CreateButtons(buttons);
%>
</form>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 2-12-10 12:16 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: alg_ruimte_search_list.asp
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_terreinsector_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 6 $
$Modtime: 19-05-11 12:15 $
/* $Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: alg_verdieping.asp
Description: Verdieping wrapper
@@ -12,7 +12,7 @@
Note:
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<%
@@ -50,7 +50,7 @@ else
<% FCLTHeader.Generate();
%>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_floor%> <%=safe.jsstring(floor_name)%>", {hot: false});
FcltMgr.setTitle("<%=L("lcl_floor")%> <%=safe.jsstring(floor_name)%>", {hot: false});
<% if (flr_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -82,7 +82,7 @@ else
var page="alg_show_verdieping.asp";
page += "?flr_key="+flr_key;
IFRAMER("algFrame", page, { title: lcl_alg_verdieping_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_verdieping_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
%>

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 9 $
$Modtime: 17-11-11 8:28 $
$Revision: 10 $
$Modtime: 15-01-12 19:36 $
File: alg_verdieping.inc
Description: Show an overview of verdieping items in list-form,
which meets with the given requirements
@@ -38,25 +38,25 @@ function fnrowData(oRs)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_ruimte_search.asp?verdieping_key=" + algData.detail_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_room%>");
FcltMgr.openDetail(url, "<%=L("lcl_room")%>");
}
function gotoParent(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_gebouw_search.asp?gebouw_key=" + algData.parent_key + "&autosearch=" + autosearch;
FcltMgr.openDetail(url, "<%=lcl_building%>");
FcltMgr.openDetail(url, "<%=L("lcl_building")%>");
}
function verdiepingEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_verdieping.asp?mode=viewUpdate&key=" + algData.key;
FcltMgr.openDetail(url, "<%=lcl_floor%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_floor")%>" + ' ' + algData.oms);
}
function doDelete(rowArray, isMulti)
{
var flrKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_verdieping%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_verdieping")))
$.post("alg_delete.asp",
{ key: flrKeyString,
level: "V" },
@@ -148,13 +148,13 @@ function verdiepingen_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: "FcltMgr.openDetail('" + addurl + "', '" + lcl_add + "')" }]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: "FcltMgr.openDetail('" + addurl + "', '" + L("lcl_add") + "')" }]
}
var rst = new ResultsetTable({sql:sqln,
keyColumn: "alg_verdieping_key",
ID: "algtable",
title: lcl_menu_alg_verdieping,
title: L("lcl_menu_alg_verdieping"),
showAll: showall,
outputmode: outputmode,
flexModule: "ALG",
@@ -165,16 +165,16 @@ function verdiepingen_list(pautfunction, params)
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_estate_locatie_man_descr, content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_gebouw_man_descr, content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: lcl_estate_verdieping_man_code, content: "alg_verdieping_code"}));
rst.addColumn(new Column({caption: lcl_estate_verdieping_man_descr, content: "alg_verdieping_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: L("lcl_estate_locatie_man_descr"), content: "alg_locatie_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_gebouw_man_descr"), content: "alg_gebouw_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_estate_verdieping_man_code"), content: "alg_verdieping_code"}));
rst.addColumn(new Column({caption: L("lcl_estate_verdieping_man_descr"), content: "alg_verdieping_omschrijving", hasActions: true}));
rst.addAction({ action: "verdiepingEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", single: !noref, multi: true, multiOnce: true});
rst.addAction({ action: "verdiepingEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", single: !noref, multi: true, multiOnce: true});
if (!noref) {
rst.addAction({ action: "gotoDetails", caption: lcl_goto_ruimte_list});
rst.addAction({ action: "gotoParent", caption: lcl_goto_gebouw_list});
rst.addAction({ action: "gotoDetails", caption: L("lcl_goto_ruimte_list")});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_gebouw_list")});
}
var cnt = rst.processResultset();
%>

View File

@@ -1,10 +1,10 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 6 $
$Modtime: 4-07-11 14:49 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -36,7 +36,7 @@ var authparams = alg.checkAutorisation();
var key = 0;
var bld_key = "";
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
var titel = "<%=lcl_properties%>";
var titel = "<%=L("lcl_properties")%>";
showKenmerkModal(url, titel)
}
@@ -46,7 +46,7 @@ var authparams = alg.checkAutorisation();
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" target="workFrame" action="alg_verdieping_search_list.asp" method="get">
<td valign=top>
<table>
@@ -57,7 +57,7 @@ var authparams = alg.checkAutorisation();
verdiepingkey: verdieping_key,
startlevel: 2, // locatie
eindlevel: 4, // verdieping
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%>
</table>
@@ -67,8 +67,8 @@ var authparams = alg.checkAutorisation();
</form>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit();", id: "bSearch" },
{title: lcl_obj_advanced, action: "myModal()", id: "bAdvanced" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit();", id: "bSearch" },
{title: L("lcl_obj_advanced"), action: "myModal()", id: "bAdvanced" } ];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 2-12-10 12:12 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: msg_search_list.asp
Description: Vangt de parameters van msg_search op en verwerkt die in een aanroep van msg_list
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_verdieping_list.inc" -->
<%

View File

@@ -1,6 +1,6 @@
<% /*
$Revision: 11 $
$Modtime: 12-12-11 13:02 $
$Revision: 12 $
$Modtime: 15-01-12 19:36 $
File: alg_werkplek_list.inc
Description: Show an overview of werkplek items in list-form,
@@ -37,13 +37,13 @@ FCLTHeader.Requires({ plugins:["jQuery"],
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_ruimte_search.asp?ruimte_key="+algData.parent_key+"&autosearch="+autosearch;
FcltMgr.openDetail(url, "<%=lcl_room%>");
FcltMgr.openDetail(url, "<%=L("lcl_room")%>");
}
function werkplekEdit(row)
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "appl/ALG/alg_wp.asp?mode=viewUpdate&key="+algData.key;
FcltMgr.openDetail(url, "<%=lcl_workspace%>" + ' ' + algData.oms);
FcltMgr.openDetail(url, "<%=L("lcl_workspace")%>" + ' ' + algData.oms);
}
function refreshall(data)
@@ -55,7 +55,7 @@ FCLTHeader.Requires({ plugins:["jQuery"],
function doDelete(rowArray, isMulti)
{
var wpKeyString = getKeyString(rowArray);
if (isMulti || confirm("<%=lcl_alg_del_txt_werkplek%>"))
if (isMulti || confirm(L("lcl_alg_del_txt_werkplek")))
$.post("alg_delete.asp",
{ key: wpKeyString,
level: "W" },
@@ -66,20 +66,20 @@ FCLTHeader.Requires({ plugins:["jQuery"],
function doAddWP(room_key) // als impliciet==0
{
addurl = "appl/alg/alg_wp.asp?room_key=" + room_key;
FcltMgr.openDetail(addurl, "<%=lcl_add%>");
FcltMgr.openDetail(addurl, "<%=L("lcl_add")%>");
}
function doAddWPBezeting(room_key) // als impliciet==1
{
var addurl = "../prs/prs_edit_perslidwerkplek.asp?room_key=" + room_key;
FcltMgr.openModalDetail(addurl, "<%=lcl_add%>", {callback: refreshall });
FcltMgr.openModalDetail(addurl, "<%=L("lcl_add")%>", {callback: refreshall });
}
function doEditWPBezeting(row) // als impliciet==1
{
var algData = eval('(' + row.getAttribute("ROWDATA") + ')');
var url = "../prs/prs_edit_perslidwerkplek.asp?wp_key=" + algData.key;
FcltMgr.openModalDetail(url, "<%=lcl_add%>", {callback: refreshall });
FcltMgr.openModalDetail(url, "<%=L("lcl_add")%>", {callback: refreshall });
}
</script>
<%
@@ -197,7 +197,7 @@ function werkplek_list(pautfunction, params)
if (canAdd)
{
addButton = [{ icon: "plus.png", title: lcl_add, action: prs_werkplek_implicit == 1?"doAddWPBezeting("+room_key+")":"doAddWP("+room_key+")"}]
addButton = [{ icon: "plus.png", title: L("lcl_add"), action: prs_werkplek_implicit == 1?"doAddWPBezeting("+room_key+")":"doAddWP("+room_key+")"}]
}
var rst = new ResultsetTable({sql:sqln,
@@ -209,20 +209,20 @@ function werkplek_list(pautfunction, params)
noPrint: tiny,
outputmode: outputmode,
filterParams: params,
title: lcl_workplace,
title: L("lcl_workplace"),
buttons: addButton
});
rst.addColumn(new Column({caption: lcl_room, content: "Samengesteld", nowrap: true}));
rst.addColumn(new Column({caption: lcl_estate_ruimte_man_descr, content: "alg_ruimte_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_room"), content: "Samengesteld", nowrap: true}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_man_descr"), content: "alg_ruimte_omschrijving"}));
if (prs_werkplek_implicit==0)
{
rst.addColumn(new Column({caption: lcl_workplace, content: "prs_werkplek_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: lcl_estate_wp_fixed, content: "decode_vastopp"}));
rst.addColumn(new Column({caption: lcl_estate_wp_area, content: prepareArea}));
rst.addColumn(new Column({caption: L("lcl_workplace"), content: "prs_werkplek_omschrijving", hasActions: true}));
rst.addColumn(new Column({caption: L("lcl_estate_wp_fixed"), content: "decode_vastopp"}));
rst.addColumn(new Column({caption: L("lcl_estate_wp_area"), content: prepareArea}));
}
rst.addColumn(new Column({caption: lcl_occupation+" (%)", content: "prs_perslidwerkplek_bezetting"}));
rst.addColumn(new Column({caption: lcl_name, content: "prs_afd_perslid_naam"}));
rst.addColumn(new Column({caption: L("lcl_occupation")+" (%)", content: "prs_perslidwerkplek_bezetting"}));
rst.addColumn(new Column({caption: L("lcl_name"), content: "prs_afd_perslid_naam"}));
function prepareArea(oRs)
{
@@ -231,14 +231,14 @@ function werkplek_list(pautfunction, params)
if (outputmode != 0)
{
rst.addColumn(new Column({caption: lcl_estate_wp_seq, content: "prs_werkplek_volgnr"}));
rst.addColumn(new Column({caption: lcl_estate_wp_virt, content: "prs_werkplek_virtueel"}));
rst.addColumn(new Column({caption: L("lcl_estate_wp_seq"), content: "prs_werkplek_volgnr"}));
rst.addColumn(new Column({caption: L("lcl_estate_wp_virt"), content: "prs_werkplek_virtueel"}));
}
rst.addAction({ action: prs_werkplek_implicit == 1?"doEditWPBezeting":"werkplekEdit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "doDelete", caption: lcl_delete, enabler: "eDelete", single: !tiny, multi: !tiny, multiOnce: true});
rst.addAction({ action: prs_werkplek_implicit == 1?"doEditWPBezeting":"werkplekEdit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "doDelete", caption: L("lcl_delete"), enabler: "eDelete", single: !tiny, multi: !tiny, multiOnce: true});
if (!tiny)
rst.addAction({ action: "gotoParent", caption: lcl_goto_ruimte_list});
rst.addAction({ action: "gotoParent", caption: L("lcl_goto_ruimte_list")});
var cnt = rst.processResultset();
%>

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 6 $
$Modtime: 2-12-10 13:06 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: alg_werkplek_search.asp
Description:
@@ -12,7 +12,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
@@ -39,7 +39,7 @@ var authparams = alg.checkAutorisation();
</head>
<body id="searchbody">
<div id="search">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<form name="u2" target="workFrame" action="alg_werkplek_search_list.asp" method="get">
<tr>
<td class="searchkolom1">
@@ -52,7 +52,7 @@ var authparams = alg.checkAutorisation();
ruimtekey: ruimte_key,
startlevel: 2, // locatie
eindlevel: 5, // ruimte
whenEmpty: lcl_search_generic // want filter
whenEmpty: L("lcl_search_generic") // want filter
});
%>
@@ -63,7 +63,7 @@ var authparams = alg.checkAutorisation();
<table><!-- x rijen, 2 kolommen: label + veld -->
<!-- Zoektekst -->
<tr class="primsearch">
<td class="label"><label for="nr"><%=lcl_workplace%>:</label></td>
<td class="label"><label for="nr"><%=L("lcl_workplace")%>:</label></td>
<td><input type="text" class="fldsrch" name="descr" value="<%=safe.htmlattr(descr)%>"></td>
</tr>
</table>
@@ -72,7 +72,7 @@ var authparams = alg.checkAutorisation();
</form>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "document.forms.u2.submit();", id: "bSearch" } ];
var buttons = [ {title: L("lcl_search"), action: "document.forms.u2.submit();", id: "bSearch" } ];
CreateButtons(buttons);
%>
</div> <!-- search -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 2-12-10 12:16 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File:
Description:
@@ -10,8 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/date_sql.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_werkplek_list.inc" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 8 $
$Modtime: 19-05-11 12:15 $
/* $Revision: 9 $
$Modtime: 13-01-12 19:59 $
File: alg_wp.asp
Description: Wrapper for alg_show_wp.asp/alg_edit_wp.asp
@@ -13,7 +13,7 @@
*/ %>
<!--#include file="../../cust/install.inc" -->
<!--#include file="../Shared/common.inc" -->
<!--#include file="../Shared/iface.inc" -->
<%
@@ -39,7 +39,7 @@ if (wp_key > 0)
<% FCLTHeader.Generate();
%>
<script type="text/javascript" >
FcltMgr.setTitle("<%=lcl_workplace+' '+safe.jsstring(wp_naam)%>", {hot: false});
FcltMgr.setTitle("<%=L("lcl_workplace")+' '+safe.jsstring(wp_naam)%>", {hot: false});
<% if (wp_key == -1) { %>FcltMgr.startEdit(window);<% } %>
function algClose(params)
{
@@ -71,7 +71,7 @@ if (wp_key > 0)
var page="alg_show_wp.asp";
page += "?wp_key="+wp_key+"&room_key="+room_key;
IFRAMER("algFrame", page, { title: lcl_alg_wp_frame,
IFRAMER("algFrame", page, { title: L("lcl_alg_wp_frame"),
initHeight: "450px",
FcltClose: "algClose" } );
if (wp_key > -1)

View File

@@ -1,8 +1,8 @@
<%@ language = "JavaScript" %>
<%
/*
$Revision: 1 $
$Modtime: 10-11-09 15:35 $
$Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: get_alg_info_ajax.asp
Description: Ophalen van allerlei info om client-side data te hebben
@@ -18,8 +18,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc"-->
<!-- #include file="../Shared/datetime.inc" -->
<!-- #include file="../Shared/common.inc"-->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="./alg.inc" -->

View File

@@ -1,7 +1,7 @@
<%@ language="javascript"%>
<% /*
$Revision: 1 $
$Modtime: 23-10-09 13:02 $
$Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: get_volgnr_ajax.asp
Description: Bepaal het eerstvolgende vrije volgnr
@@ -13,7 +13,7 @@
<%
DOCTYPE_Disable = 1;
%>
<!--#include file="../../cust/install.inc"-->
<!--#include file="../Shared/common.inc"-->
<!--#include file="../Shared/json2.js" -->
<%

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 15-06-10 17:24 $
$Revision: 4 $
$Modtime: 13-01-12 21:11 $
File: ALG/load_kenmerk.asp
Description: Bestand die html code genereert voor de presentatie van de flexvelden
@@ -19,11 +19,11 @@
var DOCTYPE_Disable = true;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="alg_flexkenmerk.inc" -->
<%
generateFlexKenmerkCode ({ urole: getQParam("urole"),
generateFlexKenmerkCode ({ urole: getQParamSafe("urole"),
onrgoed_key: getQParamInt("onrgoed_key", -1), // Onroerendgoed key
onrgoed_niveau: getQParam("onrgoed_niveau", ""), // Onroerendgoed niveau
reado: getQParam("reado", 0) == 1, // Readonly

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 31-08-11 11:46 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: api.asp
Description: switchboard die doorstuurt naar de goede API-file
@@ -14,7 +14,7 @@ DOCTYPE_Disable = 1;
FCLTEXPIRES = 8*60; // geen database interactie tenslotte
%>
<!-- #include file="../../cust/install.inc"-->
<!-- #include file="../Shared/common.inc"-->
<!-- #include file="../api/api.inc" -->
<%
var APIname = getQParam("API");

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 5 $
$Modtime: 29-08-11 14:12 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
File: api_SOAP.asp
Description: API om een SOAP-achtige service te bieden
@@ -14,7 +14,7 @@
var logall=0; // handig met testen
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/xml_converter.inc" -->
<!-- #include file="../api/api.inc" -->

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 1 $
$Modtime: 13-10-11 16:15 $
$Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: api_besordsoap.asp
Description: API voor besord-soap berichten (bestelopdrachten)!
@@ -17,7 +17,7 @@
*/
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/xml_converter.inc" -->
<!-- #include file="../Shared/save2db.inc" -->
<!-- #include file="../api/api.inc" -->

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 2 $
$Modtime: 19-04-11 17:04 $
$Revision: 3 $
$Modtime: 13-01-12 19:59 $
File: api_fetchXML.asp
Description: API to fetch an arbitrary XML and transform it
@@ -15,7 +15,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/xml_converter.inc" -->
<!-- #include file="../api/api.inc" -->

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 3 $
$Modtime: 6-12-11 13:56 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: api_mld_soap.asp
Description: API voor mld-soap berichten
@@ -15,7 +15,7 @@
*/
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/xml_converter.inc" -->
<!-- #include file="../Shared/save2db.inc" -->
<!-- #include file="../api/api.inc" -->

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 6 $
$Modtime: 15-12-11 9:01 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: api_mldsoap.asp
Description: API voor mld-soap berichten
@@ -18,7 +18,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/xml_converter.inc" -->
<!-- #include file="../Shared/save2db.inc" -->
<!-- #include file="../api/api.inc" -->
@@ -162,14 +162,14 @@
oRs = Oracle.Execute(sql);
var new_opm = oRs("mld_opdr_opmerking").Value + "\n" + opdropmerking;
fields.push({ dbs: "mld_opdr_opmerking", typ: "varchar", val: new_opm, track: lcl_mld_inf_Opmerking, len: 4000 });
fields.push({ dbs: "mld_opdr_opmerking", typ: "varchar", val: new_opm, track: L("lcl_mld_inf_Opmerking"), len: 4000 });
}
if (opdrkosten != null)
fields.push({ dbs: "mld_opdr_kosten", typ: "float", val: opdrkosten, track: lcl_total_cost });
fields.push({ dbs: "mld_opdr_kosten", typ: "float", val: opdrkosten, track: L("lcl_total_cost") });
if (opdrgereed != null) {
var opdrgereeddate = XMLtoJsDate(opdrgereed);
fields.push({ dbs: "mld_opdr_einddatum", typ: "date", val: opdrgereeddate, track: lcl_opdr_enddate });
fields.push({ dbs: "mld_opdr_einddatum", typ: "date", val: opdrgereeddate, track: L("lcl_opdr_enddate") });
}
// We weten nu de updates, straks voeren we deze pas uit
// Eerst de eventuele statuswijzigingen
@@ -231,7 +231,7 @@
{
var mldUpd = buildTrackingUpdate("mld_opdr", "mld_opdr_key = " + opdr_key, fields);
Oracle.Execute(mldUpd.sql);
mld.trackopdrachtupdate(opdr_key, lcl_ord_is_updatedbysoap + "\n" + mldUpd.trackarray.join("\n"));
mld.trackopdrachtupdate(opdr_key, L("lcl_ord_is_updatedbysoap") + "\n" + mldUpd.trackarray.join("\n"));
if (mut_datum) // Antidateren voor SLA rapportages.
{
var sql = "BEGIN fac.backtrackaction('ORDUPD', " + opdr_key + ", " + user_key + ", " + mut_datum.toSQL(true) +"); END;"
@@ -253,11 +253,11 @@
{ // 'Toevallig' loopt opdrstatus 1-op-1 met onze trackingcodes
var sql = "BEGIN fac.backtrackaction("+safe.quoted_sql(opdrstatus)+", " + opdr_key + ", " + user_key + ", " + mut_datum.toSQL(true) +"); END;"
Oracle.Execute(sql); // Statuswijzigingen wel even tracken
var txt = { "ORDAFM": lcl_ord_is_ordafm,
"ORDACP": lcl_ord_is_ordacp,
"ORDAFR": lcl_ord_is_ordafr
var txt = { "ORDAFM": L("lcl_ord_is_ordafm"),
"ORDACP": L("lcl_ord_is_ordacp"),
"ORDAFR": L("lcl_ord_is_ordafr")
}[opdrstatus];
mld.trackopdrachtupdate(opdr_key, lcl_ord_is_ordupd + "\n" + txt + lcl_trackto + toDateTimeString(mut_datum));
mld.trackopdrachtupdate(opdr_key, L("lcl_ord_is_ordupd") + "\n" + txt + L("lcl_trackto") + toDateTimeString(mut_datum));
}
// Zijn er nog lopende opdrachten

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 1 $
$Modtime: 5-09-11 17:31 $
$Revision: 2 $
$Modtime: 13-01-12 22:52 $
File: api_report.asp
Description:
@@ -12,7 +12,7 @@
*/
%>
<!-- #include file="../../cust/install.inc"-->
<!-- #include file="../Shared/common.inc"-->
<!-- #include file="../api/api.inc" -->
<%

View File

@@ -1,8 +1,8 @@
<%@ language = "JavaScript" %>
<%
/*
$Revision: 2 $
$Modtime: 1-12-10 14:48 $
$Revision: 3 $
$Modtime: 13-01-12 19:59 $
File: get_phonebook_info.asp
Description: Ophalen van allerlei info om client-side data te hebben
@@ -13,7 +13,7 @@
*/ %>
<% DOCTYPE_Disable = 1;
%>
<!--#include file="../../cust/install.inc"-->
<!--#include file="../Shared/common.inc"-->
<!--#include file="../Shared/json2.js" -->
<!--#include file="../prs/prs.inc" -->
<!-- #include file="../api/api.inc" -->

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 13 $
$Modtime: 2-01-12 15:07 $
$Revision: 14 $
$Modtime: 13-01-12 19:59 $
File: phonebook_js.asp
Description: Phonebook API
@@ -15,7 +15,7 @@ DOCTYPE_Disable = 1;
FCLTEXPIRES = 8*60; // geen database interactie tenslotte
%>
<!-- #include file="../../cust/install.inc"-->
<!-- #include file="../Shared/common.inc"-->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="../api/api.inc" -->
@@ -36,7 +36,7 @@ FCLTEXPIRES = 8*60; // geen database interactie tenslotte
window.facilitor = window.facilitor || {};
facilitor.phonebook = facilitor.phonebook || {};
function setLCL(data) {
window.LCL.shared = data;
window.L("LCL.shared") = data;
}
(function() {
@@ -82,10 +82,10 @@ facilitor.phonebook = facilitor.phonebook || {};
toonFoto: true,
detailurl: "appl/fac/fac_user_info.asp",
deeplinkurl: "<%=site%>/?nomenu=1&noheader=1&ihatetabs=1&JumpTo=",
fields: [ { lbl: "<%=lcl_prs_email%>", val: "prs_perslid_email" },
{ lbl: "<%=lcl_pb_phone%>", val: "prs_perslid_telefoonnr" },
{ lbl: "<%=lcl_pb_mobile%>", val: "prs_perslid_mobiel" },
{ lbl: "<%=lcl_pb_afdeling%>", val: "afdeling" }
fields: [ { lbl: "<%=L("lcl_prs_email")%>", val: "prs_perslid_email" },
{ lbl: "<%=L("lcl_pb_phone")%>", val: "prs_perslid_telefoonnr" },
{ lbl: "<%=L("lcl_pb_mobile")%>", val: "prs_perslid_mobiel" },
{ lbl: "<%=L("lcl_pb_afdeling")%>", val: "afdeling" }
]
};
<%
@@ -108,7 +108,7 @@ facilitor.phonebook = facilitor.phonebook || {};
window.facilitor.show_phonebook = function(data, textStatus)
{
// Alle styling moet nog via classes
var closer = "<span onclick='$(\"#phonebookdetails\").hide()' style='float: right; cursor: hand' title='<%=lcl_close_window%>'>x</span>"
var closer = "<span onclick='$(\"#phonebookdetails\").hide()' style='float: right; cursor: hand' title='<%=L("lcl_close_window")%>'>x</span>"
if (window.facilitor.phonebook_options.detailurl)
{
var jumpto = window.facilitor.phonebook_options.detailurl;

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 3 $
$Modtime: 13-01-12 12:45 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: shorturl.asp
Description: Redirect naar een bookmark url
@@ -13,7 +13,7 @@
*/
%>
<!-- #include file="../../cust/install.inc"-->
<!-- #include file="../Shared/common.inc"-->
<%
var u = getQParam("u");
// For flexiblity reasons: Literal or runtime parameter(s), just pass through...

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 6 $
$Modtime: 13-07-11 17:41 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: DynArtikelInfo.asp
Description: Haal dynamische artikel informatie op (bijvoorbeeld: voorraad)
@@ -18,7 +18,7 @@
*/
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<%
Response.Expires = -1;

View File

@@ -1,9 +1,9 @@
<%@ language = "JavaScript" %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<% // Modal form container
var titleString = getQParam("title", lcl_BES_article_details); // Titel
var titleString = getQParam("title", L("lcl_BES_article_details")); // Titel
%>
<html>

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE="JavaScript" %>
<% /*
$Revision: 2 $
$Modtime: 18-01-11 14:49 $
$Revision: 3 $
$Modtime: 13-01-12 19:59 $
File: Bes/PrsStaffelInfo.asp
Description: Toont een lijst met bedrijfstaffels
@@ -12,7 +12,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
var prs_bedrijf_key = getQParam("prs_bedrijf_key");
@@ -21,7 +21,7 @@ var sql = "SELECT b.prs_bedrijf_naam bedrijfnaam"
+ " WHERE b.prs_bedrijf_key = " + prs_bedrijf_key;
var oRs = Oracle.Execute(sql);
var staffeltext = "<table><tr><td colspan='8' class='result' align='left'><b><u>" + lcl_BES_staffel_company + ": " + oRs("bedrijfnaam").value + "</u></b></td></tr>"
var staffeltext = "<table><tr><td colspan='8' class='result' align='left'><b><u>" + L("lcl_BES_staffel_company") + ": " + oRs("bedrijfnaam").value + "</u></b></td></tr>"
var sql = "SELECT ps.prs_staffel_grenswaarde grenswaarde"
+ ", ps.prs_staffel_korting korting"
@@ -44,30 +44,30 @@ while (!oRs.eof)
// percentage
if (parseFloat(oRs("korting").value) < 0)
toeslagkorting = oRs("korting").value + "%&nbsp;" + lcl_BES_extra_charge; // ...% toeslag
toeslagkorting = oRs("korting").value + "%&nbsp;" + L("lcl_BES_extra_charge"); // ...% toeslag
else if (parseFloat(oRs("korting").value) > 0)
toeslagkorting = oRs("korting").value + "%&nbsp;" + lcl_BES_discount; // ...% korting
toeslagkorting = oRs("korting").value + "%&nbsp;" + L("lcl_BES_discount"); // ...% korting
else
toeslagkorting = "";
tdspan_begin = "<td class='result' align='right'><span style='color: " + kleur + "'>";
tdspan_eind = "&nbsp;</span></td>";
staffeltext += "<tr>" + tdspan_begin
+ lcl_BES_staffel
+ L("lcl_BES_staffel")
+ (oRs("grenswaarde").value // Is er een grenswaarde
? tdspan_eind + tdspan_begin
+ lcl_BES_of // van
+ L("lcl_BES_of") // van
+ tdspan_eind + tdspan_begin
+ (start? start : "0")
+ tdspan_eind + tdspan_begin
+ lcl_BES_until // tot
+ L("lcl_BES_until") // tot
+ tdspan_eind + tdspan_begin
+ (oRs("grenswaarde").value? oRs("grenswaarde").value : " ")
+ tdspan_eind + tdspan_begin
: tdspan_eind + "<td colspan='4' class='result' align='left'><span style='color: " + kleur + "'>"
+ lcl_BES_for + "&nbsp;" + start // voor x eenheid of meer ...
+ "&nbsp;" + lcl_BES_or_more
//+ lcl_BES_for_more_than + "&nbsp;" + start // voor meer dan ...
+ L("lcl_BES_for") + "&nbsp;" + start // voor x eenheid of meer ...
+ "&nbsp;" + L("lcl_BES_or_more")
//+ L("lcl_BES_for_more_than") + "&nbsp;" + start // voor meer dan ...
+ tdspan_eind + tdspan_begin)
//+ eenheid
//+ tdspan_eind + tdspan_begin

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE="JavaScript" %>
<% /*
$Revision: 6 $
$Modtime: 24-02-11 17:00 $
$Revision: 7 $
$Modtime: 13-01-12 19:59 $
File: Bes/addFavourites.asp
Description: Voegt favorieten toe aan de favorietenlijst van een persoon
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<html>
@@ -56,7 +56,7 @@ function doSubmit()
oRs = Oracle.Execute(sql);
if (!oRs.eof)
{
message = lcl_BES_fav_item_exist;
message = L("lcl_BES_fav_item_exist");
} else {
// Voeg item aan de favorieten lijst toe
sql = "INSERT INTO bes_favoriet ("
@@ -68,7 +68,7 @@ function doSubmit()
+ ", " + srtdeel_key
+ ")";
Oracle.Execute(sql);
message = lcl_BES_fav_item_added;
message = L("lcl_BES_fav_item_added");
}
%>
<script type='text/javascript'>
@@ -81,7 +81,7 @@ function doSubmit()
<body class="modal" id="bes_add_fav" onLoad="document.u2.fav_name.focus();">
<form action="../Bes/addFavourites.asp?submit=1&srtdeel_key=<%=srtdeel_key%>" method="post" name="u2" onsubmit="return false;"'>
<% BLOCK_START("favInfo", lcl_BES_favour_add); %>
<% BLOCK_START("favInfo", L("lcl_BES_favour_add")); %>
<%
var disc_key = getQParamInt('disc_key');
@@ -95,13 +95,13 @@ function doSubmit()
srtdeel_oms = oRs(0).value;
srtdeel_eenh = oRs(1).value;
oRs.Close();
ROFIELDTR("fld", lcl_BES_srtdeel, srtdeel_oms );
ROFIELDTR("fld", L("lcl_BES_srtdeel"), srtdeel_oms );
%>
<tr>
<td class='label'><label for="fav"><%=lcl_BES_favour_list%>:</label></td>
<td class='label'><label for="fav"><%=L("lcl_BES_favour_list")%>:</label></td>
<td><select name="fav" id="fav"><%
// eigen favorieten lijsten van een bepaalde categorie
sql = " SELECT '" + lcl_BES_select_fav_list + "', 'A' FROM DUAL"
sql = " SELECT '" + L("lcl_BES_select_fav_list") + "', 'A' FROM DUAL"
+ " UNION"
+ " SELECT bf.bes_favoriet_naam"
+ ", 'B'"
@@ -136,11 +136,11 @@ function doSubmit()
</td>
</tr>
<%
RWFIELDTR("fav_name", "fld", lcl_BES_new_favour_list, "");
RWFIELDTR("fav_name", "fld", L("lcl_BES_new_favour_list"), "");
BLOCK_END();
var buttons = [ {title: lcl_submit, icon:"opslaan.png", action:"doSubmit()" },
{title: lcl_cancel, icon: "undo.png", action:"FcltMgr.closeDetail(window, { cancel: true })" } ];
var buttons = [ {title: L("lcl_submit"), icon:"opslaan.png", action:"doSubmit()" },
{title: L("lcl_cancel"), icon: "undo.png", action:"FcltMgr.closeDetail(window, { cancel: true })" } ];
CreateButtons(buttons);
%>
</form>

View File

@@ -1,7 +1,7 @@
<%
/*
$Revision: 59 $
$Modtime: 22-11-11 15:55 $
$Revision: 60 $
$Modtime: 15-01-12 18:16 $
File: bes.inc
Description: bas-module functies
@@ -44,14 +44,14 @@
{
var statustekst = "??";
switch (p) { // grofweg op volgorde timeline
case 2: { statustekst = lcl_bes_new; break; }
case 3: { statustekst = lcl_bes_gefiatteerd; break; } // Door kostenplaats (en/of -groep) verantwoordelijke
case 4: { statustekst = lcl_bes_geaccepteerd; break; } // Door backoffice (afdeling inkoop)
case 5: { statustekst = lcl_bes_besteld; break; } // Opdrachten zijn aangemaakt
case 1: { statustekst = lcl_bes_afgewezen; break; }
case 6: { statustekst = lcl_bes_geleverd; break; }
case 7: { statustekst = lcl_bes_verwerkt; break; }
case 8: { statustekst = lcl_bes_is_bescan; break; }
case 2: { statustekst = L("lcl_bes_new"); break; }
case 3: { statustekst = L("lcl_bes_gefiatteerd"); break; } // Door kostenplaats (en/of -groep) verantwoordelijke
case 4: { statustekst = L("lcl_bes_geaccepteerd"); break; } // Door backoffice (afdeling inkoop)
case 5: { statustekst = L("lcl_bes_besteld"); break; } // Opdrachten zijn aangemaakt
case 1: { statustekst = L("lcl_bes_afgewezen"); break; }
case 6: { statustekst = L("lcl_bes_geleverd"); break; }
case 7: { statustekst = L("lcl_bes_verwerkt"); break; }
case 8: { statustekst = L("lcl_bes_is_bescan"); break; }
}
if (Session("logging")>0)
statustekst += " ("+String(p)+")";
@@ -62,14 +62,14 @@
{
var statustekst = "??";
switch (p) { // grofweg op volgorde timeline
case 2: { statustekst = lcl_bes_ord_new; break; } // JGL: niet gebruikt trouwens
case 3: { statustekst = lcl_bes_ord_inbehandeling; break; } // JGL: Moet nog verstuurd worden
case 5: { statustekst = lcl_bes_ord_onbevestigd; break; } // JGL: wel verstuurd maar nog 'Ter acceptatie bij de leverancier'
case 4: { statustekst = lcl_bes_ord_inbestelling; break; } // JGL: Leverancier heeft hem bevestigd
case 1: { statustekst = lcl_bes_ord_afgewezen; break; } // Afgewezen door leverancier
case 6: { statustekst = lcl_bes_ord_geleverd; break; }
case 7: { statustekst = lcl_bes_ord_verwerkt; break; }
case 8: { statustekst = lcl_bes_ord_geannuleerd; break; }
case 2: { statustekst = L("lcl_bes_ord_new"); break; } // JGL: niet gebruikt trouwens
case 3: { statustekst = L("lcl_bes_ord_inbehandeling"); break; } // JGL: Moet nog verstuurd worden
case 5: { statustekst = L("lcl_bes_ord_onbevestigd"); break; } // JGL: wel verstuurd maar nog 'Ter acceptatie bij de leverancier'
case 4: { statustekst = L("lcl_bes_ord_inbestelling"); break; } // JGL: Leverancier heeft hem bevestigd
case 1: { statustekst = L("lcl_bes_ord_afgewezen"); break; } // Afgewezen door leverancier
case 6: { statustekst = L("lcl_bes_ord_geleverd"); break; }
case 7: { statustekst = L("lcl_bes_ord_verwerkt"); break; }
case 8: { statustekst = L("lcl_bes_ord_geannuleerd"); break; }
}
if (Session("logging")>0)
statustekst += " ("+String(p)+")";
@@ -134,30 +134,30 @@
generateBesInfoBlock: function (bes_bestelling)
{
BLOCK_START("besInfo" , lcl_BES_key + "&nbsp;" + bes_bestelling_prefix + bes_bestelling.bes_key
BLOCK_START("besInfo" , L("lcl_BES_key") + "&nbsp;" + bes_bestelling_prefix + bes_bestelling.bes_key
+ (bes_bestelling.parent_key?"*":""));
ROFIELDTR("fld", lcl_BES_discipline, bes_disc_info.discipline_omschrijving);
ROFIELDTR("fld", L("lcl_BES_discipline"), bes_disc_info.discipline_omschrijving);
// Zijn wij een incidentele bestelling via een melding?
if (bes_bestelling.mld_key != null)
{
var params = { infoPointer: { Url: "appl/mld/mld_melding.asp?urole=" + urole + "&mld_key=" + bes_bestelling.mld_key,
Title: lcl_complain + " " + bes_bestelling.mld_key
Title: L("lcl_complain") + " " + bes_bestelling.mld_key
}
}
ROFIELDTR("fld", lcl_bes_onbe_call, bes_bestelling.mld_prefix+bes_bestelling.mld_key, params);
ROFIELDTR("fld", L("lcl_bes_onbe_call"), bes_bestelling.mld_prefix+bes_bestelling.mld_key, params);
}
ROFIELDTR ("fld", lcl_date_time, toDateTimeString(bes_bestelling.rfoDate));
var params = { infoPointer: { Url: "appl/Shared/status_info.asp?bes_key=" + bes_bestelling.bes_key + "&urole=" + urole,
Title: lcl_status_details + " A-" + bes_bestelling.bes_key
ROFIELDTR ("fld", L("lcl_date_time"), toDateTimeString(bes_bestelling.rfoDate));
var params = { infoPointer: { Url: "appl/shared/status_info.asp?bes_key=" + bes_bestelling.bes_key + "&urole=" + urole,
Title: L("lcl_status_details") + " A-" + bes_bestelling.bes_key
}
};
ROFIELDTR (bes_bestelling.rfoStatus==1 ? 'fld rejected' : 'fld', lcl_BES_RFO_status, bes_bestelling.rfoStatusText, params);
ROTEXTAREATR("fldremark", bes_bestelling.rfoStatus == 1? lcl_BES_reject_remark : lcl_BES_remark, bes_bestelling.rfoOpmerking, {id: "opmerk", html: "rows='8'", suppressEmpty: true});
ROFIELDTR (bes_bestelling.rfoStatus==1 ? 'fld rejected' : 'fld', L("lcl_BES_RFO_status"), bes_bestelling.rfoStatusText, params);
ROTEXTAREATR("fldremark", bes_bestelling.rfoStatus == 1? L("lcl_BES_reject_remark") : L("lcl_BES_remark"), bes_bestelling.rfoOpmerking, {id: "opmerk", html: "rows='8'", suppressEmpty: true});
var fiat_key = bes_bestelling.bes_bestelling_fiat_user;
if (bes_bestelling.rfoStatus == 2) // (nog) ter fiattering
@@ -172,7 +172,7 @@
"Fiatteur",
"sgFiatteur",
{ perslidKey: fiat_key,
label: (bes_bestelling.rfoStatus == 2?lcl_BES_toapprove:lcl_BES_approver),
label: (bes_bestelling.rfoStatus == 2?L("lcl_BES_toapprove"):L("lcl_BES_approver")),
readonly: true,
moreinfo: !frontend
});
@@ -212,26 +212,26 @@
oRs.Close();
var params = { infoPointer: { Url: "appl/bes/bes_opdr.asp?urole=" + urole + "&ordernr=" + l_orders_key.join(","),
//xTitle: LCL.bes.bestelling + " " + bes_bestelling.rfoRetourVan,
//xTitle: L("lcl_bes_bestelling") + " " + bes_bestelling.rfoRetourVan,
suppressEmpty: true }}
if (l_orders_key != "")
ROFIELDTR ("fld", lcl_BES_Orders, l_orders.join(", "), params);
ROFIELDTR ("fld", L("lcl_BES_Orders"), l_orders.join(", "), params);
// Origineel weergeven indien aanwezig
if (bes_bestelling.parent_key)
{
params = { infoPointer: { Url: "appl/bes/bes_bestelling.asp?urole=" + urole + "&bes_key=" + bes_bestelling.parent_key,
Title: LCL.bes.bestelling + " " + bes_bestelling_prefix + bes_bestelling.parent_key,
Title: L("lcl_bes_bestelling") + " " + bes_bestelling_prefix + bes_bestelling.parent_key,
suppressEmpty: true }}
ROFIELDTR ("fld", lcl_bes_origineel, bes_bestelling_prefix + bes_bestelling.parent_key, params);
ROFIELDTR ("fld", L("lcl_bes_origineel"), bes_bestelling_prefix + bes_bestelling.parent_key, params);
}
// Huidige wijziging weergeven indien aanwezig
if (bes_bestelling.change_key)
{
params = { infoPointer: { Url: "appl/bes/bes_bestelling.asp?urole=" + urole + "&bes_key=" + bes_bestelling.change_key,
Title: LCL.bes.bestelling + " " + bes_bestelling_prefix + bes_bestelling.change_key,
Title: L("lcl_bes_bestelling") + " " + bes_bestelling_prefix + bes_bestelling.change_key,
suppressEmpty: true }}
ROFIELDTR ("fld", lcl_bes_change, bes_bestelling_prefix + bes_bestelling.change_key +"*", params);
ROFIELDTR ("fld", L("lcl_bes_change"), bes_bestelling_prefix + bes_bestelling.change_key +"*", params);
}
// Waar worden we door geretourneerd?
@@ -248,17 +248,17 @@
oRs.Close();
if (l_retours.length) {
ROFIELDTR ("fld rejected", lcl_BES_retour_nr, l_retours.join(","));
ROFIELDTR ("fld rejected", L("lcl_BES_retour_nr"), l_retours.join(","));
}
// Waar zijn we een retour van?
if (bes_bestelling.rfoRetourVan != null)
{
var params = { infoPointer: { Url: "appl/bes/bes_bestelling.asp?urole=" + urole + "&bes_key=" + bes_bestelling.rfoRetourVan,
Title: LCL.bes.bestelling + " " + bes_bestelling.rfoRetourVan
Title: L("lcl_bes_bestelling") + " " + bes_bestelling.rfoRetourVan
}
}
ROFIELDTR ("rejected", lcl_BES_retour_of, bes_bestelling_prefix + bes_bestelling.rfoRetourVan, params);
ROFIELDTR ("rejected", L("lcl_BES_retour_of"), bes_bestelling_prefix + bes_bestelling.rfoRetourVan, params);
}
BLOCK_END();
@@ -313,7 +313,7 @@
bes_key : bes_key,
//rfoStatusText : oRs("status").value,
rfoStatusText : ((oRs("bes_bestelling_status").value == 6 && (oRs("bes_bestelling_retourvan_key").value && oRs("bes_bestelling_retourvan_key").value > 0))
? lcl_BES_collected
? L("lcl_BES_collected")
: bes.getbesbestellingstatustext(oRs("bes_bestelling_status").value)),
rfoDate : new Date(oRs("bes_bestelling_datum").value),
kostenplaats_key : oRs("prs_kostenplaats_key").value||-1,
@@ -510,7 +510,7 @@
levkosten : parseFloat((oRs("bes_bestelopdr_levkosten").value? oRs("bes_bestelopdr_levkosten").value : 0).toFixed(2))
}
if(oRs("bes_bestelopdr_status").value == 6 && oRs("bes_bestelling_retourvan_key").Value > 0)
bes_bestelopdr.statustxt = lcl_BES_collected;
bes_bestelopdr.statustxt = L("lcl_BES_collected");
var totaal = 0;
bes_bestelopdr.artikel_arr = new Array();
@@ -1018,9 +1018,9 @@
sql = "SELECT prs_perslid_naam_full FROM prs_v_perslid_fullnames WHERE prs_perslid_key = " + approver;
oRs = Oracle.Execute(sql);
if (!oRs.eof)
return LCL.bes.RFO_regApprov + oRs("prs_perslid_naam_full").value;
return L("lcl_bes_RFO_regApprov") + oRs("prs_perslid_naam_full").value;
else
return LCL.bes.RFO_regApprov;
return L("lcl_bes_RFO_regApprov");
},
makeOrders: function (puserkey, pbestelling_key)

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 5 $
$Modtime: 16-11-11 9:14 $
$Revision: 6 $
$Modtime: 13-01-12 19:59 $
File: bes_accept.asp
Description: Accepteren van een bestelaanvraag door de BO.
@@ -16,7 +16,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="bes.inc" -->
@@ -51,7 +51,7 @@ for (var i = 0; i < ingesloten.length; i++)
if (bes_disc_info.disc_params_auto_order == "1")
bes.makeOrders(user_key, ingesloten[i]);
result.message = tobeaccepted + " " + (tobeaccepted == 1 ? lcl_BES_accepted1 : lcl_BES_accepted);
result.message = tobeaccepted + " " + (tobeaccepted == 1 ? L("lcl_BES_accepted1") : L("lcl_BES_accepted"));
result.success = true;
}

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 13 $
$Modtime: 16-11-11 10:06 $
$Revision: 14 $
$Modtime: 15-01-12 18:16 $
File: bes_approve.asp
Description: Fiatteren van een bestelling.
@@ -15,7 +15,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="bes.inc" -->
@@ -59,7 +59,7 @@ for (var i = 0; i < ingesloten.length; i++)
var totaal = ingesloten[i].totaal - ingesloten[i].rfoBesKosten + ingesloten[i].rfoLevKosten;
//var message = LCL.mld.opdr_approved_1 + bes_key + LCL.mld.opdr_approved_2;
//var message = L("lcl_mld_opdr_approved_1") + bes_key + L("lcl_mld_opdr_approved_2");
// als het valt binnen onze limiet (of eigenlijk: degene die nu moet fiatteren als we vervanger zijn) dan zijn we klaar
// TODO in de volgende versie (zie docu PF) meerlaags fiattering met prs.getfiatteur() vgl opdr_approve.asp

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 1 $
$Modtime: 4-08-11 15:10 $
$Revision: 2 $
$Modtime: 15-01-12 18:16 $
File: bes_assmon_search.asp
Description: Assortiment monitoring artikelen
@@ -11,7 +11,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="../Shared/bedrijfselector.inc" -->
@@ -41,12 +41,12 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="bes_assmon_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
<tr class="primsearch">
<td class="label"><label for="searchtext"><%=lcl_bes_srtprod%>:</label></td>
<td class="label"><label for="searchtext"><%=L("lcl_bes_srtprod")%>:</label></td>
<td><input type="text" class="fldsrch" name="searchtext" id="searchtext"></td>
</tr>
<%
@@ -61,9 +61,9 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
FCLTselector("disc",
sql,
{ initKey: disc_key,
label: lcl_BES_discipline,
label: L("lcl_BES_discipline"),
trclass: "secsearch",
emptyOption: lcl_search_generic
emptyOption: L("lcl_search_generic")
});
*/
sql = "SELECT bsg.bes_srtgroep_key, "
@@ -77,22 +77,22 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
FCLTselector("srtgroep", // Suggest maken
sql,
{ initKey: srtgroep_key,
label: lcl_BES_srtgroup,
label: L("lcl_BES_srtgroup"),
trclass: "primsearch",
multi: true,
emptyOption: lcl_search_generic
emptyOption: L("lcl_search_generic")
});
FCLTcalendar( "bes_peildat1",
{ label : lcl_bes_peildatum1
{ label : L("lcl_bes_peildatum1")
});
FCLTcalendar( "bes_peildat2",
{ label : lcl_bes_peildatum2,
{ label : L("lcl_bes_peildatum2"),
initEmpty: true,
trclass: "secsearch"
});
RWCHECKBOXTR("pctkolom", "fldpctkolom", lcl_bes_metverschil, false, { trclass: "secsearch" });
RWCHECKBOXTR("pctkolom", "fldpctkolom", L("lcl_bes_metverschil"), false, { trclass: "secsearch" });
%>
</table>
@@ -108,13 +108,13 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
+ " ORDER BY b.prs_bedrijf_naam_upper";
FCLTselector("lev_keys",
sql,
{ label: lcl_BES_Supplier,
{ label: L("lcl_BES_Supplier"),
trclass: "primsearch",
emptyOption: lcl_none,
emptyOption: L("lcl_none"),
multi: true,
size: 7
});
RWCHECKBOXTR("matchonly", "fldmatchonly", lcl_bes_assortiment_matchonly, false, { trclass: "primsearch" });
RWCHECKBOXTR("matchonly", "fldmatchonly", L("lcl_bes_assortiment_matchonly"), false, { trclass: "primsearch" });
%>
</table>
@@ -122,8 +122,8 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" } ];
buttons.push ( {title: LCL.shared.more, action:"iface_toggleSecondarySearchblock()", id : "btnMoreLess" } );
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" } ];
buttons.push ( {title: L("lcl_shared_more"), action:"iface_toggleSecondarySearchblock()", id : "btnMoreLess" } );
CreateButtons(buttons, { entersubmit: true});
%>
</form>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 1 $
$Modtime: 4-08-11 9:58 $
$Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: bes_assmon_search_list.asp
Description: Vangt de parameters van bes_assmon_search op en verwerkt die tot een lijst
@@ -10,7 +10,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/resultset_table_v2.inc" -->
<%
@@ -38,14 +38,14 @@ var authparams = user.checkAutorisation("WEB_BESMSU");
{
var srtprod_key = row.getAttribute("ROWKEY");
var url = "appl/bes/bes_srtprod.asp?disc_key=<%=disc_key%>&srtprod_key="+srtprod_key;
FcltMgr.openDetail(url, "<%=lcl_bes_srtprod%>", {callback: FcltMgr.reload } );
FcltMgr.openDetail(url, "<%=L("lcl_bes_srtprod")%>", {callback: FcltMgr.reload } );
}
function deel_edit(evt, srtdeel_key)
{
FcltMgr.stopPropagation(evt);
var url = "appl/bes/bes_srtdeel.asp?disc_key=<%=disc_key%>&srtdeel_key="+srtdeel_key;
FcltMgr.openDetail(url, "<%=lcl_BES_srtdeel%>", {callback: FcltMgr.reload } );
FcltMgr.openDetail(url, "<%=L("lcl_BES_srtdeel")%>", {callback: FcltMgr.reload } );
}
</script>
</head>
@@ -195,39 +195,39 @@ GROUP BY bes_srtprod_key;
outputmode: outputmode,
//rowData: fnrowData,
//rowClass: fnrowClass,
title: lcl_bes_assortiment_list
title: L("lcl_bes_assortiment_list")
});
rst.addColumn(new Column({caption: lcl_BES_srtgroup, content: "bes_srtgroep_omschrijving"}));
rst.addColumn(new Column({caption: lcl_bes_srtprod, content: "bes_srtprod_omschrijving"}));
rst.addColumn(new Column({caption: lcl_bes_srtprod_prijs_prijs+(bes_peildat2?lcl_bes_peildatum1_suf:""), content: "pprijs", datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_BES_srtgroup"), content: "bes_srtgroep_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_bes_srtprod"), content: "bes_srtprod_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_bes_srtprod_prijs_prijs")+(bes_peildat2?L("lcl_bes_peildatum1_suf"):""), content: "pprijs", datatype: "currency"}));
if (bes_peildat2) {
rst.addColumn(new Column({caption: lcl_bes_srtprod_prijs_prijs+lcl_bes_peildatum2_suf, content: "pprijs2", datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_bes_srtprod_prijs_prijs")+L("lcl_bes_peildatum2_suf"), content: "pprijs2", datatype: "currency"}));
if (pctkolom) {
rst.addColumn(new Column({caption: lcl_bes_verschil_percentage, content: fnPrijsverschilP, datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_bes_verschil_percentage"), content: fnPrijsverschilP, datatype: "currency"}));
}
}
for (lev_key in leveranciers)
{
rst.addColumn(new Column({caption: safe.html(leveranciers[lev_key])+(bes_peildat2?lcl_bes_peildatum1_suf:""),
rst.addColumn(new Column({caption: safe.html(leveranciers[lev_key])+(bes_peildat2?L("lcl_bes_peildatum1_suf"):""),
datatype: "currency",
content: fnfnLevPrijs(lev_key),
tooltip: "oms" + lev_key
}));
if (bes_peildat2) {
rst.addColumn(new Column({caption: safe.html(leveranciers[lev_key])+lcl_bes_peildatum2_suf,
rst.addColumn(new Column({caption: safe.html(leveranciers[lev_key])+L("lcl_bes_peildatum2_suf"),
datatype: "currency",
content: fnfnLevPrijs2(lev_key),
tooltip: "oms" + lev_key
}));
if (pctkolom) {
rst.addColumn(new Column({caption: lcl_bes_verschil_percentage, content: fnfnPrijsverschilL(lev_key), datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_bes_verschil_percentage"), content: fnfnPrijsverschilL(lev_key), datatype: "currency"}));
}
}
}
rst.addAction({ action: "prd_edit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "prd_edit", caption: L("lcl_edit"), isDefault: true});
var cnt = rst.processResultset();
%>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 4 $
$Modtime: 11-01-12 15:41 $
$Revision: 5 $
$Modtime: 13-01-12 19:59 $
File: bes_bedrijf_srtprod.asp
Description: Popupje om een weegfactor te bewerken of aan te maken
@@ -9,7 +9,7 @@
Context:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="../Shared/save2db.inc" -->
@@ -153,19 +153,19 @@ var TransitParam = buildTransitParam(["klant_key", "srtprod_key", "srtprod_keys"
var prijs = null;
var totaalprijs = null;
var opmerking = null;
var prod = srtprod_keys.length + " lcl_producten";
var prod = srtprod_keys.length + " L("lcl_producten")";
}
BLOCK_START("besWeging", safe.html(prod));
ROFIELDTR("fld", lcl_company, bedrijf);
RWFIELDTR("weging", "fld float", lcl_BES_weging, safe.editablefloat(weging), {html: "onBlur='calcTotal()'"});
RWFIELDTR("prijs", "fld float", lcl_BES_price_per_unity, safe.editablefloat(prijs), {html: "onBlur='calcTotal()'"});
RWFIELDTR("totaalprijs", "fld float", lcl_r_price7, safe.editablefloat(totaalprijs), {html: "onBlur='calcPrijs()'"});
RWTEXTAREATR("opmerking", "fld", lcl_bes_opmerking, opmerking);
ROFIELDTR("fld", L("lcl_company"), bedrijf);
RWFIELDTR("weging", "fld float", L("lcl_BES_weging"), safe.editablefloat(weging), {html: "onBlur='calcTotal()'"});
RWFIELDTR("prijs", "fld float", L("lcl_BES_price_per_unity"), safe.editablefloat(prijs), {html: "onBlur='calcTotal()'"});
RWFIELDTR("totaalprijs", "fld float", L("lcl_r_price7"), safe.editablefloat(totaalprijs), {html: "onBlur='calcPrijs()'"});
RWTEXTAREATR("opmerking", "fld", L("lcl_bes_opmerking"), opmerking);
BLOCK_END();
var buttons = [ {title: lcl_submit, icon: "accept.png", action: "bes_submit()" },
{title: lcl_cancel, icon: "cancel.png", action: "bes_cancel()" } ];
var buttons = [ {title: L("lcl_submit"), icon: "accept.png", action: "bes_submit()" },
{title: L("lcl_cancel"), icon: "cancel.png", action: "bes_cancel()" } ];
CreateButtons(buttons);
%>

View File

@@ -1,8 +1,8 @@
<%@ language="javascript" %>
<% /*
$Revision: 1 $
$Modtime: 12-01-12 15:47 $
$Revision: 2 $
$Modtime: 13-01-12 19:59 $
File: bes_bedrijfproduct_save.asp
Description: Sla de wijziging van een product (srtprod) op
@@ -18,7 +18,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="../shared/save2db.inc" -->
@@ -68,7 +68,7 @@ if (authparams)
}
else
{ // Geen autorisatie
message = lcl_no_auth;
message = L("lcl_no_auth");
}
var result = {succes: true, message: message};

View File

@@ -1,7 +1,7 @@
<% @language="javascript"%>
<% /*
$Revision: 3 $
$Modtime: 12-01-12 7:15 $
$Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: bes_bedrijfproduct_search.asp
Description: Quickscan klant
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/plaatsselector.inc" -->
<!-- #include file="../Shared/bedrijfselector.inc" -->
@@ -44,7 +44,7 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
<body id="searchbody">
<div id="search">
<form name="u2" target="workFrame" action="bes_bedrijfproduct_search_list.asp" method="get">
<% BLOCK_START("searchtable", lcl_filterblok);%>
<% BLOCK_START("searchtable", L("lcl_filterblok"));%>
<tr>
<td class="searchkolom1">
<table><!-- x rijen, 2 kolommen: label + veld -->
@@ -55,9 +55,9 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
+ " ORDER BY b.prs_bedrijf_naam_upper";
FCLTselector("klant_key",
sql,
{ label: lcl_company,
{ label: L("lcl_company"),
trclass: "primsearch",
emptyOption: lcl_select_bedrijf,
emptyOption: L("lcl_select_bedrijf"),
required: true
});
%>
@@ -78,7 +78,7 @@ var srtgroep_key = getQParamInt("srtgroep_key", -1);
</tr>
<% BLOCK_END();
var buttons = [ {title: lcl_search, action: "doSubmit()", id: "bSearch" } ];
var buttons = [ {title: L("lcl_search"), action: "doSubmit()", id: "bSearch" } ];
CreateButtons(buttons, { entersubmit: true});
%>
</form>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 1 $
$Modtime: 12-01-12 15:49 $
$Revision: 2 $
$Modtime: 15-01-12 18:16 $
File: bes_bedrijfproduct_search_list.asp
Description: Vangt de parameters van bes_bedrijfproduct_search op en verwerkt die tot een lijst
@@ -10,7 +10,7 @@
Note: Vooralsnog KOPIE VAN bes_klantmon_search.asp
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/resultset_table_v2.inc" -->
<%
@@ -35,14 +35,14 @@ var authparams = user.checkAutorisation("WEB_BESMSU");
var srtprod_key = row.getAttribute("ROWKEY");
var url = "../../appl/bes/bes_bedrijf_srtprod.asp?klant_key=<%=klant_key%>&srtprod_key=" + srtprod_key;
FcltMgr.openModalDetail(url, "<%=lcl_bes_srtprod%>", {callback: FcltMgr.reload});
FcltMgr.openModalDetail(url, "<%=L("lcl_bes_srtprod")%>", {callback: FcltMgr.reload});
}
function weeg_edit_multi(rowArray, isMulti)
{
var srtprod_keys = getKeyString(rowArray);
var url = "../../appl/bes/bes_bedrijf_srtprod.asp?klant_key=<%=klant_key%>&srtprod_keys=" + srtprod_keys;
FcltMgr.openModalDetail(url, "<%=lcl_bes_srtprod%>", {callback: FcltMgr.reload});
FcltMgr.openModalDetail(url, "<%=L("lcl_bes_srtprod")%>", {callback: FcltMgr.reload});
}
function calcTotal(bes_srtprod_key)
@@ -79,7 +79,7 @@ var authparams = user.checkAutorisation("WEB_BESMSU");
{
if (str != "" && !isGoodCurrency(str.replace(',', '.')))
{
alert(LCL.shared.invalid_format);
alert(L("lcl_shared_invalid_format"));
field.select();
field.focus();
return false;
@@ -234,17 +234,17 @@ var authparams = user.checkAutorisation("WEB_BESMSU");
outputmode: outputmode,
//totalShow: fntotalShow,
//totalCalc: fntotalCalc,
title: lcl_bes_assortiment_list
title: L("lcl_bes_assortiment_list")
});
rst.addColumn(new Column({caption: lcl_BES_srtgroup, content: "bes_srtgroep_omschrijving"}));
rst.addColumn(new Column({caption: lcl_bes_srtprod, content: "bes_srtprod_omschrijving"}));
rst.addColumn(new Column({caption: lcl_BES_weging, content: fnWeging, datatype: "float"}));
rst.addColumn(new Column({caption: lcl_BES_price_per_unity, content: fnPrijseenheid, datatype: "currency"}));
rst.addColumn(new Column({caption: lcl_r_price7, content: fnTotaalprijs, datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_BES_srtgroup"), content: "bes_srtgroep_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_bes_srtprod"), content: "bes_srtprod_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_BES_weging"), content: fnWeging, datatype: "float"}));
rst.addColumn(new Column({caption: L("lcl_BES_price_per_unity"), content: fnPrijseenheid, datatype: "currency"}));
rst.addColumn(new Column({caption: L("lcl_r_price7"), content: fnTotaalprijs, datatype: "currency"}));
rst.addAction({ action: "weeg_edit", caption: lcl_edit, isDefault: true});
rst.addAction({ action: "weeg_edit_multi", caption: lcl_BES_weging, multi: true, multiOnce: true, single: false });
rst.addAction({ action: "weeg_edit", caption: L("lcl_edit"), isDefault: true});
rst.addAction({ action: "weeg_edit_multi", caption: L("lcl_BES_weging"), multi: true, multiOnce: true, single: false });
var cnt = rst.processResultset();
%>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 15 $
$Modtime: 5-10-11 16:31 $
/* $Revision: 16 $
$Modtime: 15-01-12 18:16 $
File: bes_bestelling.asp
Description: Muteerscherm voor bestellingen
@@ -13,7 +13,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="bes.inc" -->
@@ -23,7 +23,7 @@ FCLTHeader.Requires({ plugins: ["suggest","jQuery"],
// AUTORISATIEPARAMETERS
var urole = getQParam("urole");
var urole = getQParamSafe("urole");
// de melding waar het over gaat, kan leeg zijn voor nieuwe, maar dat mag niet met bo of mi
var bes_key = getQParamInt("bes_key", -1);
@@ -50,7 +50,7 @@ transitParam = buildTransitParam(["punch", "mld_key", "artikel_key", "ps", "pn",
{
<% if (bes_key > 0)
{ %>
FcltMgr.setTitle(LCL.bes.bestelling + " " + "<%=bes_bestelling_prefix + bes_key%>", {hot: false});
FcltMgr.setTitle(L("lcl_bes_bestelling") + " " + "<%=bes_bestelling_prefix + bes_key%>", {hot: false});
<% } %>
});
@@ -73,7 +73,7 @@ transitParam = buildTransitParam(["punch", "mld_key", "artikel_key", "ps", "pn",
FcltMgr.closeDetail(window, params)
else if (!params.keepForm)
{
FcltMgr.setTitle(LCL.bes.bestelling + " " + "<%=bes_bestelling_prefix%>" + params.bes_key);
FcltMgr.setTitle(L("lcl_bes_bestelling") + " " + "<%=bes_bestelling_prefix%>" + params.bes_key);
$("#besFrame")[0].src = "bes_show_bestelling.asp?urole=<%=urole%>&bes_key=" + params.bes_key + "&embedded=1";
}
<% } %>
@@ -106,7 +106,7 @@ transitParam = buildTransitParam(["punch", "mld_key", "artikel_key", "ps", "pn",
{
%>
<script type="text/javascript" >
FcltMgr.openModalDetail("bes_select_discipline.asp", "<%=lcl_BES_fac_select_cat%>",
FcltMgr.openModalDetail("bes_select_discipline.asp", "<%=L("lcl_BES_fac_select_cat")%>",
{ callback: function (data)
{
if (!data)
@@ -151,7 +151,7 @@ transitParam = buildTransitParam(["punch", "mld_key", "artikel_key", "ps", "pn",
<% } %>
</script>
<% if (newWindow) {
shared.simpel_body(safe.html(lcl_bes_punchout_active));
shared.simpel_body(safe.html(L("lcl_bes_punchout_active")));
}
Response.End();
}
@@ -165,7 +165,7 @@ transitParam = buildTransitParam(["punch", "mld_key", "artikel_key", "ps", "pn",
}
if (page != "")
{
IFRAMER("besFrame", page, { title: lcl_bes_frame_algemeen,
IFRAMER("besFrame", page, { title: L("lcl_bes_frame_algemeen"),
initHeight: "450px",
FcltClose: "besClose" } );
}

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE = JavaScript %>
<% /*
$Revision: 10 $
$Modtime: 16-11-11 9:59 $
$Revision: 11 $
$Modtime: 13-01-12 19:59 $
File: bes_delete.asp
*/ %>
@@ -10,7 +10,7 @@
DOCTYPE_Disable = 1;
%>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="./bes.inc" -->
@@ -94,7 +94,7 @@ for (var i = 0; i < ingesloten.length; i++)
sql = "DELETE bes_bestelopdr WHERE bes_bestelopdr_key = " + bestelopdr_key
oRs = Oracle.Execute(sql);
}
message = lcl_BES_deleted_1 + bes_bestelling_prefix + bes_key + lcl_BES_deleted_2;
message = L("lcl_BES_deleted_1") + bes_bestelling_prefix + bes_key + L("lcl_BES_deleted_2");
}
}
@@ -139,7 +139,7 @@ for (var i = 0; i < ingesloten.length; i++)
var oRs = Oracle.Execute(sql);
var change_key = oRs("seq_key").value;
shared.trackaction("BESUPD", ingesloten[i].bes_key, lcl_bes_annuleer_request.format(bes_bestelling_prefix + change_key) );
shared.trackaction("BESUPD", ingesloten[i].bes_key, L("lcl_bes_annuleer_request").format(bes_bestelling_prefix + change_key) );
sql = " INSERT INTO bes_bestelling (prs_perslid_key"
+ " , prs_perslid_key_voor"

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE="JavaScript" %>
<% /*
$Revision: 55 $
$Modtime: 11-01-12 9:35 $
$Revision: 56 $
$Modtime: 15-01-12 18:16 $
File: bes_edit_bestelling.asp
Description: Muteerscherm voor bestellingen
@@ -17,7 +17,7 @@
de kostenplaats(groep) verantwoordelijke)
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/calendar.inc"-->
<!-- #include file="../Shared/kostenplaatsselector.inc" -->
@@ -37,7 +37,7 @@ FCLTHeader.Requires({ plugins:["suggest", "kenmerk"],
});
// AUTORISATIEPARAMETERS
var urole = getQParam("urole");
var urole = getQParamSafe("urole");
var bes_key = getQParamInt("bes_key", -1);
if (bes_key == -1)
@@ -297,16 +297,16 @@ else // nieuwe bestelling. Defaults bepalen
<% var buttons = [];
if (bes_key < 0 && bes_bestelling.fac_activiteit_key == -1)
buttons.push({title: lcl_BES_Submit, icon: "bestel.png", action: "MakeOrder()", singlepress: true, id: "btn_bes_submit"});
buttons.push({title: L("lcl_BES_Submit"), icon: "bestel.png", action: "MakeOrder()", singlepress: true, id: "btn_bes_submit"});
else
buttons.push({title: lcl_submit, icon: "opslaan.png", action: "MakeOrder()", singlepress: true, id: "btn_bes_submit"});
buttons.push({title: L("lcl_submit"), icon: "opslaan.png", action: "MakeOrder()", singlepress: true, id: "btn_bes_submit"});
if (bes_bestelling.fac_activiteit_key == -1)
{
buttons.push({title: lcl_cancel, icon: "undo.png", action: "bes_cancel()" });
buttons.push({title: L("lcl_cancel"), icon: "undo.png", action: "bes_cancel()" });
}
IFRAMER_HEADER((bes_bestelling.fac_activiteit_key > 0? lcl_bes_frame_algemeen_actie : lcl_bes_frame_algemeen), buttons);
IFRAMER_HEADER((bes_bestelling.fac_activiteit_key > 0? L("lcl_bes_frame_algemeen_actie") : L("lcl_bes_frame_algemeen")), buttons);
%>
<div id="edit">
@@ -359,7 +359,7 @@ else // nieuwe bestelling. Defaults bepalen
function favouriteList()
{
url = "../Bes/sel_favourites.asp?disc_key=<%=bes_bestelling.dis_key%>";
FcltMgr.openModalDetail(url, "<%=lcl_BES_favour_title%>",
FcltMgr.openModalDetail(url, "<%=L("lcl_BES_favour_title")%>",
{
callback: function (data)
{
@@ -380,13 +380,13 @@ else // nieuwe bestelling. Defaults bepalen
function favouriteAdd(bes_item_info) {
if (!bes_item_info || bes_item_info.srtdeel_key < 0)
{
alert(LCL.shared.choose_item_first);
alert(L("lcl_shared_choose_item_first"));
return;
}
url = "../Bes/addFavourites.asp" + "?srtdeel_key=" + bes_item_info.srtdeel_key
+ "&disc_key=<%=bes_bestelling.dis_key%>";
FcltMgr.openModalDetail(url, '<%=lcl_BES_favour_list%>');
FcltMgr.openModalDetail(url, '<%=L("lcl_BES_favour_list")%>');
}
</script>
@@ -412,15 +412,15 @@ else // nieuwe bestelling. Defaults bepalen
}
</script>
<% BLOCK_START("besHeader" , lcl_bes_aanvragergegevens);
<% BLOCK_START("besHeader" , L("lcl_bes_aanvragergegevens"));
// Zijn wij een incidentele bestelling via een melding?
if (bes_bestelling.mld_key != null)
{
var params = { infoPointer: { Url: "appl/mld/mld_melding.asp?urole=" + urole + "&mld_key=" + bes_bestelling.mld_key,
Title: lcl_complain + " " + bes_bestelling.mld_prefix + bes_bestelling.mld_key
Title: L("lcl_complain") + " " + bes_bestelling.mld_prefix + bes_bestelling.mld_key
}
}
ROFIELDTR("fld", lcl_bes_onbe_call, bes_bestelling.mld_prefix+bes_bestelling.mld_key, params);
ROFIELDTR("fld", L("lcl_bes_onbe_call"), bes_bestelling.mld_prefix+bes_bestelling.mld_key, params);
}
// Een fiatteur heeft misschien geen WEB_BESxxx en dus geen bes_disc_info.authparams
@@ -429,7 +429,7 @@ else // nieuwe bestelling. Defaults bepalen
"person",
"sgPerson",
{ perslidKey: bes_bestelling.perslid_key,
label: lcl_name,
label: L("lcl_name"),
autlevel: bes_disc_info.authparams? bes_disc_info.authparams.PRSwritelevel : 9,
readonly: bes_key > 0 || !fronto,
moreinfo: !frontend,
@@ -456,7 +456,7 @@ else // nieuwe bestelling. Defaults bepalen
"personFor",
"sgPersonFor",
{ perslidKey: bes_bestelling.perslid_key_voor,
label: lcl_bes_order_for,
label: L("lcl_bes_order_for"),
autlevel: bes_disc_info.authparams? bes_disc_info.authparams.PRSwritelevel : 9,
readonly: !kp_editable || (bes_disc_info.authparams? bes_disc_info.authparams.PRSwritelevel : 9) == 9,
moreinfo: !frontend,
@@ -470,7 +470,7 @@ else // nieuwe bestelling. Defaults bepalen
"sgAccount",
bes_bestelling.perslid_key != -1? bes_bestelling.perslid_key : user_key,
{ kostenplaatsKey: bes_bestelling.kostenplaats_key,
label: lcl_account,
label: L("lcl_account"),
filtercode: (bes_key == -1? "AA" : null),
urlAdd: [{ urlParam: "prs_key", field: (frontend && bes_allow_for_others == 1 && prs_dep_default_kpn_voor == 1? "personFor" : "person") }],
kptoggle: { ischecked: (1 || mld_kk == 1), // TODO
@@ -503,14 +503,14 @@ else // nieuwe bestelling. Defaults bepalen
var oRs = Oracle.Execute(sql);
txt = oRs("limiet").value || ""; // zou alsnog leeg kunnen zijn
}
ROFIELDTR ("fldprofiel", lcl_BES_orderlimit, txt, { id: "bestellimiet"});
ROFIELDTR ("fldprofiel", L("lcl_BES_orderlimit"), txt, { id: "bestellimiet"});
}
}
if (show_ordernr != 0)
{ %>
<tr>
<td class="label"><label for="ordernr"><%=lcl_mld_inf_Ordernr%>:</label></td>
<td class="label"><label for="ordernr"><%=L("lcl_mld_inf_Ordernr")%>:</label></td>
<td>
<input name = <%=kp_editable? "ordernr" : "ordernr_ro"%>
id="ordernr"
@@ -527,7 +527,7 @@ else // nieuwe bestelling. Defaults bepalen
<% }
FCLTcalendar( "calendar",
{ label : (bes_disc_info.disc_params_leverdagen>0? lcl_BES_deli_date_exp : lcl_BES_deli_date),
{ label : (bes_disc_info.disc_params_leverdagen>0? L("lcl_BES_deli_date_exp") : L("lcl_BES_deli_date")),
datum : bes_bestelling.rfoDeliverydate,
maxPast : (bes_disc_info.disc_params_leverdagen >= 0)? 0 : null,
maxFuture: bes_datum_limiet,
@@ -556,7 +556,7 @@ else // nieuwe bestelling. Defaults bepalen
: "")
+ " ORDER BY mld_adres_upper",
FCLTselector("deliveryAddr", sql,
{ label: lcl_delivery_address,
{ label: L("lcl_delivery_address"),
emptyOption: "",
readonly: aflever_readonly,
initKey: bes_bestelling.mld_adres_key,
@@ -565,7 +565,7 @@ else // nieuwe bestelling. Defaults bepalen
}
);
RWFIELDTR("delivery_place", "fld", lcl_BES_del_room, bes_bestelling.afleverruimte,
RWFIELDTR("delivery_place", "fld", L("lcl_BES_del_room"), bes_bestelling.afleverruimte,
{
required: bes_afleverruimte_verplicht == 1,
readonly: aflever_readonly,
@@ -578,7 +578,7 @@ else // nieuwe bestelling. Defaults bepalen
bes.generateBesInfoBlock(bes_bestelling);
}
BLOCK_START("besFlex" , lcl_bes_flexblok);
BLOCK_START("besFlex" , L("lcl_bes_flexblok"));
%><tr><td><%
generateFlexKenmerkCode ({ urole: urole,
bes_key: bes_bestelling.bes_key, // Bestelling key
@@ -600,11 +600,11 @@ else // nieuwe bestelling. Defaults bepalen
<% // ======== BLOCK om itemregels toe te voegen ========
if (this_bes.canItemsChange)
{
BLOCK_START("besItemSel" , lcl_bes_selectieblok + " " + bes_disc_info.discipline_omschrijving + " " + (bes_bestelling.inclBTW? LCL.shared.inclBTW : LCL.shared.exclBTW));
BLOCK_START("besItemSel" , L("lcl_bes_selectieblok") + " " + bes_disc_info.discipline_omschrijving + " " + (bes_bestelling.inclBTW? L("lcl_shared_inclBTW") : L("lcl_shared_exclBTW")));
FCLTartikelgroepselector("srtgroep",
"sgSrtgroep",
{ label: lcl_BES_srtgroup,
{ label: L("lcl_BES_srtgroup"),
artikelgroepKey: bes_bestelling.srtgroep,
disc_key: bes_bestelling.dis_key,
onChange: "onChangeArtikelgroep",
@@ -627,7 +627,7 @@ else // nieuwe bestelling. Defaults bepalen
oRs = Oracle.Execute(sql);
if (!oRs.eof)
FCLTselector("staffelgroep", sql, // filter op suggest besitem
{ label: lcl_BES_staffelgroep,
{ label: L("lcl_BES_staffelgroep"),
emptyOption: ""
}
);
@@ -638,7 +638,7 @@ else // nieuwe bestelling. Defaults bepalen
<%
FCLTbesitemselector("besitem",
"sgBesItem",
{ label: lcl_BES_srtdeel,
{ label: L("lcl_BES_srtdeel"),
bessrtdeel_key: -1,
disc_key: bes_bestelling.dis_key,
readonly: !this_bes.canItemsChange,
@@ -658,23 +658,23 @@ else // nieuwe bestelling. Defaults bepalen
<td class="besdetailtd">
<table class="besdetailtable">
<tr><td colspan="2" class="iteminfo2" title="<%= lcl_BES_srtgroup %>" id="srtgroep_text"></td></tr>
<tr><td colspan="2" class="iteminfo1" title="<%=lcl_BES_srtdeel_full%>" id="srtdeel_omschrijving"></td></tr>
<tr><td colspan="2" class="iteminfo2" title="<%= L("lcl_BES_srtgroup") %>" id="srtgroep_text"></td></tr>
<tr><td colspan="2" class="iteminfo1" title="<%=L("lcl_BES_srtdeel_full")%>" id="srtdeel_omschrijving"></td></tr>
<tr id="opmerking_tr" style="display:none">
<td colspan="2" class="iteminfo2" title="<%=lcl_BES_item_remark%>" id="srtdeel_opmerking"></td></tr>
<td colspan="2" class="iteminfo2" title="<%=L("lcl_BES_item_remark")%>" id="srtdeel_opmerking"></td></tr>
<tr><td colspan="2" class="iteminfo2" title="<%=lcl_BES_Price%>"><span id="prijs_text"></span><span id="eenheid_sep"></span><span id="eenheid_text"></span></td></tr>
<tr><td colspan="2" class="iteminfo2" title="<%=L("lcl_BES_Price")%>"><span id="prijs_text"></span><span id="eenheid_sep"></span><span id="eenheid_text"></span></td></tr>
<tr id="veelvoud_tr" style="display:none">
<td colspan="2" class="iteminfo2" title="<%=lcl_BES_multiple%>" id="veelvoud_text"></td></tr>
<td colspan="2" class="iteminfo2" title="<%=L("lcl_BES_multiple")%>" id="veelvoud_text"></td></tr>
<tr id="stock_tr" style="display:none">
<td colspan="2" class="iteminfo2" title="<%=lcl_BES_stock%>"><%=lcl_BES_stock%>: <span id="stock_text"></span></td></tr>
<td colspan="2" class="iteminfo2" title="<%=L("lcl_BES_stock")%>"><%=L("lcl_BES_stock")%>: <span id="stock_text"></span></td></tr>
<tr id="aantal_tr" style="display:none">
<td><label><%=lcl_BES_amount%>:</label><td><input onfocus="this.select()" class="fldbescnt" type="text" id="aantal_text" value="1"></td></tr>
<td><label><%=L("lcl_BES_amount")%>:</label><td><input onfocus="this.select()" class="fldbescnt" type="text" id="aantal_text" value="1"></td></tr>
<tr id="buttons_tr" style="display:none"><td colspan="2">
<span class='labelextra'>
<img class='details' title='<%=lcl_BES_favour_add%>' src='../Pictures/star_2_plus.png' onclick='favouriteAdd(bes_item_info)'>
<img class='details' title='<%=lcl_BES_add_btn%>' src='../Pictures/cartx2.png' onclick="AddSuggestItem(bes_item_info, parseInt($('#aantal_text').val(),10), '<%=urole%>')">
<img class='details' title='<%=L("lcl_BES_favour_add")%>' src='../Pictures/star_2_plus.png' onclick='favouriteAdd(bes_item_info)'>
<img class='details' title='<%=L("lcl_BES_add_btn")%>' src='../Pictures/cartx2.png' onclick="AddSuggestItem(bes_item_info, parseInt($('#aantal_text').val(),10), '<%=urole%>')">
</span>
</td></tr>
</table>
@@ -684,19 +684,19 @@ else // nieuwe bestelling. Defaults bepalen
} // this_bes.canItemsChange
%>
<% BLOCK_START("besItems" , lcl_bes_geselecteerd + " " + (bes_bestelling.inclBTW? LCL.shared.inclBTW : LCL.shared.exclBTW)); %>
<% BLOCK_START("besItems" , L("lcl_bes_geselecteerd") + " " + (bes_bestelling.inclBTW? L("lcl_shared_inclBTW") : L("lcl_shared_exclBTW"))); %>
<tr><td>
<!-- SELECTED ITEMS -->
<table width="100%" style='border:0px; paddding:0px;' id="sel_items" class="rstable">
<thead>
<tr>
<th></th>
<th><%=lcl_BES_srtdeel_nr%></th>
<th><%=lcl_BES_srtdeel%></th>
<th><%=lcl_BES_unity%></th>
<th align="right"><%=lcl_BES_price_per_unity%></th>
<th align="right"><%=lcl_BES_amount%></th>
<th align="right" <%=show_price ? "" : " style='display:none;'" %>><%=lcl_BES_subtotal%></th>
<th><%=L("lcl_BES_srtdeel_nr")%></th>
<th><%=L("lcl_BES_srtdeel")%></th>
<th><%=L("lcl_BES_unity")%></th>
<th align="right"><%=L("lcl_BES_price_per_unity")%></th>
<th align="right"><%=L("lcl_BES_amount")%></th>
<th align="right" <%=show_price ? "" : " style='display:none;'" %>><%=L("lcl_BES_subtotal")%></th>
</tr>
</thead>
<tbody>
@@ -714,13 +714,13 @@ else // nieuwe bestelling. Defaults bepalen
{ %>
<table width="100%">
<% if (bes_bestelling.rfoBesKosten != 0 && show_price)
ROFIELDTR("fldtotkosten", LCL.bes.order_discount, currency_pref + " " + safe.curr(bes_bestelling.rfoBesKosten * -1));
ROFIELDTR("fldtotkosten", L("lcl_bes_order_discount"), currency_pref + " " + safe.curr(bes_bestelling.rfoBesKosten * -1));
if (bes_bestelling.rfoLevKosten != 0 && show_price)
ROFIELDTR("fldtotkosten", lcl_BES_tpcosts, currency_pref + " " + safe.curr(bes_bestelling.rfoLevKosten));
ROFIELDTR("fldtotkosten", L("lcl_BES_tpcosts"), currency_pref + " " + safe.curr(bes_bestelling.rfoLevKosten));
if (show_price)
ROFIELDTR("fldtotkosten", lcl_total, currency_pref + " " + safe.curr(totaal));
ROFIELDTR("fldtotkosten", L("lcl_total"), currency_pref + " " + safe.curr(totaal));
%> </table><%
}
else
@@ -728,7 +728,7 @@ else // nieuwe bestelling. Defaults bepalen
<div id="total_list" align="right">
<table>
<tr <% = show_price ? "" : " style='display:none;'" %> >
<td><label><%=LCL.bes.total_cost%></label><input type='hidden' id='total' name='total' value=0></td>
<td><label><%=L("lcl_bes_total_cost")%></label><input type='hidden' id='total' name='total' value=0></td>
<td width="100px" id='total_txt' align=right><%=currency_pref%>&nbsp;<%=safe.curr(totaal)%></td>
</tr>
</table>

View File

@@ -1,7 +1,7 @@
<% @language="javascript"%>
<% /*
$Revision: 34 $
$Modtime: 11-11-11 13:20 $
$Revision: 35 $
$Modtime: 15-01-12 18:16 $
File: bes_edit_bestellign_save
Description: Opsla script van bes_edit_bestelling.asp
@@ -13,7 +13,7 @@
flexkey_string de flexkenmerken van de bes_bestel_item
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="./bes.inc" -->
<!-- #include file="../PRS/prs.inc" -->
<!-- #include file="../shared/save2db.inc" -->
@@ -61,7 +61,7 @@ else
// Kollommen prs_perslid_key en prs_perslid_key_voor zijn dan identiek.
prs_key_voor = prs_key;
var urole = getQParam("urole");
var urole = getQParamSafe("urole");
var autfunction = {fo: 'WEB_BESFOF', bo: 'WEB_BESBOF'}[urole] || 'WEB_BESUSE';
if (!act_mode)
{
@@ -135,7 +135,7 @@ function kenmerkSaveBestell(bes_key)
}
}
var strState = ""; // LCL.bes.RFO_regSuccess
var strState = ""; // L("lcl_bes_RFO_regSuccess")
// Check customer specific restrictions
// customer hook
@@ -151,13 +151,13 @@ if (staffel_info.totaalbedrag < bes_disc_info.disc_params_min_bedrag && isNew)
{
if (!act_mode)
{
abort_with_warning(LCL.bes.below_limit + " " + currency_pref + safe.curr(bes_disc_info.disc_params_min_bedrag) + currency_suff);
abort_with_warning(L("lcl_bes_below_limit") + " " + currency_pref + safe.curr(bes_disc_info.disc_params_min_bedrag) + currency_suff);
}
}
// Combinatievalidatie
if (!kpl_ksrt_validate(kostenplaats_key, null, dis_key))
abort_with_warning(lcl_res_kpks_validatie);
abort_with_warning(L("lcl_res_kpks_validatie"));
var approver_key = -1;
var ter_finfiattering = false;
@@ -174,7 +174,7 @@ if (bes_disc_info.disc_params_pgb == 1)
else
// Fiatteringsproces moet gevolgd worden op de naam van de "voor wie" (bestelling voor)
// Als de setting "bes_allow_for_others" niet is gezet zijn prs_key en prs_key_voor identiek
strState = LCL.bes.exceeds_pgb + safe.curr(bes.get_pgb_exceed_amount(staffel_info.totaalbedrag, prs_key_voor, dis_key, bes_key));
strState = L("lcl_bes_exceeds_pgb") + safe.curr(bes.get_pgb_exceed_amount(staffel_info.totaalbedrag, prs_key_voor, dis_key, bes_key));
}
}
else
@@ -199,7 +199,7 @@ if (ter_finfiattering || can_selfapprove == 0)
if (approver_key == -1) {
// geen fiatteur gevonden, bestellen niet mogelijk
__Log('bestelling afgebroken');
abort_with_warning(LCL.bes.exceed_limit);
abort_with_warning(L("lcl_bes_exceed_limit"));
}
if (shared.exceeds_profiel(staffel_info.totaalbedrag, approver_key, dis_key))
{ // de gevonden fiatteur heeft onvoldoende profiel, is er een hogere (kpngroepverantwoordelijke)
@@ -210,7 +210,7 @@ if (ter_finfiattering || can_selfapprove == 0)
if (nextapprover_key == -1 || shared.exceeds_profiel(staffel_info.totaalbedrag, nextapprover_key, dis_key))
{
__Log('voldoet ook niet');
abort_with_warning(LCL.bes.exceed_limit);
abort_with_warning(L("lcl_bes_exceed_limit"));
}
}
// Er is nu een altijd een eerste approver_key gevonden (met of zonder voldoende fiatteringsrechten. Anders al een abort.
@@ -240,14 +240,14 @@ if (!isNew && !isChange)
if (makechange && !bes_disc_info.can_concept)
INTERNAL_ERROR_UNEXPECTED_MAKECHANGE;
var fields = [ { dbs: "prs_perslid_key", typ: "key", val: prs_key , track: lcl_name, foreign: "prs_perslid"},
{ dbs: "prs_perslid_key_voor", typ: "key", val: prs_key_voor , track: lcl_bes_order_for, foreign: "prs_perslid"},
{ dbs: "prs_kostenplaats_key", typ: "key", frm: "kostenplaats", track: lcl_account, foreign: "prs_kostenplaats" },
{ dbs: "bes_bestelling_ordernr", typ: "varchar", frm: "ordernr", track: lcl_mld_inf_Ordernr },
var fields = [ { dbs: "prs_perslid_key", typ: "key", val: prs_key , track: L("lcl_name"), foreign: "prs_perslid"},
{ dbs: "prs_perslid_key_voor", typ: "key", val: prs_key_voor , track: L("lcl_bes_order_for"), foreign: "prs_perslid"},
{ dbs: "prs_kostenplaats_key", typ: "key", frm: "kostenplaats", track: L("lcl_account"), foreign: "prs_kostenplaats" },
{ dbs: "bes_bestelling_ordernr", typ: "varchar", frm: "ordernr", track: L("lcl_mld_inf_Ordernr") },
{ dbs: "bes_bestelling_kosten_klant", typ: "check", frm: "kostenklant" },
{ dbs: "mld_adres_key_lev", typ: "key", frm: "deliveryAddr", track: lcl_delivery_address },
{ dbs: "bes_bestelling_leverdatum", typ: "date", frm: "calendar", track: (bes_disc_info.disc_params_leverdagen>0? lcl_BES_deli_date_exp : lcl_BES_deli_date) },
{ dbs: "bes_bestelling_plaats", typ: "varchar", frm: "delivery_place", track: lcl_BES_del_room },
{ dbs: "mld_adres_key_lev", typ: "key", frm: "deliveryAddr", track: L("lcl_delivery_address") },
{ dbs: "bes_bestelling_leverdatum", typ: "date", frm: "calendar", track: (bes_disc_info.disc_params_leverdagen>0? L("lcl_BES_deli_date_exp") : L("lcl_BES_deli_date")) },
{ dbs: "bes_bestelling_plaats", typ: "varchar", frm: "delivery_place", track: L("lcl_BES_del_room") },
{ dbs: "bes_bestelling_module", typ: "varchar", val: "BES" },
{ dbs: "bes_bestelling_levkosten", typ: "float", val: staffel_info.bes_kosten },
{ dbs: "bes_bestelling_korting", typ: "float", val: staffel_info.opdrachtkortingbedrag }
@@ -280,11 +280,11 @@ if (isNew || makechange)
maxdate.setDate(maxdate.getDate() + bes_datum_limiet);
if ( bes_datum_limiet > 0 && levdat > maxdate )
{
abort_with_warning(LCL.bes.date_farfuture); // te ver in de toekomst
abort_with_warning(L("lcl_bes_date_farfuture")); // te ver in de toekomst
}
if (levdat < (new Date()).midnight() && bes_disc_info.disc_params_leverdagen > 0)
{
abort_with_warning(LCL.bes.date_future); // Moet in de toekomst
abort_with_warning(L("lcl_bes_date_future")); // Moet in de toekomst
}
}
else
@@ -312,7 +312,7 @@ else
var besUpd = buildTrackingUpdate("bes_bestelling", " bes_bestelling_key = " + bes_key, fields);
if (bes_bestelling.totaal != staffel_info.totaalbedrag)
besUpd.trackarray.push(lcl_total + ": " + buildTrackText("float", bes_bestelling.totaal, staffel_info.totaalbedrag));
besUpd.trackarray.push(L("lcl_total") + ": " + buildTrackText("float", bes_bestelling.totaal, staffel_info.totaalbedrag));
Oracle.Execute(besUpd.sql);
@@ -324,7 +324,7 @@ kenmerkSaveBestell(bes_key); // de kenmerken van de bestelling zelf
if (!isNew && !makechange) // update nog tracken
{
shared.trackaction("BESUPD", bes_key, lcl_bes_is_besupdtrack.format(bes_bestelling_prefix + bes_key) + "\n" +
shared.trackaction("BESUPD", bes_key, L("lcl_bes_is_besupdtrack").format(bes_bestelling_prefix + bes_key) + "\n" +
besUpd.trackarray.concat(flextrack).join("\n"));
};
@@ -400,7 +400,7 @@ if (status == 1 || status == 2|| status == 3 || status == 4 || status == 5)
shared.trackaction("BESNEW", bes_key);
if (makechange) // in de originele tracking verwijzen we naar de change-request
shared.trackaction("BESUPD", getQParamInt("bes_key"), lcl_bes_change + bes_bestelling_prefix + bes_key );
shared.trackaction("BESUPD", getQParamInt("bes_key"), L("lcl_bes_change") + bes_bestelling_prefix + bes_key );
// Nu kan daadwerkelijk de juiste status gezet worden.
if (approver_key == -1) // No fin-approval required
@@ -409,7 +409,7 @@ if (status == 1 || status == 2|| status == 3 || status == 4 || status == 5)
if (oldStatus == 3 || ((staffel_info.totaalbedrag > bes_disc_info.disc_params_bestellimiet) &&
(isNew || bes.herfiatteren(bes_bestelling, bes_disc_info, staffel_info.totaalbedrag)))) // should BO approve?
{
bes.setbestellingstatus(bes_key, 3, lcl_BES_fiatbyrules); // finanicieel gefiatteerd, BO moet nog wel
bes.setbestellingstatus(bes_key, 3, L("lcl_BES_fiatbyrules")); // finanicieel gefiatteerd, BO moet nog wel
}
else
{

View File

@@ -1,7 +1,7 @@
<%@ LANGUAGE="JavaScript" %>
<% /*
$Revision: 13 $
$Modtime: 11-01-12 10:13 $
$Revision: 14 $
$Modtime: 15-01-12 18:35 $
File: kenmerk_fill.asp
Status:
@@ -11,7 +11,7 @@
Context: ShowModalDialog popup
Note: Er is geen interface binnen Facilitor om bestelitem kenmerken te wijzigen
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/persoonselector.inc" -->
<!-- #include file="../Shared/kenmerk_common.inc" -->
@@ -26,7 +26,7 @@
var srtgroup_key = getQParamInt('srtgroup_key');
var dis_key = getQParamInt('dis_key');
var prs_key = getQParamInt('prs_key',-1);
var urole = getQParam("urole");
var urole = getQParamSafe("urole");
var PRSreadlevel = getQParamInt('PRSreadlevel',-1);
var autfunction = {fo: 'WEB_BESFOF', bo: 'WEB_BESBOF'}[urole] || 'WEB_BESUSE';
@@ -65,7 +65,7 @@ function doSubmit()
//if (document.forms.u2.note_descr.value != "")
// document.forms.u2.submit();
//else
// alert("<%=lcl_prj_no_description_note%>");
// alert(L("lcl_prj_no_description_note"));
//var objReturn = new Object();
//objReturn.EersteWaarde = 1;
@@ -113,7 +113,7 @@ function doSubmit()
var s = "../Bes/bes_show_item_kenmerk.asp?srtdeel_key=<%=srtdeel_key%>";
objReturn[4][0] = s;
FcltMgr.openModalDetail(s, LCL.bes.article_details,
FcltMgr.openModalDetail(s, L("lcl_bes_article_details"),
{ width: 500, xheight: 400,
objReturn:objReturn,
callback: function (data)
@@ -162,14 +162,14 @@ function changeName(prs_key) {
"sgPerson",
{ autlevel: authparams.PRSreadlevel,
perslidKey: prs_key>0?prs_key:user_key,
label: lcl_name,
label: L("lcl_name"),
onChange: "changeName"
});
%>
</table>
<% } %>
<% BLOCK_START("besItemFlex" , lcl_flexible_properties); %>
<% BLOCK_START("besItemFlex" , L("lcl_flexible_properties")); %>
<tr><td><table width=100% id="theTable">
<%
@@ -218,8 +218,8 @@ function changeName(prs_key) {
</table></td></tr>
<% BLOCK_END(); %>
<%
buttons = [{title: (preview ? lcl_BES_preview:lcl_submit), icon: "opslaan.png", action: "doSubmit();"},
{title: lcl_back, icon: "undo.png", action: "FcltMgr.closeDetail(window, { cancel: true });"}
buttons = [{title: (preview ? L("lcl_BES_preview"):L("lcl_submit")), icon: "opslaan.png", action: "doSubmit();"},
{title: L("lcl_back"), icon: "undo.png", action: "FcltMgr.closeDetail(window, { cancel: true });"}
];
CreateButtons(buttons);
%>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<% /*
$Revision: 19 $
$Modtime: 11-01-12 14:59 $
$Revision: 20 $
$Modtime: 15-01-12 18:16 $
File: bes_opdr.asp
Description: Edit voor bestellingen-opdrachten
@@ -12,7 +12,7 @@
Note:
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../shared/save2db.inc" -->
@@ -22,7 +22,7 @@
FCLTHeader.Requires({ plugins: ["jQuery"],
js: ["num2curr.js"] })
var urole = getQParam("urole");
var urole = getQParamSafe("urole");
var minfo = (urole == "mi");
var opdr_key = getQParamInt("ordernr");
@@ -95,10 +95,10 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
</script>
<body id="editbody">
<%
var buttons = [ {title: lcl_submit, icon: "opslaan.png", action: "bes_opdrsubmit()" },
{title: lcl_cancel, icon: "undo.png", action: "bes_opdrcancel()" }];
var buttons = [ {title: L("lcl_submit"), icon: "opslaan.png", action: "bes_opdrsubmit()" },
{title: L("lcl_cancel"), icon: "undo.png", action: "bes_opdrcancel()" }];
IFRAMER_HEADER(lcl_bes_opdrframe_algemeen, buttons)
IFRAMER_HEADER(L("lcl_bes_opdrframe_algemeen"), buttons)
%>
<div id="edit">
@@ -124,23 +124,23 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
</script>
<form action="bes_edit_opdr.asp?submit=1&urole=<%=urole%>&ordernr=<%=opdr_key%>" method=post name=u2 >
<% BLOCK_START("besOpdr", lcl_bes_opdralgemeengegevens);
<% BLOCK_START("besOpdr", L("lcl_bes_opdralgemeengegevens"));
ROFIELDTR("fld", lcl_BES_RFOs, bes_bestelling_prefix + bes_bestelopdr.bes_key_str.join(", "));
ROFIELDTR("fld", L("lcl_BES_RFOs"), bes_bestelling_prefix + bes_bestelopdr.bes_key_str.join(", "));
if (bes_bestelopdr.bes_key_str.length == 1)
{
// Originele aanvraag weergeven indien aanwezig
if (bes_bestelling.parent_key)
ROFIELDTR ("fld", lcl_bes_origineel, bes_bestelling_prefix + bes_bestelling.parent_key);
ROFIELDTR ("fld", L("lcl_bes_origineel"), bes_bestelling_prefix + bes_bestelling.parent_key);
}
ROFIELDTR("fld", lcl_BES_Supplier, bes_bestelopdr.prs_bedrijf_naam);
ROFIELDTR("fld", lcl_BES_Bes_status, bes_bestelopdr.statustxt);
ROFIELDTR("fld", lcl_BES_Bes_Owner, bes_bestelopdr.prs_perslid_naam);
ROFIELDTR("fld", L("lcl_BES_Supplier"), bes_bestelopdr.prs_bedrijf_naam);
ROFIELDTR("fld", L("lcl_BES_Bes_status"), bes_bestelopdr.statustxt);
ROFIELDTR("fld", L("lcl_BES_Bes_Owner"), bes_bestelopdr.prs_perslid_naam);
if (bes_bestelopdr.status != 3)
{ %>
<tr><td></td><td>
<input type="checkbox" name="chkproceed" id="chkproceed" value="on" CHECKED><label for="chkproceed"><%=lcl_BES_submit_proceed%></label>
<input type="checkbox" name="chkproceed" id="chkproceed" value="on" CHECKED><label for="chkproceed"><%=L("lcl_BES_submit_proceed")%></label>
</td>
</tr>
<% }
@@ -151,7 +151,7 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
+ (authparams.ALGreadlevel >= 0?" AND alg_locatie_key IN (SELECT alg_locatie_key FROM fac_v_my_locations "
+ " WHERE prs_perslid_key = " + user_key + " AND niveau="+authparams.ALGreadlevel+")":"")
+ " ORDER BY 2";
FCLTselector("levering", sql, {label: lcl_BES_adres_lev,
FCLTselector("levering", sql, {label: L("lcl_BES_adres_lev"),
initKey: bes_bestelopdr.mld_adres_key_lev,
emptyOption: (bes_bestelopdr.mld_adres_key_lev < 0? null : "")})
@@ -161,21 +161,21 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
+ (authparams.ALGreadlevel>=0?" AND alg_locatie_key IN (SELECT alg_locatie_key FROM fac_v_my_locations "
+ " WHERE prs_perslid_key="+user_key+" AND niveau="+authparams.ALGreadlevel+")":"")
+ " ORDER BY 2";
FCLTselector("factuur", sql, {label: lcl_BES_adres_fac,
FCLTselector("factuur", sql, {label: L("lcl_BES_adres_fac"),
initKey: bes_bestelopdr.mld_adres_key_fac,
emptyOption:(bes_bestelopdr.mld_adres_key_fac < 0? null : "")})
RWTEXTAREATR("opmerk", "fldtxt", lcl_remark, bes_bestelopdr.opmerking, {html: "rows='3'", suppressEmpty: true}); // Afhandeling, reden niet akkoord
ROTEXTAREATR("fldtxt", lcl_BES_comment, bes_bestelopdr.delivery_opmerk, {suppressEmpty: true});
RWTEXTAREATR("opmerk", "fldtxt", L("lcl_remark"), bes_bestelopdr.opmerking, {html: "rows='3'", suppressEmpty: true}); // Afhandeling, reden niet akkoord
ROTEXTAREATR("fldtxt", L("lcl_BES_comment"), bes_bestelopdr.delivery_opmerk, {suppressEmpty: true});
BLOCK_END();
BLOCK_START("besOpdrItems", lcl_bes_geselecteerd);
BLOCK_START("besOpdrItems", L("lcl_bes_geselecteerd"));
%>
<tr>
<th><%=lcl_BES_srtdeel_nr%></th>
<th><%=lcl_BES_discipline%></th>
<th><%=lcl_BES_srtdeel%></th>
<th align="right"><%=lcl_BES_amount%></th>
<th align="right"><%=lcl_BES_Price + " " + (bes_bestelopdr.inclBTW? LCL.shared.inclBTW : LCL.shared.exclBTW)%></th>
<th><%=L("lcl_BES_srtdeel_nr")%></th>
<th><%=L("lcl_BES_discipline")%></th>
<th><%=L("lcl_BES_srtdeel")%></th>
<th align="right"><%=L("lcl_BES_amount")%></th>
<th align="right"><%=L("lcl_BES_Price") + " " + (bes_bestelopdr.inclBTW? L("lcl_shared_inclBTW") : L("lcl_shared_exclBTW"))%></th>
</tr>
<%
@@ -201,7 +201,7 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
<% if (bes_bestelopdr.korting > 0)
{ %>
<tr>
<td colspan=4><b><%=LCL.bes.order_discount%></b></td>
<td colspan=4><b><%=L("lcl_bes_order_discount")%></b></td>
<td align="right">
<input type="text" style="text-align:right" readonly class='disabled' value='<%=safe.curr(bes_bestelopdr.korting * -1)%>'>
</td>
@@ -211,7 +211,7 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
<% if (bes_bestelopdr.levkosten > 0)
{ %>
<tr>
<td align=left colspan=4><b><%=lcl_BES_tpcosts%></b></td>
<td align=left colspan=4><b><%=L("lcl_BES_tpcosts")%></b></td>
<td align="right">
<input type="text" style="text-align:right" readonly class='disabled'
value='<%=safe.curr(bes_bestelopdr.levkosten)%>'>
@@ -220,7 +220,7 @@ var bes_bestelling = bes.bestelling_info(bes_bestelopdr.bes_key_str[0]);
<% } %>
<tr>
<td align=left colspan=4><label><%=lcl_total%></label></td>
<td align=left colspan=4><label><%=L("lcl_total")%></label></td>
<td align=right>
<input type="text" style="text-align:right" readonly class='disabled' id='total_txt' name='total_txt'
value='<%=safe.curr(total)%>'>

View File

@@ -1,7 +1,7 @@
<%@language = "javascript" %>
<%
/* $Revision: 3 $
$Modtime: 4-01-12 15:17 $
/* $Revision: 4 $
$Modtime: 13-01-12 19:59 $
File: bes_show_srtdeel.asp
Description: Details van een artikel
@@ -12,7 +12,7 @@
*/ %>
<!-- #include file="../../cust/install.inc" -->
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../Shared/calendar.inc" -->
@@ -139,9 +139,9 @@ else
<body id="editbody">
<% var buttons = [];
var buttons = [ {title: lcl_submit, action:"bes_submit()", icon: "opslaan.png" },
{title: lcl_cancel, action:"bes_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(lcl_bes_srtdeel_frame, buttons);
var buttons = [ {title: L("lcl_submit"), action:"bes_submit()", icon: "opslaan.png" },
{title: L("lcl_cancel"), action:"bes_cancel()", icon: "undo.png" } ];
IFRAMER_HEADER(L("lcl_bes_srtdeel_frame"), buttons);
%>
<div id="show">
<form name="u2"
@@ -149,30 +149,30 @@ else
method="post"
target="hidFrameSubmit"
onSubmit="bes_submit()">
<% BLOCK_START("besArtikel", lcl_bes_srtdeelblok);
<% BLOCK_START("besArtikel", L("lcl_bes_srtdeelblok"));
RWFIELDTR("srtdeel_nr", "fld", lcl_BES_srtdeel_nr, art.nr, { maxlength: 32 });
RWFIELDTR("omschrijving", "fld", lcl_BES_srtdeel_oms, art.omschrijving, { required: true, maxlength: 100 });
ROFIELDTR("fld", lcl_BES_discipline, art.disc_oms);
RWFIELDTR("srtdeel_nr", "fld", L("lcl_BES_srtdeel_nr"), art.nr, { maxlength: 32 });
RWFIELDTR("omschrijving", "fld", L("lcl_BES_srtdeel_oms"), art.omschrijving, { required: true, maxlength: 100 });
ROFIELDTR("fld", L("lcl_BES_discipline"), art.disc_oms);
var sql = "SELECT bes_srtgroep_key, "
+ " bes_srtgroep_omschrijving"
+ " FROM bes_srtgroep"
+ " WHERE ins_discipline_key = " + art.disc_key;
// TODO: suggest maken
FCLTselector("srtgroep", sql,
{ label: lcl_BES_srtgroup,
{ label: L("lcl_BES_srtgroup"),
initKey: art.srtgroep_key,
emptyOption: "",
required: true
});
RWFIELDTR("srtdeel_eenheid", "fld", lcl_BES_unity, art.eenheid);
RWFIELDTR("image", "fld", lcl_bes_image, art.image);
RWFIELDTR("srtdeel_eenheid", "fld", L("lcl_BES_unity"), art.eenheid);
RWFIELDTR("image", "fld", L("lcl_bes_image"), art.image);
// TODO: srtprodselector.inc maken
%>
<tr>
<td class="label"><label class="selector" for="itemfilter"><%=lcl_bes_srtprod%>:</label>
<td class="label"><label class="selector" for="itemfilter"><%=L("lcl_bes_srtprod")%>:</label>
</td>
<td>
<input type="text" name="itemfilter" id="itemfilter"
@@ -181,42 +181,42 @@ else
</td>
</tr>
<%
RWTEXTAREATR("opmerking", "fld", lcl_bes_opmerking, art.opmerking);
RWTEXTAREATR("opmerking", "fld", L("lcl_bes_opmerking"), art.opmerking);
BLOCK_END();
BLOCK_START("besArtikelBestel", lcl_bes_srtdeelbestelblok);
BLOCK_START("besArtikelBestel", L("lcl_bes_srtdeelbestelblok"));
FCLTbedrijfselector("lev_key", // supplier
"sg_lev",
{ companyKey: art.bedrijf_key,
label: lcl_BES_Supplier,
label: L("lcl_BES_Supplier"),
trclass: "primsearch",
filtercode: "L",
whenEmpty: lcl_search_generic
whenEmpty: L("lcl_search_generic")
});
FCLTcalendar( "verval",
{
datum: art.vervaldatum!=null?new Date(art.vervaldatum):null,
label: lcl_bes_vervaldatum,
label: L("lcl_bes_vervaldatum"),
initEmpty: art.vervaldatum==null
});
RWFIELDTR("veelvoud", "fldshort", lcl_bes_veelvoud, art.veelvoud);
RWFIELDTR("minimum", "fldshort", lcl_bes_minimum, art.minimum);
RWFIELDTR("btw", "fldshort", lcl_btw_percentage, art.btw);
RWFIELDTR("wijzigdagen", "fldshort", lcl_bes_wijzigdagen, art.wijzigdagen);
RWFIELDTR("annuleerdagen", "fldshort", lcl_bes_annuleerdagen, art.annuleerdagen);
RWCHECKBOXTR("prsflex", "fldcheck", lcl_bes_prsflex, art.prsflex);
RWCHECKBOXTR("preview", "fldcheck", lcl_bes_preview, art.preview);
RWFIELDTR("voorraadmin", "fldshort", lcl_bes_voorraadmin, art.voorraadmin);
RWFIELDTR("voorraadmax", "fldshort", lcl_bes_voorraadmax, art.voorraadmax);
RWFIELDTR("veelvoud", "fldshort", L("lcl_bes_veelvoud"), art.veelvoud);
RWFIELDTR("minimum", "fldshort", L("lcl_bes_minimum"), art.minimum);
RWFIELDTR("btw", "fldshort", L("lcl_btw_percentage"), art.btw);
RWFIELDTR("wijzigdagen", "fldshort", L("lcl_bes_wijzigdagen"), art.wijzigdagen);
RWFIELDTR("annuleerdagen", "fldshort", L("lcl_bes_annuleerdagen"), art.annuleerdagen);
RWCHECKBOXTR("prsflex", "fldcheck", L("lcl_bes_prsflex"), art.prsflex);
RWCHECKBOXTR("preview", "fldcheck", L("lcl_bes_preview"), art.preview);
RWFIELDTR("voorraadmin", "fldshort", L("lcl_bes_voorraadmin"), art.voorraadmin);
RWFIELDTR("voorraadmax", "fldshort", L("lcl_bes_voorraadmax"), art.voorraadmax);
var sql = "SELECT bes_staffeltabel_key, "
+ " bes_staffeltabel_naam"
+ " FROM bes_staffeltabel";
FCLTselector("staffel", sql,
{ label: lcl_BES_staffelgroep,
{ label: L("lcl_BES_staffelgroep"),
initKey: art.staffeltabel_key,
emptyOption: ""});
RWFIELDTR("depotverdeelpct", "fldshort", lcl_bes_depotverdeelpct, art.depotverdeelpct);
RWFIELDTR("depotverdeelpct", "fldshort", L("lcl_bes_depotverdeelpct"), art.depotverdeelpct);
BLOCK_END();
%>

Some files were not shown because too many files have changed in this diff Show More