initieel 5i
svn path=/Website/trunk/; revision=562
12
CUST/BOFO/cust.css
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* $Revision: 1 $
|
||||
* $Modtime: 21-01-10 21:07 $
|
||||
*/
|
||||
|
||||
#headerblok
|
||||
{
|
||||
background: url(tmpl_logo.gif) no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
background-position: 0px 0px;
|
||||
color: #000002;
|
||||
}
|
||||
92
CUST/BOFO/cust.inc
Normal file
@@ -0,0 +1,92 @@
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 21-01-10 21:35 $
|
||||
*/ %>
|
||||
<%
|
||||
// This is THE place to define customer specific *overrules* for the standard Facilitor application texts.
|
||||
// Handle with care!
|
||||
|
||||
customerId = "BOFO";
|
||||
|
||||
mplcl_visitors_fo = "Bezoekers";
|
||||
mplcl_reception_h = "Backoffice";
|
||||
mplcl_call_center_bo = "Servicedesk";
|
||||
mplcl_reservations_bo = "Reserveringen"
|
||||
mplcl_back_office = "Beheer"
|
||||
mplcl_call_center = "Meldingen";
|
||||
mplcl_front_office = "Frontoffice";
|
||||
mplcl_frontend = "Zelfservice";
|
||||
mplcl_rooms = "Vergaderruimte"
|
||||
mplcl_export_kosten = "Doorbelasting kosten"
|
||||
mplcl_app_management = "Applicatiebeheer"
|
||||
mplcl_catering = "Catering"
|
||||
|
||||
lcl_contact_FO = 'Neem kontakt op met de Servicedesk.'
|
||||
lcl_res_fe_edit_option_only = "De reservering is al definitief. Neem contact op met Servicedesk voor wijzigingen.";
|
||||
lcl_res_fo_edit_option_only = "De reservering is al definitief. Neem contact op met de Servicedesk voor wijzigingen.";
|
||||
lcl_res_warnBO = "Waarschuwing last-minute: Neem bij wijzigingen contact op met de Servicedesk.";
|
||||
lcl_res_obj_lastminute = "Waarschuwing: last-minute: Neem contact op met de Servicedesk om zeker te zijn dat uw reservering is doorgekomen";
|
||||
lcl_res_lastmin = "Last minute reservering niet toegestaan, neem contact op met de Servicedesk.";
|
||||
lcl_cant_reserveinpast = 'Deze reservering kan qua tijdstip niet meer gedaan worden. ' + lcl_contact_FO;
|
||||
|
||||
lcl_vakgroup = "Productgroep";
|
||||
lcl_allvakgroup = "<Alle productgroepen>";
|
||||
lcl_complain = "Betreft";
|
||||
mplcl_authorization = "Mijn Profiel";
|
||||
lcl_host = "Gastheer/gastvrouw";
|
||||
|
||||
|
||||
// System parameters
|
||||
image_path_virtual = "../" + custpath + "/photos/";
|
||||
|
||||
|
||||
// ALG
|
||||
photo_kenmerk_key = 3;
|
||||
|
||||
// General settings
|
||||
currency_pref = '<27> ';
|
||||
|
||||
prs_max_dep_level = 1;
|
||||
// Module settings
|
||||
prs_dep_all = true; // allow attaching persons on all department level { true | false }
|
||||
prs_dep_string = "d.PRS_AFDELING_NAAM1";
|
||||
|
||||
prs_kpn_string =" k.prs_kostenplaats_nr";
|
||||
prs_werkplek_implicit = 1; // Are workplaces treated as separate entitities (0) or implicitly/invisible used in person-room relations(1)
|
||||
prs_collegas_used = 1; // Can FE users indicate collegues for replacement (1) or not (0)
|
||||
|
||||
mld_same_mld_days = 1; // in days
|
||||
// mld_fe_force_vakgroep = 1;
|
||||
mld_ask_for_orders = false; // ask for immediate order input after call entry { true | false }
|
||||
mld_use_order_approval = 0; // Approval mechanism is used for mld orders (0=disabled | 1=enabled)
|
||||
mld_enable_workflow = 1; // enable workflow in call handling {0=workflow disabled | 1=workflow enabled }
|
||||
mld_order_autoprint = 0; // orders will be printed {0=print only at insert | 1=print with any save}
|
||||
mld_bo_sort_descending = 1; // Sort ordering of mld_melding for BO (0 = most urgent first | 1 = last made first );
|
||||
|
||||
//RES
|
||||
res_h = 0.25; // reservation interval (hours)
|
||||
res_expire = 0; // After this number of days user can't edit reservation
|
||||
res_reservering_limiet = 547; // max reserving date (days) = today + 18 maanden
|
||||
res_catExpire = 1;
|
||||
t_catExpire_limit = "18:00"; // Tijdstip waarna het niet meer mogelijk is door de FrontEnd catering aanpassingen te maken (-1 = geen tijdswaarde)
|
||||
res_t1 = 7; // reservation day start (hour)
|
||||
res_t2 = 22; // reservation day end (hour)
|
||||
res_fe_show_plantooltip = 1;
|
||||
|
||||
// planbordlink
|
||||
// http://dit03/facilitorwork/default.asp?fac_id=hsum&logging=255&login=GAST&Jumpto=res_fo/default.asp?jumped=1%26frontend=%26restype=R
|
||||
|
||||
//BEZ
|
||||
vis_badgeprint_enable = 0; // print {0=no | 1=print at check in | 2=show print button}
|
||||
vis_afspraak_onrgoed_uses_keys = 1;// listboxes location until room instead of only a room text field; INITIEEL INRICHTEN (BEZ-tabellen leeg)!
|
||||
vis_afspraak_host_uses_keys = 1; // the field "Bezoek voor" is a listbox (1 = true) otherwise a textfield; INITIEEL INRICHTEN (BEZ-tabellen leeg)!
|
||||
vis_bo_uses_badgenrs = 1; // the BO enters and uses badgenr registration { 0=no | 1=yes }
|
||||
vis_afspraak_limiet = 183; // max number of days from now that visitors are allowed, in past or future {-1 = no limit}
|
||||
vis_t2 = 22; // visitors day end (hour)
|
||||
vis_mandatory_alg_level = 'G'; // alg level 'L' (location), 'G' (building, 'V' (floor) or 'R' (room)
|
||||
|
||||
|
||||
|
||||
%>
|
||||
<!-- #include file="custenv.inc" -->
|
||||
|
||||
0
CUST/BOFO/infobord/.gitignore
vendored
22
CUST/BOFO/infobord/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script language="javascript">
|
||||
function doVk(kamer) {
|
||||
var s = "./infobordvk.asp?vk="+kamer+"&refreshrate=300";
|
||||
window.navigate(s);
|
||||
}
|
||||
</script>
|
||||
<p>Overzicht van verkoopkamers:</p>
|
||||
<table>
|
||||
<tr><td onclick="javascript:doVk('1.102');">Barentsz [1.102]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.103');">Tasman [1.103]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.104');">Cook [1.104]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.114');">Columbus [1.114]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.115');">Marco Polo [1.115]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.116');">Da Vinci [1.116]</td></tr>
|
||||
<tr><td onclick="javascript:doVk('1.117');">Armstrong [1.117]</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
71
CUST/BOFO/infobord/infobordvk.asp
Normal file
@@ -0,0 +1,71 @@
|
||||
<%@ language = "JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 21-01-10 21:29 $
|
||||
File: infobordvk.asp
|
||||
Description: A deeplink call to display information on the infobord
|
||||
Parameters:
|
||||
vk verkoopkamer: the number of the verkoopkamer
|
||||
Context:
|
||||
Note:
|
||||
*/ %>
|
||||
|
||||
<%
|
||||
Response.Expires=0;
|
||||
Session("customerId") = 'BOFO';
|
||||
Session("user_key") = 3;
|
||||
%>
|
||||
|
||||
<!-- #include file="../../../appl/Shared/username.inc" -->
|
||||
<!-- #include file="../../../cust/install.inc" -->
|
||||
<!-- #include file="../../../appl/Shared/funcodes.inc" -->
|
||||
<!-- #include file="../../../appl/Shared/date_sql.inc" -->
|
||||
<!-- #include file="../../../appl/Shared/escape.inc" -->
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<%
|
||||
// specific params needed to find the reservation which has to be deleted
|
||||
var vk = Request.QueryString("vk").Count>0?Request.QueryString("vk"):-1;
|
||||
var refreshrate = Request.QueryString("refreshrate").Count>0?parseInt(Request.QueryString("refreshrate"),10):-1;
|
||||
|
||||
// find res_ruimte_key of the verkoopkamer
|
||||
var res_ruimte_key = -1;
|
||||
sql = "SELECT res_ruimte_key"
|
||||
+ " FROM res_ruimte rr"
|
||||
+ " WHERE UPPER(res_ruimte_nr) like UPPER('%["+vk+"]%')"
|
||||
+ " AND rr.res_ruimte_verwijder IS NULL";
|
||||
oRs = Oracle.Execute(sql);
|
||||
if (!oRs.eof) {
|
||||
res_ruimte_key = oRs(0).value;
|
||||
}
|
||||
|
||||
// find the key of the usr_report
|
||||
var fac_usrrap_key = -1;
|
||||
sql = "SELECT fac_usrrap_key"
|
||||
+ " FROM fac_usrrap ur"
|
||||
+ " WHERE UPPER(fac_usrrap_view_name) = UPPER('bofo_v_info_verkoopkamer')";
|
||||
oRs = Oracle.Execute(sql);
|
||||
if (!oRs.eof) {
|
||||
fac_usrrap_key = oRs(0).value;
|
||||
}
|
||||
|
||||
|
||||
%>
|
||||
|
||||
</head>
|
||||
<body leftmargin=0 topmargin=0 onLoad="Loaded();">
|
||||
<script language="javascript">
|
||||
function Loaded()
|
||||
{
|
||||
<% if (fac_usrrap_key == -1 || res_ruimte_key == -1 ) { %>
|
||||
alert ("rapport of ruimte kan niet gevonden worden");
|
||||
<% } else { %>
|
||||
var s = "../../../Appl/usrreport/infobord.asp?rap_key=<%=fac_usrrap_key%>&sqlWhere=res_ruimte_key%3d<%=res_ruimte_key%>&refreshrate=<%=refreshrate%>";
|
||||
window.navigate(s);
|
||||
<% } %>
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</head>
|
||||
BIN
CUST/BOFO/infobord/welkom.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
CUST/BOFO/infobord/welkom_end.jpg
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
CUST/BOFO/infobord/welkom_tile.jpg
Normal file
|
After Width: | Height: | Size: 897 B |
75
CUST/BOFO/mld_statusupdate.asp
Normal file
@@ -0,0 +1,75 @@
|
||||
<%@ language = "JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 20-01-10 14:03 $
|
||||
File: mld_statusupdate.asp
|
||||
Description: A deeplink call from usrrap to update the status of a complain.
|
||||
Parameters:
|
||||
meldingnr Id of the mld_melding
|
||||
Context: Client specific file to handle a actions from the report.
|
||||
Note:
|
||||
*/ %>
|
||||
<%
|
||||
Response.Expires=0;
|
||||
%>
|
||||
|
||||
<!-- #include file="../../appl/Shared/username.inc" -->
|
||||
<!-- #include file="../../appl/cust/install.inc" -->
|
||||
<!-- #include file="../../appl/Shared/funcodes.inc" -->
|
||||
<!-- #include file="../../appl/Shared/date_sql.inc" -->
|
||||
<!-- #include file="../../appl/Shared/escape.inc" -->
|
||||
|
||||
<%
|
||||
function get_par (p) {
|
||||
if (Request.QueryString(p).Count>0) {
|
||||
if (Request.QueryString(p) != '') {
|
||||
return (Request.QueryString(p));
|
||||
}
|
||||
else {
|
||||
return ("leeg");
|
||||
}
|
||||
}
|
||||
else {
|
||||
return ("leeg");
|
||||
}
|
||||
}
|
||||
|
||||
var meldingnr = get_par("meldingnr");
|
||||
var mld_info = get_par("mld_info");
|
||||
var mld_status = get_par("mld_status");
|
||||
|
||||
if (mld_status == 5 || mld_status == "leeg") {
|
||||
if (meldingnr != "leeg") {
|
||||
sql = " UPDATE mld_melding "
|
||||
+ " SET mld_melding_geaccepteerd = sysdate, "
|
||||
+ " mld_melding_afgewezen = null, "
|
||||
+ " mld_melding_geaccepteerd_user = SUBSTR ('" + user_naam + "', 1, 30), "
|
||||
+ " mld_melding_opmerking = '" + (mld_info=="leeg"?"":mld_info) + "'"
|
||||
+ " WHERE mld_melding_key = " + meldingnr
|
||||
+ " AND mld_melding_geaccepteerd IS NULL "
|
||||
+ " AND (mld_stdmelding_key = 79 OR mld_stdmelding_key = 201)"; // ziekmelding or verlofaanvraag
|
||||
|
||||
Oracle.Execute(sql);
|
||||
|
||||
sql = " UPDATE mld_melding "
|
||||
+ " SET mld_melding_afgemeld = SYSDATE, mld_melding_afgemeld_user = " + user_key
|
||||
+ " WHERE mld_melding_key = " + meldingnr
|
||||
+ " AND mld_melding_status = 4 "
|
||||
+ " AND (mld_stdmelding_key = 79 OR mld_stdmelding_key = 201)"; // ziekmelding or verlofaanvraag
|
||||
Oracle.Execute(sql);
|
||||
}
|
||||
}
|
||||
if (mld_status == 1) {
|
||||
sql = " UPDATE mld_melding "
|
||||
+ " SET mld_melding_afgewezen = sysdate, "
|
||||
+ " mld_melding_opmerking = DECODE (mld_melding_opmerking, NULL, '" + mld_info + "', SUBSTR (mld_melding_opmerking || '\n' || '" + mld_info + "', 1, 4000)) "
|
||||
+ " WHERE mld_melding_key = " + meldingnr
|
||||
+ " AND mld_melding_afgewezen IS NULL "
|
||||
+ " AND mld_stdmelding_key = 201"; // ziekmelding or verlofaanvraag
|
||||
Oracle.Execute(sql);
|
||||
}
|
||||
%>
|
||||
<html>
|
||||
<body onLoad="parent.location.reload();">
|
||||
</body>
|
||||
</html>
|
||||
0
CUST/BOFO/photos/.gitignore
vendored
BIN
CUST/BOFO/photos/IMG_2818 Oud.JPG
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
CUST/BOFO/photos/IMG_8271 Verbeelding&Verdieping.JPG
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
CUST/BOFO/photos/IMG_8274 Rietveld&Berlage&VanEijck&Wils.JPG
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
CUST/BOFO/photos/IMG_8282 Duiker.JPG
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
CUST/BOFO/photos/IMG_8285 Dudok.JPG
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
CUST/BOFO/photos/IMG_8289 Dudok&Duiker.JPG
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
CUST/BOFO/photos/IMG_8294 Boardroom.JPG
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
CUST/BOFO/photos/IMG_8297 Barentsz.JPG
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
CUST/BOFO/photos/IMG_8300 Tasman.JPG
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
CUST/BOFO/photos/IMG_8304 Cook.JPG
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
CUST/BOFO/photos/IMG_8307 Columbus.JPG
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
CUST/BOFO/photos/IMG_8311 Amundsen.JPG
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
CUST/BOFO/photos/IMG_8314 Marco Polo.JPG
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
CUST/BOFO/photos/IMG_8316 Da Vinci.JPG
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
CUST/BOFO/photos/IMG_8322 Armstrong.JPG
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
CUST/BOFO/photos/IMG_8325 Bedrijfsrestaurant.JPG
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
CUST/BOFO/photos/xIMG_8294 Boardroom.jpg
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
CUST/BOFO/photos/xIMG_8297 Barentsz.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
CUST/BOFO/photos/xIMG_8300 Tasman.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
CUST/BOFO/photos/xIMG_8304 Cook.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
CUST/BOFO/photos/xIMG_8307 Columbus.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
CUST/BOFO/photos/xIMG_8311 Amundsen.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
CUST/BOFO/photos/xIMG_8314 Marco Polo.jpg
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
CUST/BOFO/photos/xIMG_8316 Da Vinci.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
CUST/BOFO/photos/xIMG_8322 Armstrong.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
0
CUST/BOFO/tasks/.gitignore
vendored
59
CUST/BOFO/tasks/PutOrders.ini
Normal file
@@ -0,0 +1,59 @@
|
||||
// Putorders.ini
|
||||
//
|
||||
// SAMPLE configuration file for Facilitor PutOrders routine.
|
||||
// This routine handles the internal Facilitor orders and notifications queueus and
|
||||
// takes care of sending these messages into the world. It normally is the only way out
|
||||
// for messages from Facilitor
|
||||
//
|
||||
// Several protocols are supported, like e-mail, SMS, FTP, HTTP and XML/SOAP
|
||||
// Its actual behaviour (like which messages are send by what means) is defined
|
||||
// by the applicationmanager using several settings, parameters and XSL stylesheets
|
||||
//
|
||||
// This sample needs to be copied to the ../../CUST/XXXX/Putorders folder, where
|
||||
// all the actual and appropriate settings *need* to be altered on installation.
|
||||
//
|
||||
// $Revision: 1 $
|
||||
// $Modtime: 26-06-09 15:14 $
|
||||
//
|
||||
|
||||
[SYSTEM]
|
||||
// The FULL FYSICAL (LOCAL) PATH to the Facilitor webroot folder (containing a.o. global.asa)
|
||||
FacilitorHome = "c:/inetpub/wwwroot/sm44/facilitorwork/"
|
||||
|
||||
[ADO]
|
||||
ConnectionString = "File Name=..\Oracle.udl "
|
||||
Database_Name = "ORACLE"
|
||||
CustomerId = "BOFO"
|
||||
|
||||
[GENERAL]
|
||||
NotificationInMailBody = "1"
|
||||
;// 0 = as attachments, 1 = in body
|
||||
NotificationXSL = "../xsl/cust.xsl"
|
||||
;// stylesheet to be applied for notifications
|
||||
SubjectPrefix = "Facilitor bestelling: Bestelopdracht nr."
|
||||
// Mail subject prefix for orders (to be followed by ordernr)
|
||||
FromAddress = "facilitair@bouwfonds.nl"
|
||||
;// the fixed From address for Facilitor orders
|
||||
ReplyAddress = "facilitair@bouwfonds.nl"
|
||||
;// optional reply address if that is different from FromAddress
|
||||
LogLevel = 2
|
||||
;// Level of logging (0-3) for troubleshooting purposes
|
||||
ConnectionFlag = 0
|
||||
;// INTERNET_FLAG_PASSIVE = 0x8000000, else = 0
|
||||
UseProxy = 0 ;// 1 = Use Proxy Server (recognizes TIS FTP gateway only), 0 = don't use Proxy
|
||||
ProxyServerIPAddress = "127.0.0.1" ;// Proxy Server IP Address, only used when UseProxy = 1
|
||||
SoapCertificateName = LOCAL_MACHINE\My\it.dijkoraad.nl ;// SOAP Certificate reference
|
||||
;; Minuten
|
||||
NotificationDelay=1
|
||||
UseSenderAsReplyTo=0
|
||||
|
||||
[SMS]
|
||||
SmsAccount = ""
|
||||
;// SMS accountinfo
|
||||
UID = ""
|
||||
PWD = ""
|
||||
ReplyPhone = ""
|
||||
SMSProtocol = ""
|
||||
|
||||
|
||||
|
||||
4
CUST/BOFO/tasks/gen_notify.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
REM Moet gescheduled worden (normaliter 1 keer per uur) om door de applicatiebeheerder
|
||||
REM ingeregelde notificaties te genereren.
|
||||
wscript ..\..\..\utils\gen_notify\gen_notify.js ../oracle.udl BOFO
|
||||
1
CUST/BOFO/tasks/putOrders.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\utils\putOrders\putOrders.exe
|
||||
BIN
CUST/BOFO/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
CUST/BOFO/tmpl_logo.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
0
CUST/BOFO/xsl/.gitignore
vendored
479
CUST/BOFO/xsl/cust.xsl
Normal file
@@ -0,0 +1,479 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision: 1 $', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template match="rapport">
|
||||
<xsl:if test="@view='bofo_v_info_verkoopkamer'">
|
||||
<xsl:variable name="bezoek">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:if test="position()=1">
|
||||
<xsl:if test="BEZOEKERS != 'geen'">ja</xsl:if>
|
||||
<xsl:if test="BEZOEKERS = 'geen'">nee</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="ruimte">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:if test="position()=1">
|
||||
<xsl:value-of select="RES_RUIMTE_NR"/>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
<html>
|
||||
<head>
|
||||
<style>th {
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
td.welkom {
|
||||
padding: 3px;
|
||||
font-family: Verdana;
|
||||
font-size: 60pt;
|
||||
color: #666666;
|
||||
text-align:center;
|
||||
}
|
||||
td.naam {
|
||||
font-family: Verdana;
|
||||
padding: 3px;
|
||||
font-size: 36pt;
|
||||
text-align:center;
|
||||
}
|
||||
td.sub {
|
||||
font-family: Verdana;
|
||||
padding: 3px;
|
||||
font-size: 10pt;
|
||||
text-align:center;
|
||||
height: 10px;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}</style>
|
||||
</head>
|
||||
<body onLoad="parent.Activate();parent.document.body.style.overflow='hidden';">
|
||||
<table height="100%" width="100%" cellpadding="0" cellspacing="0">
|
||||
<!--<tr><td><xsl:value-of select="$bezoek"/></td></tr>-->
|
||||
<xsl:if test="$bezoek='ja'">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:if test="position()=1">
|
||||
<tr height="20">
|
||||
<td align="center" width="100%" background="../../cust/bofo/infobord/welkom_tile.jpg">
|
||||
<img src="../../cust/bofo/infobord/welkom.jpg"/>
|
||||
</td>
|
||||
<td>
|
||||
<img src="../../cust/bofo/infobord/welkom_end.jpg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50%"></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="2" class="naam">
|
||||
<xsl:value-of select="BEZOEKERS"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<tr>
|
||||
<td height="50%" colspan="2"></td>
|
||||
</tr>
|
||||
<tr height="200">
|
||||
<td style="padding-left:30">
|
||||
<img width="600" src="../../cust/bofo/mpimages/bf_logo_ontwikkeling_RGB-kl.jpg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="20" colspan="2"></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$bezoek='nee'">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:element name="iframe">
|
||||
<xsl:attribute name="id">flash</xsl:attribute>
|
||||
<xsl:attribute name="scrolling">no</xsl:attribute>
|
||||
<xsl:attribute name="frameborder">no</xsl:attribute>
|
||||
<xsl:attribute name="width">100%</xsl:attribute>
|
||||
<xsl:attribute name="height">100%</xsl:attribute>
|
||||
<xsl:attribute name="src">../../cust/bofo/infobord/index.asp?ruimte=<xsl:value-of select="$ruimte"/></xsl:attribute>
|
||||
</xsl:element>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@view='bofo_v_rap_ziekmelding'">
|
||||
<table width="100%" class="DefResultsetTable" cellpadding="0" cellspacing="0">
|
||||
<xsl:if test="count(rapport_data/data_row)=0">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<b>Geen gegevens gevonden</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="DATUM_ZIEKMELDING"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Naam</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Datum ziekmelding</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Omschrijving</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Opmerking</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Betermelding</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:element name="tr">
|
||||
<xsl:if test="DATUM_BETERMELDING">
|
||||
<xsl:attribute name="style">background-color: #dddddd</xsl:attribute>
|
||||
</xsl:if>
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="NAAM"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="DATUM_ZIEKMELDING"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:left">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="OMSCHRIJVING"/>
|
||||
</xsl:call-template>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:left">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="OPMERKING"/>
|
||||
</xsl:call-template>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<xsl:if test="DATUM_BETERMELDING">
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="DATUM_BETERMELDING"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
</xsl:if>
|
||||
<xsl:if test="not(DATUM_BETERMELDING)">
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="colspan">2</xsl:attribute>
|
||||
<xsl:attribute name="class">DRR</xsl:attribute>
|
||||
<xsl:attribute name="title">link voor beter melden van <xsl:value-of select="NAAM"/></xsl:attribute>
|
||||
<xsl:attribute name="style">{ cursor: hand; border:none; text-align:left; }</xsl:attribute>
|
||||
<xsl:attribute name="onclick">window.frames.hiddenFrame.navigate('../../cust/bofo/mld_statusupdate.asp?meldingnr=<xsl:value-of select="NUMMER"/>');</xsl:attribute>
|
||||
<u>Beter melden</u>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<iframe src="../Shared/empty.asp" id="hiddenFrame" name="hiddenFrame" style="display:none"></iframe>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:if test="@view='bofo_v_rap_verlof_goedkeuring'">
|
||||
|
||||
<script>
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
function run_afwijzen (p_mld_key) {
|
||||
l_id = 'reden_' + p_mld_key;
|
||||
l_obj = document.getElementById (l_id);
|
||||
window.frames.hiddenFrame.navigate ('../../cust/bofo/mld_statusupdate.asp?meldingnr=' + p_mld_key + '&mld_status=1&mld_info=' + l_obj.value);
|
||||
}
|
||||
</xsl:text>
|
||||
</script>
|
||||
|
||||
<table width="100%" class="DefResultsetTable" cellpadding="0" cellspacing="0">
|
||||
<colgroup>
|
||||
<col width="5%"/>
|
||||
<col width="10%"/>
|
||||
<col width="10%"/>
|
||||
<col width="10%"/>
|
||||
<col width="5%"/>
|
||||
<col width="5%"/>
|
||||
<col width="20%"/>
|
||||
<col width="30%"/>
|
||||
</colgroup>
|
||||
|
||||
<xsl:if test="count(rapport_data/data_row)=0">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<b>Geen gegevens gevonden</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="NAAM"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Nummer</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Naam</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Van</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Tot en met</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">ATV</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Omschrijving</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Accepteren / Afwijzen / Details</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<tr>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="MLD_MELDING_KEY"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="NAAM"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="VAN"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="TOT"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="VAK"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:value-of select="ATV"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="OMSCHRIJVING"/>
|
||||
</xsl:call-template>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td class="DRR" style="text-align:left">
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="colspan">2</xsl:attribute>
|
||||
<xsl:attribute name="class">DRR</xsl:attribute>
|
||||
<xsl:attribute name="title">link voor accepteren verlof aanvraag</xsl:attribute>
|
||||
<xsl:attribute name="style">{ cursor: hand; border:none; text-align:right; }</xsl:attribute>
|
||||
<xsl:attribute name="onclick">window.frames.hiddenFrame.navigate('../../cust/bofo/mld_statusupdate.asp?meldingnr=<xsl:value-of select="MLD_MELDING_KEY"/>&mld_status=5');</xsl:attribute>
|
||||
<u>Accepteren</u>
|
||||
</xsl:element>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="class">DRR</xsl:attribute>
|
||||
<xsl:attribute name="style">{ border:none; }</xsl:attribute>
|
||||
<xsl:element name="input">
|
||||
<xsl:attribute name="id">reden_<xsl:value-of select="MLD_MELDING_KEY"/></xsl:attribute>
|
||||
<xsl:attribute name="type">text</xsl:attribute>
|
||||
<xsl:attribute name="size">40</xsl:attribute>
|
||||
<xsl:attribute name="maxlength">100</xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
<xsl:element name="td">
|
||||
<xsl:attribute name="class">DRR</xsl:attribute>
|
||||
<xsl:attribute name="title">link voor afwijzen ICT aanvraag</xsl:attribute>
|
||||
<xsl:attribute name="style">{ cursor: hand; border:none; text-align:right; }</xsl:attribute>
|
||||
<xsl:attribute name="onclick">run_afwijzen (<xsl:value-of select="MLD_MELDING_KEY"/>)</xsl:attribute>
|
||||
<u>Afwijzen</u>
|
||||
</xsl:element>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<iframe src="../Shared/empty.asp" id='hiddenFrame' name='hiddenFrame' style='display:none'></iframe>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:if test="@view='bofo_v_rap_verlof_totaal'">
|
||||
<table width="100%" class="DefResultsetTable" cellpadding="0" cellspacing="0">
|
||||
<xsl:if test="count(rapport_data/data_row)=0">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<b>Geen gegevens gevonden</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="FCLT_F_NAAM"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" rowspan="2" style="text-align:left">Naam</th>
|
||||
<th class="DefResultsetHeading" colspan="2" style="text-align:center">Beginstand</th>
|
||||
<th class="DefResultsetHeading" colspan="2" style="text-align:center">Aangevraagd</th>
|
||||
<th class="DefResultsetHeading" colspan="2" style="text-align:center">Goedgekeurd</th>
|
||||
<th class="DefResultsetHeading" colspan="2" style="text-align:center">Saldo</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">ATV</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">ATV</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">ATV</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">ATV</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:element name="tr">
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="FCLT_F_NAAM"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="BEGIN_V"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="BEGIN_A"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="AANGEVR_V"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="AANGEVR_A"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="GOEDGEK_V"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="GOEDGEK_A"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="SALDO_V"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="SALDO_A"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:if test="@view='bofo_v_rap_verlof_detail' or @view='bofo_v_rap_verlof_medew'">
|
||||
<table width="100%" class="DefResultsetTable" cellpadding="0" cellspacing="0">
|
||||
<xsl:if test="count(rapport_data/data_row)=0">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<b>Geen gegevens gevonden</b>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:variable name="sorted">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:sort select="FCLT_F_NAAM"/>
|
||||
<xsl:sort select="HIDE_F_OFFSET" data-type="number" order="descending"/>
|
||||
<xsl:copy-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:for-each select="msxml:node-set($sorted)/data_row">
|
||||
|
||||
<xsl:variable name="prev_naam">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">Quqelequ</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="preceding-sibling::data_row[1]/FCLT_F_NAAM"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="FCLT_F_NAAM != $prev_naam and position() != 1">
|
||||
<tr>
|
||||
<td style="background-color:#ffffff;"> </td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="position() = 1 or FCLT_F_NAAM != $prev_naam">
|
||||
<tr>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Naam</th>
|
||||
<th class="DefResultsetHeading" style="text-align:left">Status</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Van</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Tot en met</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">Vakantie</th>
|
||||
<th class="DefResultsetHeading" style="text-align:center">ATV</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
|
||||
<xsl:element name="tr">
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="FCLT_F_NAAM"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:left">
|
||||
<xsl:value-of select="STATUS"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="VAN"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="TOT"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="VAK"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
<td style="text-align:right">
|
||||
<xsl:value-of select="ATV"/>
|
||||
<xsl:if test="$mode != 'excel'"> </xsl:if>
|
||||
</td>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\reportsCache\BOFOrapport102.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
17
CUST/CWTD/Import/gen_import.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
[ADO]
|
||||
ConnectionString = "File Name=..\Oracle.udl"
|
||||
Database_Name = "ORACLE"
|
||||
|
||||
[SYSTEM]
|
||||
Loglevel = "1"
|
||||
User = 'CWTD'
|
||||
|
||||
[PERSOON]
|
||||
LocalPath =.
|
||||
ImportFilePrefix = 'NAW'
|
||||
ImportFilePostfix = '.csv'
|
||||
BackupFileTimeStamp = '-yymmdd'
|
||||
LogFilePostfix = '.log'
|
||||
|
||||
|
||||
|
||||
10
CUST/CWTD/Import/import_prs.bat
Normal file
@@ -0,0 +1,10 @@
|
||||
REM NET USE O: \\hvs-dat-nas1\facp.www$
|
||||
REM O:
|
||||
REM cd fpp\cust\logi\import
|
||||
|
||||
..\..\..\utils\gen_import\gen_import.exe PERSOON
|
||||
|
||||
pause
|
||||
|
||||
REM C:
|
||||
REM NET USE O: /DELETE
|
||||
0
CUST/CWTD/Tasks/.gitignore
vendored
71
CUST/CWTD/Tasks/PutOrders.ini
Normal file
@@ -0,0 +1,71 @@
|
||||
// Putorders.ini
|
||||
//
|
||||
// SAMPLE configuration file for Facilitor PutOrders routine.
|
||||
// This routine handles the internal Facilitor orders and notifications queueus and
|
||||
// takes care of sending these messages into the world. It normally is the only way out
|
||||
// for messages from Facilitor
|
||||
//
|
||||
// Several protocols are supported, like e-mail, SMS, FTP, HTTP and XML/SOAP
|
||||
// Its actual behaviour (like which messages are send by what means) is defined
|
||||
// by the applicationmanager using several settings, parameters and XSL stylesheets
|
||||
//
|
||||
// This sample needs to be copied to the ../../CUST/XXXX/Putorders folder, where
|
||||
// all the actual and appropriate settings *need* to be altered on installation.
|
||||
//
|
||||
// $Revision: 1 $
|
||||
// $Modtime: 27-04-08 22:14 $
|
||||
//
|
||||
|
||||
[SYSTEM]
|
||||
// The FULL FYSICAL (LOCAL) PATH to the Facilitor webroot folder (containing a.o. global.asa)
|
||||
FacilitorHome = "c:/websites/facilitor/cwtd/cust/cwtd/"
|
||||
|
||||
[ADO]
|
||||
ConnectionString = "File Name=..\Oracle.udl "
|
||||
Database_Name = "ORACLE"
|
||||
CustomerId = "CWTD"
|
||||
|
||||
[GENERAL]
|
||||
;// 0 = as attachments, 1 = in body
|
||||
NotificationInMailBody = "1"
|
||||
;// stylesheet to be applied for notifications
|
||||
NotificationXSL = "../xsl/cust.xsl"
|
||||
;// Mail subject prefix for orders (to be followed by ordernr)
|
||||
SubjectPrefix = "Facilitor bestelling: Bestelopdracht nr."
|
||||
;// the fixed From address for Facilitor orders
|
||||
FromAddress = "no_reply@cwt.nl"
|
||||
;// optional reply address if that is different from FromAddress
|
||||
ReplyAddress = "no_reply@cwt.nl"
|
||||
;// Level of logging (0-3) for troubleshooting purposes
|
||||
LogLevel = 3
|
||||
;// INTERNET_FLAG_PASSIVE = 0x8000000, else = 0
|
||||
ConnectionFlag = 0
|
||||
;// 1 = Use Proxy Server (recognizes TIS FTP gateway only), 0 = don't use Proxy
|
||||
UseProxy = 0
|
||||
;// Proxy Server IP Address, only used when UseProxy = 1
|
||||
ProxyServerIPAddress = ""
|
||||
;// SOAP Certificate reference
|
||||
SoapCertificateName = LOCAL_MACHINE\My\it.dijkoraad.nl
|
||||
;; Minuten
|
||||
NotificationDelay=1
|
||||
LogDestination = 3
|
||||
EmergencyMailAddress = "a.egberink@sgfacilitor.nl"
|
||||
CustOrders = 1
|
||||
; // force this email address for test purposes
|
||||
; //ForceMailAddress = "aeg@it.dijkoraad.nl"
|
||||
; // force this order address for test purposes
|
||||
; //ForceOrderAddress = "mailto:aeg@it.dijkoraad.nl"
|
||||
; // force this mobile number for test purposes
|
||||
ForceMobile = "31651193520"
|
||||
UseSenderAsReplyTo=1
|
||||
|
||||
[SMS]
|
||||
SmsAccount = ""
|
||||
;// SMS accountinfo
|
||||
UID = ""
|
||||
PWD = ""
|
||||
ReplyPhone = ""
|
||||
SMSProtocol = ""
|
||||
|
||||
|
||||
|
||||
4
CUST/CWTD/Tasks/gen_notify.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
REM Moet gescheduled worden (normaliter 1 keer per uur) om door de applicatiebeheerder
|
||||
REM ingeregelde notificaties te genereren.
|
||||
wscript ..\..\..\utils\gen_notify\gen_notify.js ../oracle.udl CWTD
|
||||
4
CUST/CWTD/Tasks/gen_scheduler.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
REM Moet gescheduled worden (normaliter 1 keer per dag) om door de applicatiebeheerder
|
||||
REM ingeregelde jobs (aanmaak van periodieke opdrachten) uit te voeren.
|
||||
wscript ..\..\..\utils\gen_scheduler\gen_scheduler.js ../oracle.udl
|
||||
1
CUST/CWTD/Tasks/putOrders.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\utils\putOrders\putOrders.exe
|
||||
11
CUST/CWTD/cust.css
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* $Revision: 1 $
|
||||
* $Modtime: 21-01-10 22:07 $
|
||||
*/
|
||||
#headerblok
|
||||
{
|
||||
background: url(fac_head.gif) no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
background-position: 0px 0px;
|
||||
color: #000002;
|
||||
}
|
||||
52
CUST/CWTD/cust.inc
Normal file
@@ -0,0 +1,52 @@
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 21-01-10 22:09 $
|
||||
*/ %>
|
||||
<%
|
||||
var customerId = "CWTD";
|
||||
|
||||
// This is THE place to define customer specific *overrules* for the standard Facilitor application texts.
|
||||
// Handle with care!
|
||||
|
||||
// System parameters
|
||||
|
||||
prs_max_dep_level = 1; // number of levels between prs_bedijf and prs_perslid (max = 5)
|
||||
|
||||
prs_dep_all = true; // allow attaching persons on all department level { true | false }
|
||||
prs_werkplek_implicit = 1; // Are workplaces treated as separate entitities (0) or implicitly/invisible used in preson-room relations(1)
|
||||
prs_dep_string = "d.prs_afdeling_naam1";
|
||||
|
||||
//MLD
|
||||
mld_order_autoprint = 0; // orders will be printed {0=print only at insert | 1=print with any save}
|
||||
mld_ord_show_cost = 1; // use standard cost fields for orders {0=don't use | 1=use}
|
||||
mld_close_mld_auto = 1; // Close call automatically (no question) when last order is closed (0=question 1=auto)
|
||||
mld_close_opdr_auto = 1; // Show popup with question to close all orders (0=no closing of orders 1=question)
|
||||
mld_same_mld_days = 1; // in days
|
||||
mld_use_order_approval = 0; // Approval mechanism is used for mld orders (0=disabled | 1=enabled)
|
||||
|
||||
//RES
|
||||
descipt_obligation=true; // oblige input in description field
|
||||
res_block = 0.5; // reservation block span (hours)
|
||||
res_dur = 1; // initial reserving duration (hours)
|
||||
// room-reservations, times in days
|
||||
res_expire = 0; // 'last minute': After this FE cannot change
|
||||
res_catExpire = 1; // 'last minute': After this FE cannot change catering
|
||||
res_h = 0.25; // reservation interval (hours)
|
||||
res_default_fo_status_key = 2; // Default reservation status for FO
|
||||
res_t1 = 8; // reservation day start (hour)
|
||||
res_t2 = 22; // reservation day end (hour)
|
||||
res_bo_show_telnr = 0; // Show telephonenumber column in res bo list (0=no show | 1=show)
|
||||
res_fe_edit_option_only=0; // FE can only edit 'Optional' reservations
|
||||
|
||||
//BEZ
|
||||
vis_t2 = 20; // visitors day end (hour)
|
||||
vis_parking_key = 82; // which res_discipline_key (cataloge) should be used for parking places
|
||||
vis_afspraak_onrgoed_uses_keys=1; // listboxes location until room instead of only a room text field
|
||||
vis_afspraak_host_uses_keys = 1; // the field "Bezoek voor" is a listbox (1 = true) otherwise a textfield
|
||||
vis_bo_search_host = 1; // Show field 'Host' for VIS BO to search on
|
||||
vis_park_pretime = 0.25; // Extra park time before an appointment
|
||||
vis_park_posttime = 0.25; // Extra park time after an appointment
|
||||
vis_badgeprint_enable = 0; // print {0=no | 1=print at check in | 2=show print button}
|
||||
|
||||
%>
|
||||
<!-- #include file="custenv.inc" -->
|
||||
BIN
CUST/CWTD/fac_head.gif
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
0
CUST/CWTD/login_script/.gitignore
vendored
172
CUST/CWTD/login_script/Facilitor_login.html
Normal file
@@ -0,0 +1,172 @@
|
||||
<!--
|
||||
$Revision: 1 $
|
||||
$Modtime: 22-04-08 14:05 $
|
||||
|
||||
Dit bestand maakt het mogelijk voor gebruikers van Facilityplace
|
||||
om via SingleSignOn toegang te krijgen.
|
||||
-->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<script language="javascript">
|
||||
|
||||
var Base64 = {
|
||||
|
||||
// private property
|
||||
_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
||||
|
||||
// public method for encoding
|
||||
encode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = Base64._utf8_encode(input);
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
chr1 = input.charCodeAt(i++);
|
||||
chr2 = input.charCodeAt(i++);
|
||||
chr3 = input.charCodeAt(i++);
|
||||
|
||||
enc1 = chr1 >> 2;
|
||||
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
|
||||
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
|
||||
enc4 = chr3 & 63;
|
||||
|
||||
if (isNaN(chr2)) {
|
||||
enc3 = enc4 = 64;
|
||||
} else if (isNaN(chr3)) {
|
||||
enc4 = 64;
|
||||
}
|
||||
|
||||
output = output +
|
||||
this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
|
||||
this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
|
||||
|
||||
}
|
||||
|
||||
return output;
|
||||
},
|
||||
|
||||
// public method for decoding
|
||||
decode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3;
|
||||
var enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
enc1 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc2 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc3 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc4 = this._keyStr.indexOf(input.charAt(i++));
|
||||
|
||||
chr1 = (enc1 << 2) | (enc2 >> 4);
|
||||
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
|
||||
chr3 = ((enc3 & 3) << 6) | enc4;
|
||||
|
||||
output = output + String.fromCharCode(chr1);
|
||||
|
||||
if (enc3 != 64) {
|
||||
output = output + String.fromCharCode(chr2);
|
||||
}
|
||||
if (enc4 != 64) {
|
||||
output = output + String.fromCharCode(chr3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
output = Base64._utf8_decode(output);
|
||||
|
||||
return output;
|
||||
|
||||
},
|
||||
|
||||
// private method for UTF-8 encoding
|
||||
_utf8_encode : function (string) {
|
||||
string = string.replace(/\r\n/g,"\n");
|
||||
var utftext = "";
|
||||
|
||||
for (var n = 0; n < string.length; n++) {
|
||||
|
||||
var c = string.charCodeAt(n);
|
||||
|
||||
if (c < 128) {
|
||||
utftext += String.fromCharCode(c);
|
||||
}
|
||||
else if((c > 127) && (c < 2048)) {
|
||||
utftext += String.fromCharCode((c >> 6) | 192);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
else {
|
||||
utftext += String.fromCharCode((c >> 12) | 224);
|
||||
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return utftext;
|
||||
},
|
||||
|
||||
// private method for UTF-8 decoding
|
||||
_utf8_decode : function (utftext) {
|
||||
var string = "";
|
||||
var i = 0;
|
||||
var c = c1 = c2 = 0;
|
||||
|
||||
while ( i < utftext.length ) {
|
||||
|
||||
c = utftext.charCodeAt(i);
|
||||
|
||||
if (c < 128) {
|
||||
string += String.fromCharCode(c);
|
||||
i++;
|
||||
}
|
||||
else if((c > 191) && (c < 224)) {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
|
||||
i += 2;
|
||||
}
|
||||
else {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
c3 = utftext.charCodeAt(i+2);
|
||||
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
|
||||
i += 3;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<script language="vbscript">
|
||||
Function myUID ()
|
||||
Dim USRID, WSHShell, blnWriteOK
|
||||
Set WSHShell = CreateObject("WScript.Shell")
|
||||
For Each strEnv In WshShell.Environment("PROCESS")
|
||||
If left(strEnv,8)="USERNAME" then
|
||||
USRID= mid(strEnv,10)
|
||||
document.all.UID.value = Base64.encode(USRID)
|
||||
End If
|
||||
Next
|
||||
myUID = USRID
|
||||
End Function
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="myUID();document.all.facilitor.submit();">
|
||||
<form name="facilitor" action="http://cwtd.facilityplace.nl/default.asp?fac_id=cwtd" method=post>
|
||||
<input type="hidden" name="UID" value="">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
31
CUST/CWTD/login_script/facilitor_login.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
|
||||
|
||||
/*
|
||||
$Revision: 2 $
|
||||
$Modtime: 13-03-08 16:19 $
|
||||
*/
|
||||
|
||||
$user = '';
|
||||
$user_enc = '';
|
||||
|
||||
$user = '' . $_SERVER['REMOTE_USER'];
|
||||
if ($user =='' || $user=='undefined') {
|
||||
$user = '' . $_SERVER['HTTP_USER'];
|
||||
if ($user =='' || $user=='undefined') {
|
||||
$user = 'NietGevonden';
|
||||
}
|
||||
}
|
||||
$user_enc = base64_encode($user);
|
||||
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.all.facilitor.submit();">
|
||||
<form name="facilitor" action="http://cwtd.facilityplace.nl/default.asp?fac_id=cwtd" method=post>
|
||||
<input type="hidden" name="UID" value="<? echo $user_enc ?>">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
BIN
CUST/CWTD/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
0
CUST/CWTD/xsl/.gitignore
vendored
148
CUST/CWTD/xsl/cXML.xsl
Normal file
@@ -0,0 +1,148 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output method="xml" encoding="UTF-8"/>
|
||||
|
||||
<xsl:decimal-format name="european" decimal-separator='.' grouping-separator=',' />
|
||||
|
||||
<xsl:param name="mode"/>
|
||||
|
||||
<xsl:template match="bestelopdracht">
|
||||
<xsl:comment>Facilitor custom XSL template for cXML bestelopdracht</xsl:comment>
|
||||
<xsl:element name="cXML">
|
||||
<xsl:attribute name="payloadID"><xsl:value-of select="datum/timestamp"/>@http://mycomp.com</xsl:attribute>
|
||||
<xsl:attribute name="timestamp">2006-05-10T12:41:47+01:00</xsl:attribute>
|
||||
<xsl:attribute name="xml:lang">NL</xsl:attribute>
|
||||
<Header>
|
||||
<From>
|
||||
<Credential domain="Facilitor" type="marketplace">
|
||||
<Identity>order@facilityplace.nl</Identity>
|
||||
</Credential>
|
||||
</From>
|
||||
<To>
|
||||
<xsl:element name="Credential">
|
||||
<xsl:attribute name="domain"><xsl:value-of select="bedrijf/naam"/></xsl:attribute>
|
||||
<Identity>8712423002180</Identity>
|
||||
</xsl:element>
|
||||
</To>
|
||||
<Sender>
|
||||
<Credential domain="Facilitor">
|
||||
<Identity>order@facilityplace.nl</Identity>
|
||||
</Credential>
|
||||
<UserAgent></UserAgent>
|
||||
</Sender>
|
||||
</Header>
|
||||
<Request deploymentMode="test">
|
||||
<OrderRequest>
|
||||
<xsl:element name="OrderRequestHeader">
|
||||
<xsl:attribute name="orderID"><xsl:value-of select="id"/></xsl:attribute>
|
||||
<xsl:attribute name="orderDate"><xsl:value-of select="/facilitor/bestelopdracht/datum/jaar"/>-<xsl:value-of select="/facilitor/bestelopdracht/datum/maand"/>-<xsl:value-of select="/facilitor/bestelopdracht/datum/dag"/></xsl:attribute>
|
||||
<xsl:attribute name="type">new</xsl:attribute>
|
||||
<Total>
|
||||
<Money currency="EUR"><xsl:value-of select="format-number(sum(bestelopdrachtitem/totaal), '0.00', 'european')"/></Money>
|
||||
</Total>
|
||||
<ShipTo>
|
||||
<xsl:element name="Address">
|
||||
<xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute>
|
||||
<Name xml:lang="NL">Carlson Wagonlit Travel (<xsl:value-of select="afleveradres/naam"/>)</Name>
|
||||
<PostalAddress name="default">
|
||||
<DeliverTo><xsl:value-of select="bestelling/aanvrager/naam_full"/></DeliverTo>
|
||||
<DeliverTo><xsl:value-of select="bestelling/plaats"/></DeliverTo>
|
||||
<Street><xsl:value-of select="afleveradres/bezoek_adres"/></Street>
|
||||
<City><xsl:value-of select="afleveradres/bezoek_plaats"/></City>
|
||||
<State></State>
|
||||
<PostalCode><xsl:value-of select="afleveradres/bezoek_postcode"/></PostalCode>
|
||||
<Country isoCountryCode="NL">Netherlands</Country>
|
||||
</PostalAddress>
|
||||
</xsl:element>
|
||||
</ShipTo>
|
||||
<BillTo>
|
||||
<xsl:element name="Address">
|
||||
<xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute>
|
||||
<Name xml:lang="NL">Carlson Wagonlit Travel</Name>
|
||||
<PostalAddress name="default">
|
||||
<Street><xsl:value-of select="factuuradres/post_adres"/></Street>
|
||||
<City><xsl:value-of select="factuuradres/post_plaats"/></City>
|
||||
<State></State>
|
||||
<PostalCode><xsl:value-of select="factuuradres/post_postcode"/></PostalCode>
|
||||
<Country isoCountryCode="NL">Netherlands</Country>
|
||||
</PostalAddress>
|
||||
</xsl:element>
|
||||
</BillTo>
|
||||
<Payment>
|
||||
<PCard/>
|
||||
</Payment>
|
||||
<Extrinsic name="Costcenter"><xsl:value-of select='bestelling/kostenplaats/nr'/></Extrinsic>
|
||||
<xsl:for-each select="bestelling/kenmerk">
|
||||
<xsl:if test="@type!='Q' and @type!='L'">
|
||||
<xsl:element name="Extrinsic">
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="@naam"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="."/>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:element>
|
||||
<xsl:for-each select="bestelopdrachtitem">
|
||||
<xsl:sort select="srtdeel/omschrijving"/>
|
||||
<xsl:sort select="posnr"/>
|
||||
|
||||
<xsl:element name="ItemOut">
|
||||
<xsl:attribute name="quantity"><xsl:value-of select='aantal'/></xsl:attribute>
|
||||
<xsl:attribute name="lineNumber"><xsl:value-of select='posnr'/></xsl:attribute>
|
||||
<ItemID>
|
||||
<SupplierPartID><xsl:value-of select='bestelitem/srtdeel/artikel_nummer'/></SupplierPartID>
|
||||
</ItemID>
|
||||
<ItemDetail>
|
||||
<UnitPrice>
|
||||
<Money currency="EUR"><xsl:value-of select='prijs'/></Money>
|
||||
</UnitPrice>
|
||||
<Description xml:lang="NL"><xsl:value-of select='bestelitem/srtdeel/omschrijving'/></Description>
|
||||
<UnitOfMeasure><xsl:value-of select='bestelitem/srtdeel/eenheid'/></UnitOfMeasure>
|
||||
<Classification domain="SPSC">12345</Classification>
|
||||
<xsl:for-each select="bestelitem/kenmerk">
|
||||
<xsl:if test="@type!='Q' and @type!='L'">
|
||||
<xsl:element name="Extrinsic">
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="@naam"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="."/>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</ItemDetail>
|
||||
<Comments xml:lang="NL">
|
||||
<xsl:for-each select="bestelitem/kenmerk">
|
||||
<br/><xsl:value-of select="@naam"/>: <xsl:value-of select="."/>
|
||||
</xsl:for-each>
|
||||
</Comments>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</OrderRequest>
|
||||
</Request>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="facilitor">
|
||||
<xsl:apply-templates select="bestelopdracht"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$mode='getExtension'">
|
||||
<xsl:element name='format'>
|
||||
<xsl:element name='extension'>xml</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
||||
<xsl:apply-templates select="facilitor"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\reportsCache\CWTDbestelopdr101.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
335
CUST/CWTD/xsl/cust.xsl
Normal file
@@ -0,0 +1,335 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:import href="../../../Appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision: 1 $', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template match="opdracht" mode="include">
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td colspan="4" class="caption" style="padding-top:20px;padding-bottom:20px">
|
||||
<b>
|
||||
<xsl:value-of select="opdrachttype/omschrijving"/> 
|
||||
<xsl:value-of select="melding/discipline/srtdiscipline/prefix"/>
|
||||
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/></b>
|
||||
<xsl:if test="geprint = 1">(kopie)</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%"/>
|
||||
<td width="34%"/>
|
||||
<td width="16%" align="right">
|
||||
<b>Bedrijf:</b>
|
||||
</td>
|
||||
<td width="34%">
|
||||
<xsl:value-of select="uitvoerende/bedrijf/naam"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Contactpersoon:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="contactpersoon/naam_full"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Telefoon:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="contactpersoon/telefoon1"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Adres:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="uitvoerende/bedrijf/post_adres"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Plaats:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="uitvoerende/bedrijf/post_plaats"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Contactpersoon:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="backoffice_contact/naam_full"/>
|
||||
</td>
|
||||
<td colspan="2"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Telefoon:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="backoffice_contact/telefoonnr"/>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b>Kostenplaats:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="kostenplaats/nr"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="melding/kenmerk[@naam='Ordernr']!=''">
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Ordernr:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="melding/kenmerk[@naam='Ordernr']"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Datum gereed:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="datumgereed/datum"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Datum verzonden:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="datumverzonden/datum"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Status:</b>
|
||||
</td>
|
||||
<td align="left">
|
||||
<xsl:value-of select="status"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" valign="top">
|
||||
<b>Omschrijving:</b>
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" align="center">
|
||||
<table width="100%" style="background-color:#EEEEEE;border: 1px solid blue">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:apply-templates select="melding" mode="include"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:variable name="arbeid" select="uren*uurloon"/>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<b>Uren:</b>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="uren"/>
|
||||
<b> à </b>€ <xsl:value-of select="format-number(uurloon, '0,00', 'european')"/></td>
|
||||
<td align="right">
|
||||
<b>Arbeid:</b>
|
||||
</td>
|
||||
<td style="width:1in;text-align:right">€ <xsl:value-of select="format-number($arbeid, '0,00', 'european')"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Materiaal:</b>
|
||||
</td>
|
||||
<td style="width:1in;text-align:right">€ <xsl:value-of select="format-number(materiaal, '0,00', 'european')"/></td>
|
||||
</tr>
|
||||
<xsl:variable name="correctie0" select="$arbeid + materiaal"/>
|
||||
<xsl:variable name="correctie" select="kosten - $correctie0"/>
|
||||
<xsl:if test="$correctie!=0">
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Correctie:</b>
|
||||
</td>
|
||||
<td style="width:1in;text-align:right">€ <xsl:value-of select="format-number($correctie, '0,00', 'european')"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="2"/>
|
||||
<td align="right">
|
||||
<b>Totaal:</b>
|
||||
</td>
|
||||
<td style="width:1in;text-align:right">
|
||||
<b>€ <xsl:value-of select="format-number(kosten, '0,00', 'european')"/></b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
||||
<xsl:template match="bestelling" mode="include">
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
||||
<TR>
|
||||
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
|
||||
<TD>
|
||||
<table border="0" width="100%" bordercolor="#000000">
|
||||
<tr>
|
||||
<td align="left" width="100%" class="caption" colspan="2">Bestelaanvraag <xsl:value-of select="key"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Aanvrager</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="aanvrager/naam_full"/></td>
|
||||
</tr>
|
||||
<xsl:if test="string(aanvrager/email)!=''">
|
||||
<tr>
|
||||
<td class="label">E-mail</td>
|
||||
<td class="value">: <xsl:value-of select="aanvrager/email"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="aanvrager/telefoonnr!=''">
|
||||
<tr>
|
||||
<td class="label">Telefoon</td>
|
||||
<td class="value">: <xsl:value-of select="aanvrager/telefoonnr"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td class="label">Afdeling</td>
|
||||
<td class="value">:
|
||||
<xsl:if test="aanvrager/afdeling/omschrijving=''">-</xsl:if>
|
||||
<xsl:value-of select="aanvrager/afdeling/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Kostenplaats</td>
|
||||
<td class="value">:
|
||||
<xsl:if test="kostenplaats/nr=''">-</xsl:if>
|
||||
<xsl:value-of select="kostenplaats/nr"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Ingevoerd door</td>
|
||||
<td class="value">:
|
||||
<xsl:value-of select="invoerder/naam_full"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="20px"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Aanvraagdatum</td>
|
||||
<td class="value">:
|
||||
<xsl:value-of select="datum/datum"/> 
|
||||
<xsl:value-of select="datum/tijd"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Aanvraagstatus</td>
|
||||
<td class="value">: <xsl:value-of select="status"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" style="vertical-align:top">Afleveradres</td>
|
||||
<td class="value">:
|
||||
<xsl:value-of select="afleveradres/naam"/>
|
||||
<br/> 
|
||||
<xsl:value-of select="afleveradres/bezoek_adres"/>
|
||||
<br/> 
|
||||
<xsl:value-of select="afleveradres/bezoek_postcode"/> 
|
||||
<xsl:value-of select="afleveradres/bezoek_plaats"/>
|
||||
<br/> 
|
||||
<xsl:value-of select="afleveradres/bezoek_land"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="20px"/>
|
||||
</tr>
|
||||
<xsl:for-each select="kenmerk">
|
||||
<tr>
|
||||
<td class="label">
|
||||
<xsl:value-of select="@naam"/>
|
||||
</td>
|
||||
<td class="value">: <xsl:value-of select="."/></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<tr>
|
||||
<td height="20px"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0" border="1" bordercolor="#303030" width="100%">
|
||||
<tr>
|
||||
<th>Artikelnr</th>
|
||||
<th>Omschrijving</th>
|
||||
<th>Opmerkingen</th>
|
||||
<th style="text-align:right">Aantal</th>
|
||||
<th style="text-align:right">Prijs</th>
|
||||
<th style="text-align:right">Totaal</th>
|
||||
</tr>
|
||||
<xsl:for-each select="bestelitem">
|
||||
<tr>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="srtdeel/artikel_nummer"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="srtdeel/omschrijving"/>
|
||||
</td>
|
||||
<td class="result">
|
||||
<xsl:for-each select="kenmerk">
|
||||
<xsl:value-of select="@naam"/>:
|
||||
<xsl:value-of select="."/>
|
||||
<br/>
|
||||
</xsl:for-each> </td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="aantal"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="format-number(prijs, '0,00', 'european')"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="format-number(aantal*prijs, '0,00', 'european')"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<tr>
|
||||
<td height="6px" style="border-style:solid;border-width:0px;"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;" colspan="5">Totaal:</td>
|
||||
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;">
|
||||
<xsl:value-of select="format-number(sum(/facilitor/bestelling/bestelitem/totaal), '0,00', 'european')"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</TD>
|
||||
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\reportsCache\CONNbestelling19895.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
11
CUST/GESL/cust.css
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* $Revision: 1 $
|
||||
* $Modtime: 21-01-10 23:48 $
|
||||
*/
|
||||
#headerblok
|
||||
{
|
||||
background: url(tmpl_logo.gif) no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
background-position: 0px 0px;
|
||||
color: #000002;
|
||||
}
|
||||
86
CUST/GESL/cust.inc
Normal file
@@ -0,0 +1,86 @@
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 21-01-10 23:51 $
|
||||
*/ %>
|
||||
<%
|
||||
// This is THE place to define customer specific *overrules* for the standard Facilitor application texts.
|
||||
// Handle with care!
|
||||
|
||||
customerId = "GESL";
|
||||
|
||||
mplcl_visitors_fo = "Bezoekers";
|
||||
mplcl_reception_h = "Backoffice";
|
||||
mplcl_call_center_bo = "Servicedesk";
|
||||
mplcl_reservations_bo = "Reserveringen"
|
||||
mplcl_back_office = "Beheer"
|
||||
mplcl_call_center = "Meldingen";
|
||||
mplcl_front_office = "Servicedesk";
|
||||
mplcl_frontend = "Zelfservice";
|
||||
mplcl_rooms = "Vergaderruimte"
|
||||
mplcl_export_kosten = "Doorbelasting kosten"
|
||||
mplcl_app_management = "Applicatiebeheer"
|
||||
mplcl_catering = "Catering"
|
||||
|
||||
lcl_contact_FO = 'Neem contact op met de Servicedesk.'
|
||||
lcl_res_fe_edit_option_only = "De reservering is al definitief. Neem contact op met de Servicedesk voor wijzigingen.";
|
||||
lcl_res_fo_edit_option_only = "De reservering is al definitief. Neem contact op met de Servicedesk voor wijzigingen.";
|
||||
lcl_res_warnBO = "Waarschuwing last-minute: Neem bij wijzigingen contact op met de Servicedesk.";
|
||||
lcl_res_obj_lastminute = "Waarschuwing: last-minute: Neem contact op met de Servicedesk om zeker te zijn dat uw reservering is doorgekomen";
|
||||
lcl_res_lastmin = "Je kunt voor vandaag geen voorzieningen meer aanvragen via reserveringsmodule, neem even contact op met de Servicedesk.";
|
||||
lcl_cant_reserveinpast = 'Deze reservering kan qua tijdstip niet meer gedaan worden. ' + lcl_contact_FO;
|
||||
lcl_host = "Gastheer/vrouw";
|
||||
lcl_mld_inf_Ordernr = "Boekingsnr <i>(alleen nodig bij koffie/thee/fris)</i>";
|
||||
lcl_new_message = "";
|
||||
|
||||
// System parameters
|
||||
image_path_virtual = "../" + custpath + "/photos/";
|
||||
|
||||
prs_pers_string = "DECODE(NVL(p.prs_perslid_voornaam, ''),'',''"
|
||||
+ " ,p.prs_perslid_voornaam || ' ') || "
|
||||
+ " p.prs_perslid_naam ";
|
||||
|
||||
// ALG
|
||||
photo_kenmerk_key = 1000;
|
||||
|
||||
|
||||
// General settings
|
||||
currency_pref = '<27> ';
|
||||
show_ordernr = 3;
|
||||
|
||||
prs_max_dep_level = 1;
|
||||
// Module settings
|
||||
prs_dep_all = true; // allow attaching persons on all department level { true | false }
|
||||
prs_dep_string = "d.PRS_AFDELING_NAAM3";
|
||||
prs_kpn_string =" k.prs_kostenplaats_nr";
|
||||
prs_werkplek_implicit = 1; // Are workplaces treated as separate entitities (0) or implicitly/invisible used in person-room relations(1)
|
||||
prs_collegas_used = 1; // Can FE users indicate collegues for replacement (1) or not (0)
|
||||
|
||||
//RES
|
||||
res_h = 0.25; // reservation interval (hours)
|
||||
res_t1 = 7;
|
||||
res_t2 = 22;
|
||||
res_expire = 0; // After this number of days user can't edit reservation
|
||||
res_catExpire = 1; // 'last minute': After this FE cannot change catering
|
||||
t_catExpire_limit = "15:30"; // Tijdstip waarna het niet meer mogelijk is door de FrontEnd catering aanpassingen te maken (-1 = geen tijdswaarde)
|
||||
res_fe_reservering_limiet = 61; // possible overrule of res_reservering_limiet for fe users
|
||||
res_fe_edit_option_only=1; // FE can only edit 'Optional' reservations
|
||||
res_future_status_fixed = 1; // choosen status applied for all reservation parts, gekozen status voor alle deelreserveringen geldt, regardless time and 'res_confirm' (0=not fixed | 1=fixed)
|
||||
res_block = 0.5; // reservation block span (hours)
|
||||
res_fe_show_plantooltip = 1; // FE can(1) or cannot (0) see who has reserved a room in the planboard
|
||||
|
||||
|
||||
//VIS
|
||||
vis_mandatory_alg_level = 'G'; // alg level 'L' (location), 'G' (building, 'V' (floor) or 'R' (room)
|
||||
vis_afspraak_onrgoed_uses_keys = 1;// listboxes location until room instead of only a room text field; INITIEEL INRICHTEN (BEZ-tabellen leeg)!
|
||||
vis_afspraak_host_uses_keys = 1; // the field "Bezoek voor" is a listbox (1 = true) otherwise a textfield; INITIEEL INRICHTEN (BEZ-tabellen leeg)!
|
||||
vis_badgeprint_enable = 0; // print {0=no | 1=print at check in | 2=show print button}
|
||||
vis_bo_uses_badgenrs = 1; // the BO enters and uses badgenr registration { 0=no | 1=yes }
|
||||
vis_afspraak_limiet = 365; // max number of days from now that visitors are allowed, in past or future {-1 = no limit}
|
||||
vis_t1 = 7; // visitors day start (hour)
|
||||
vis_t2 = 22; // visitors day end (hour)
|
||||
vis_t2_std = 17; // default end time for visitors
|
||||
vis_checkout_enable = 0; // register checkout of visitors by BO {0=no | 1=yes}
|
||||
|
||||
|
||||
%>
|
||||
<!-- #include file="custenv.inc" -->
|
||||
11
CUST/GESL/custenv.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 25-07-07 9:58 $
|
||||
*/ %>
|
||||
<%
|
||||
// Contains Facilitor settings that differ across the various environments
|
||||
// Included by cust.inc
|
||||
|
||||
portalteaser="";
|
||||
|
||||
%>
|
||||
22
CUST/GESL/import/gen_import.ini
Normal file
@@ -0,0 +1,22 @@
|
||||
[ADO]
|
||||
ConnectionString = "File Name=..\Oracle.udl"
|
||||
Database_Name = "ORACLE"
|
||||
|
||||
[SYSTEM]
|
||||
Loglevel = "1"
|
||||
User = 'GESL'
|
||||
|
||||
[PERSLID]
|
||||
LocalPath = .
|
||||
ImportFilePrefix = 'personen'
|
||||
ImportFilePostfix = '.csv'
|
||||
BackupFileTimeStamp = '-yymmdd_hhmm'
|
||||
LogFilePostfix = '.log'
|
||||
|
||||
|
||||
[ORGANISATIE]
|
||||
LocalPath = .
|
||||
ImportFilePrefix = 'afdelingen'
|
||||
ImportFilePostfix = '.csv'
|
||||
BackupFileTimeStamp = '-yymmdd_hhmm'
|
||||
LogFilePostfix = '.log'
|
||||
6
CUST/GESL/import/import_afd_persoon.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
..\..\..\utils\gen_import\gen_import.exe ORGANISATIE
|
||||
|
||||
..\..\..\utils\gen_import\gen_import.exe PERSLID
|
||||
|
||||
0
CUST/GESL/photos/.gitignore
vendored
BIN
CUST/GESL/photos/103.jpg
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
CUST/GESL/photos/114.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
CUST/GESL/photos/116.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
CUST/GESL/photos/DPP_0003 Risdorante Osdorp.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
CUST/GESL/photos/Osdorp A.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
CUST/GESL/photos/Osdorp B.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
CUST/GESL/photos/Osdorp C.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
CUST/GESL/photos/Osdorp RAADSZAAL GED.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
CUST/GESL/photos/Osdorp Raadzaal geheel.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
CUST/GESL/photos/Osdorp WERF.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
CUST/GESL/photos/Osdorp raadzaal ani.gif
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
CUST/GESL/photos/Osdorp.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
CUST/GESL/photos/Raadszaal.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
CUST/GESL/photos/Slotervaart 38 EN 37.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
CUST/GESL/photos/Slotervaart 39.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
CUST/GESL/photos/Slotervaart 40 40A.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
CUST/GESL/photos/Slotervaart BESTUURSKR.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
CUST/GESL/photos/Slotervaart WERF.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
CUST/GESL/photos/Vergaderruimte 114.jpg
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
CUST/GESL/photos/cursus415.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
CUST/GESL/photos/vergaderruimte 101.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
CUST/GESL/photos/vergaderruimte 102.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
CUST/GESL/photos/vergaderruimte 115.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
CUST/GESL/photos/vergaderruimte 116.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |
21
CUST/GESL/sso.asp
Normal file
@@ -0,0 +1,21 @@
|
||||
<%@ language = "JavaScript" %>
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 6-07-09 22:15 $
|
||||
File: cust/gesl/sso.asp
|
||||
Description: Single Sign On script
|
||||
Parameters:
|
||||
Context:
|
||||
Note:
|
||||
*/ %>
|
||||
<%
|
||||
Response.Expires=-1;
|
||||
Session("customerId") = "GESL";
|
||||
%>
|
||||
<!-- #include file="../../cust/install.inc" -->
|
||||
<!-- #include file="../../shared/m_connections.inc" -->
|
||||
<!-- #include file="../../shared/escape.inc" -->
|
||||
<!-- #include file="../../shared/login.inc" -->
|
||||
<%
|
||||
SecureSSO({ strSharedKey: "123456", Timeout: 10}); //Sharedkey - Should be the same at customer side
|
||||
%>
|
||||
0
CUST/GESL/sso/.gitignore
vendored
176
CUST/GESL/sso/CheckSSO.asp
Normal file
@@ -0,0 +1,176 @@
|
||||
<%@ Language=JavaScript %>
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 18-01-10 11:22 $
|
||||
|
||||
Dit bestand maakt het mogelijk voor gebruikers van Facilityplace
|
||||
om via SingleSignOn toegang te krijgen.
|
||||
*/ %>
|
||||
<%Response.Expires=0;%>
|
||||
<html>
|
||||
<%
|
||||
|
||||
/**
|
||||
*
|
||||
* Base64 encode / decode
|
||||
* http://www.webtoolkit.info/
|
||||
*
|
||||
**/
|
||||
|
||||
var Base64 = {
|
||||
|
||||
// private property
|
||||
_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
||||
|
||||
// public method for encoding
|
||||
encode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = Base64._utf8_encode(input);
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
chr1 = input.charCodeAt(i++);
|
||||
chr2 = input.charCodeAt(i++);
|
||||
chr3 = input.charCodeAt(i++);
|
||||
|
||||
enc1 = chr1 >> 2;
|
||||
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
|
||||
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
|
||||
enc4 = chr3 & 63;
|
||||
|
||||
if (isNaN(chr2)) {
|
||||
enc3 = enc4 = 64;
|
||||
} else if (isNaN(chr3)) {
|
||||
enc4 = 64;
|
||||
}
|
||||
|
||||
output = output +
|
||||
this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
|
||||
this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
|
||||
|
||||
}
|
||||
|
||||
return output;
|
||||
},
|
||||
|
||||
// public method for decoding
|
||||
decode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3;
|
||||
var enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
enc1 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc2 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc3 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc4 = this._keyStr.indexOf(input.charAt(i++));
|
||||
|
||||
chr1 = (enc1 << 2) | (enc2 >> 4);
|
||||
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
|
||||
chr3 = ((enc3 & 3) << 6) | enc4;
|
||||
|
||||
output = output + String.fromCharCode(chr1);
|
||||
|
||||
if (enc3 != 64) {
|
||||
output = output + String.fromCharCode(chr2);
|
||||
}
|
||||
if (enc4 != 64) {
|
||||
output = output + String.fromCharCode(chr3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
output = Base64._utf8_decode(output);
|
||||
|
||||
return output;
|
||||
|
||||
},
|
||||
|
||||
// private method for UTF-8 encoding
|
||||
_utf8_encode : function (string) {
|
||||
string = string.replace(/\r\n/g,"\n");
|
||||
var utftext = "";
|
||||
|
||||
for (var n = 0; n < string.length; n++) {
|
||||
|
||||
var c = string.charCodeAt(n);
|
||||
|
||||
if (c < 128) {
|
||||
utftext += String.fromCharCode(c);
|
||||
}
|
||||
else if((c > 127) && (c < 2048)) {
|
||||
utftext += String.fromCharCode((c >> 6) | 192);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
else {
|
||||
utftext += String.fromCharCode((c >> 12) | 224);
|
||||
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return utftext;
|
||||
},
|
||||
|
||||
// private method for UTF-8 decoding
|
||||
_utf8_decode : function (utftext) {
|
||||
var string = "";
|
||||
var i = 0;
|
||||
var c = c1 = c2 = 0;
|
||||
|
||||
while ( i < utftext.length ) {
|
||||
|
||||
c = utftext.charCodeAt(i);
|
||||
|
||||
if (c < 128) {
|
||||
string += String.fromCharCode(c);
|
||||
i++;
|
||||
}
|
||||
else if((c > 191) && (c < 224)) {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
|
||||
i += 2;
|
||||
}
|
||||
else {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
c3 = utftext.charCodeAt(i+2);
|
||||
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
|
||||
i += 3;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var user = '' + Request.ServerVariables("REMOTE_USER");
|
||||
if (user =='' || user=='undefined') {
|
||||
user = '' + Request.ServerVariables("HTTP_USER");
|
||||
if (user =='' || user=='undefined') {
|
||||
user =='';
|
||||
}
|
||||
}
|
||||
|
||||
Response.write(user);
|
||||
Response.end;
|
||||
//user = 'CONCHITA';
|
||||
%>
|
||||
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.all.facilitor.submit();">
|
||||
<form name="facilitor" action="http://gesl.facilitor.nl/default.asp?fac_id=gesl" method=post>
|
||||
<input type="hidden" name="UID" value="<%=Base64.encode(user)%>">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
176
CUST/GESL/sso/SSO.asp
Normal file
@@ -0,0 +1,176 @@
|
||||
<%@ Language=JavaScript %>
|
||||
<% /*
|
||||
$Revision: 1 $
|
||||
$Modtime: 18-01-10 9:19 $
|
||||
|
||||
Dit bestand maakt het mogelijk voor gebruikers van Facilityplace
|
||||
om via SingleSignOn toegang te krijgen.
|
||||
*/ %>
|
||||
<%Response.Expires=0;%>
|
||||
<html>
|
||||
<%
|
||||
|
||||
/**
|
||||
*
|
||||
* Base64 encode / decode
|
||||
* http://www.webtoolkit.info/
|
||||
*
|
||||
**/
|
||||
|
||||
var Base64 = {
|
||||
|
||||
// private property
|
||||
_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
||||
|
||||
// public method for encoding
|
||||
encode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = Base64._utf8_encode(input);
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
chr1 = input.charCodeAt(i++);
|
||||
chr2 = input.charCodeAt(i++);
|
||||
chr3 = input.charCodeAt(i++);
|
||||
|
||||
enc1 = chr1 >> 2;
|
||||
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
|
||||
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
|
||||
enc4 = chr3 & 63;
|
||||
|
||||
if (isNaN(chr2)) {
|
||||
enc3 = enc4 = 64;
|
||||
} else if (isNaN(chr3)) {
|
||||
enc4 = 64;
|
||||
}
|
||||
|
||||
output = output +
|
||||
this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
|
||||
this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
|
||||
|
||||
}
|
||||
|
||||
return output;
|
||||
},
|
||||
|
||||
// public method for decoding
|
||||
decode : function (input) {
|
||||
var output = "";
|
||||
var chr1, chr2, chr3;
|
||||
var enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
||||
|
||||
while (i < input.length) {
|
||||
|
||||
enc1 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc2 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc3 = this._keyStr.indexOf(input.charAt(i++));
|
||||
enc4 = this._keyStr.indexOf(input.charAt(i++));
|
||||
|
||||
chr1 = (enc1 << 2) | (enc2 >> 4);
|
||||
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
|
||||
chr3 = ((enc3 & 3) << 6) | enc4;
|
||||
|
||||
output = output + String.fromCharCode(chr1);
|
||||
|
||||
if (enc3 != 64) {
|
||||
output = output + String.fromCharCode(chr2);
|
||||
}
|
||||
if (enc4 != 64) {
|
||||
output = output + String.fromCharCode(chr3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
output = Base64._utf8_decode(output);
|
||||
|
||||
return output;
|
||||
|
||||
},
|
||||
|
||||
// private method for UTF-8 encoding
|
||||
_utf8_encode : function (string) {
|
||||
string = string.replace(/\r\n/g,"\n");
|
||||
var utftext = "";
|
||||
|
||||
for (var n = 0; n < string.length; n++) {
|
||||
|
||||
var c = string.charCodeAt(n);
|
||||
|
||||
if (c < 128) {
|
||||
utftext += String.fromCharCode(c);
|
||||
}
|
||||
else if((c > 127) && (c < 2048)) {
|
||||
utftext += String.fromCharCode((c >> 6) | 192);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
else {
|
||||
utftext += String.fromCharCode((c >> 12) | 224);
|
||||
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
|
||||
utftext += String.fromCharCode((c & 63) | 128);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return utftext;
|
||||
},
|
||||
|
||||
// private method for UTF-8 decoding
|
||||
_utf8_decode : function (utftext) {
|
||||
var string = "";
|
||||
var i = 0;
|
||||
var c = c1 = c2 = 0;
|
||||
|
||||
while ( i < utftext.length ) {
|
||||
|
||||
c = utftext.charCodeAt(i);
|
||||
|
||||
if (c < 128) {
|
||||
string += String.fromCharCode(c);
|
||||
i++;
|
||||
}
|
||||
else if((c > 191) && (c < 224)) {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
|
||||
i += 2;
|
||||
}
|
||||
else {
|
||||
c2 = utftext.charCodeAt(i+1);
|
||||
c3 = utftext.charCodeAt(i+2);
|
||||
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
|
||||
i += 3;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var user = '' + Request.ServerVariables("REMOTE_USER");
|
||||
if (user =='' || user=='undefined') {
|
||||
user = '' + Request.ServerVariables("HTTP_USER");
|
||||
if (user =='' || user=='undefined') {
|
||||
user =='';
|
||||
}
|
||||
}
|
||||
|
||||
//Response.write(user);
|
||||
//Response.end;
|
||||
//user = 'CONCHITA';
|
||||
%>
|
||||
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.all.facilitor.submit();">
|
||||
<form name="facilitor" action="http://gesl.facilitor.nl/default.asp?fac_id=gesl" method=post>
|
||||
<input type="hidden" name="UID" value="<%=Base64.encode(user)%>">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
0
CUST/GESL/tasks/.gitignore
vendored
59
CUST/GESL/tasks/PutOrders.ini
Normal file
@@ -0,0 +1,59 @@
|
||||
// Putorders.ini
|
||||
//
|
||||
// SAMPLE configuration file for Facilitor PutOrders routine.
|
||||
// This routine handles the internal Facilitor orders and notifications queueus and
|
||||
// takes care of sending these messages into the world. It normally is the only way out
|
||||
// for messages from Facilitor
|
||||
//
|
||||
// Several protocols are supported, like e-mail, SMS, FTP, HTTP and XML/SOAP
|
||||
// Its actual behaviour (like which messages are send by what means) is defined
|
||||
// by the applicationmanager using several settings, parameters and XSL stylesheets
|
||||
//
|
||||
// This sample needs to be copied to the ../../CUST/XXXX/Putorders folder, where
|
||||
// all the actual and appropriate settings *need* to be altered on installation.
|
||||
//
|
||||
// $Revision: 1 $
|
||||
// $Modtime: 6-10-09 10:05 $
|
||||
//
|
||||
|
||||
[SYSTEM]
|
||||
// The FULL FYSICAL (LOCAL) PATH to the Facilitor webroot folder (containing a.o. global.asa)
|
||||
FacilitorHome = "c:/inetpub/wwwroot/sm44/facilitorwork/"
|
||||
|
||||
[ADO]
|
||||
ConnectionString = "File Name=..\Oracle.udl "
|
||||
Database_Name = "ORACLE"
|
||||
CustomerId = "GESL"
|
||||
|
||||
[GENERAL]
|
||||
NotificationInMailBody = "1"
|
||||
;// 0 = as attachments, 1 = in body
|
||||
NotificationXSL = "../xsl/cust.xsl"
|
||||
;// stylesheet to be applied for notifications
|
||||
SubjectPrefix = "Facilitor bestelling: Bestelopdracht nr."
|
||||
// Mail subject prefix for orders (to be followed by ordernr)
|
||||
FromAddress = "no_reply@gesl.facilitor.nl"
|
||||
;// the fixed From address for Facilitor orders
|
||||
ReplyAddress = "servicedesk@geuzenveld.amsterdam.nl"
|
||||
;// optional reply address if that is different from FromAddress
|
||||
LogLevel = 1
|
||||
;// Level of logging (0-3) for troubleshooting purposes
|
||||
ConnectionFlag = 0
|
||||
;// INTERNET_FLAG_PASSIVE = 0x8000000, else = 0
|
||||
UseProxy = 0 ;// 1 = Use Proxy Server (recognizes TIS FTP gateway only), 0 = don't use Proxy
|
||||
ProxyServerIPAddress = "127.0.0.1" ;// Proxy Server IP Address, only used when UseProxy = 1
|
||||
SoapCertificateName = LOCAL_MACHINE\My\it.dijkoraad.nl ;// SOAP Certificate reference
|
||||
;; Minuten
|
||||
NotificationDelay=1
|
||||
UseSenderAsReplyTo=0
|
||||
|
||||
[SMS]
|
||||
SmsAccount = ""
|
||||
;// SMS accountinfo
|
||||
UID = ""
|
||||
PWD = ""
|
||||
ReplyPhone = ""
|
||||
SMSProtocol = ""
|
||||
|
||||
|
||||
|
||||
1
CUST/GESL/tasks/putOrders.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\utils\putOrders\putOrders.exe
|
||||
BIN
CUST/GESL/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
0
CUST/GESL/xsl/.gitignore
vendored
374
CUST/GESL/xsl/cust.xsl
Normal file
@@ -0,0 +1,374 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
<xsl:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision: 1 $', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<!-- To do: oplijnen met door GESL zelf gemaakte aanpassingen!!! -->
|
||||
|
||||
<xsl:template name="res_endtext">
|
||||
|
||||
<tr>
|
||||
<td colspan="2" class="tekst"> </td>
|
||||
</tr>
|
||||
<xsl:if test="//srtdeel/omschrijving!=''">
|
||||
<xsl:if test="$srtnotificatiecode != '' ">
|
||||
<tr>
|
||||
<td colspan="2" class="tekst">Mocht je hebben gekozen voor gebruik van Laptop of Beamer, vergeet dan niet minimaal 15 minuten voor aanvang bij de servicedesk te komen tekenen voor verantwoordelijkheid hiervan.
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="$srtnotificatiecode = '' ">
|
||||
<tr>
|
||||
<td colspan="2" class="tekst">Handtekening voor het in ontvangst nemen van de object(en):
|
||||
<table border="1" height="100" bordercolor="#000000" width="300">
|
||||
<tr><td> </td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template name="rsv_ruimte">
|
||||
<xsl:param name="min_volgnr"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte!=''">
|
||||
<td class="tekstkop" colspan="10" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<br/>Deelreservering <xsl:value-of select="volgnr"/> 
|
||||
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>) </xsl:if>
|
||||
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<!-- "roomservice" -->
|
||||
<xsl:otherwise>
|
||||
<td class="tekstkop" colspan="10" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<br/>Deelreservering <xsl:value-of select="volgnr"/> 
|
||||
<xsl:value-of select="plaats/plaatsaanduiding"/>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
<xsl:if test="string(omschrijving)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/omschrijving)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- Omschrijving:</td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<xsl:value-of select="omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="string(opmerking)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/opmerking)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- Opmerking:</td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="opmerking"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="string(contact_user/naam_full)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- Aanvrager:</td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<xsl:value-of select="contact_user/naam_full"/>/ <xsl:value-of select="contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="string(host_user/naam_full)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/host_user/naam_full)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- Gastheer/-vrouw:</td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<xsl:value-of select="host_user/naam_full"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="string(kostenplaats/nr)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/nr)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- Kostenplaats:</td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
<xsl:value-of select="kostenplaats/nr"/> <xsl:value-of select="kostenplaats/omschrijving"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<th>Omschrijving</th>
|
||||
<th>Aantal</th>
|
||||
<th width="80">Datum</th>
|
||||
<th style="text-align:right">Begintijd</th>
|
||||
<th style="text-align:right">Eindtijd</th>
|
||||
<th>Status</th>
|
||||
<th>Opstelling</th>
|
||||
</tr>
|
||||
<xsl:if test="res_ruimte!=''">
|
||||
<tr>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/code"/>-<xsl:value-of select="res_ruimte/nr"/>
|
||||
<br/>(max. <xsl:value-of select="res_ruimte/bezoekers"/> personen)</td>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="bezoekers"/>personen</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/datum"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/tijd"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="tot/tijd"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="status_fo"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:left">
|
||||
<xsl:value-of select="res_ruimte/opstelling"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<!-- rsv_deel-lijst gesorteerd op van-tijd -->
|
||||
<xsl:for-each select="rsv_deel">
|
||||
<xsl:sort select="van/tijd"/>
|
||||
<tr>
|
||||
<td class="result">
|
||||
<xsl:value-of select="res_deel/deel/omschrijving"/>
|
||||
</td>
|
||||
<td class="result">
|
||||
<xsl:value-of select="aantal"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/datum"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/tijd"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="tot/tijd"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<!-- rsv_artikel-lijst gesorteerd op van-tijd -->
|
||||
<xsl:for-each select="rsv_artikel">
|
||||
<xsl:sort select="levering/tijd"/>
|
||||
<tr>
|
||||
<td class="result">
|
||||
<xsl:value-of select="res_artikel/omschrijving"/>
|
||||
</td>
|
||||
<td class="result">
|
||||
<xsl:value-of select="aantal"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="levering/datum"/>
|
||||
</td>
|
||||
<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="levering/tijd"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<!-- totaal per deelreservering -->
|
||||
|
||||
<!-- afspraak-lijst gesorteerd op naam -->
|
||||
<xsl:for-each select="afspraak/bez_bezoeker">
|
||||
<xsl:sort select="naam"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = 1">
|
||||
<tr>
|
||||
<td class="tekst" style="border-style:solid;border-width:0px;">
|
||||
<br/>Bezoekers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Naam</th>
|
||||
<th colspan="3">Bedrijf</th>
|
||||
<th colspan="4">Parkeerplaats</th>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<tr>
|
||||
<td class="result">
|
||||
<xsl:value-of select="naam"/>
|
||||
</td>
|
||||
<td class="result" colspan="3">
|
||||
<xsl:value-of select="bedrijf"/>
|
||||
</td>
|
||||
<td class="result" colspan="4">
|
||||
<xsl:value-of select="deel/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<!-- kenmerk -->
|
||||
<xsl:for-each select="res_kenmerk">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = 1">
|
||||
<tr>
|
||||
<td class="tekst" align="right" colspan="2" style="border-style:solid;border-width:0px;">Details:</td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td style="border-style:solid;border-width:0px;"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<tr>
|
||||
<td class="result">
|
||||
<xsl:value-of select="res_srtkenmerk_omschrijving"/>
|
||||
</td>
|
||||
<td class="result" colspan="3">
|
||||
<xsl:value-of select="res_kenmerkreservering_waarde"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="reservering" mode="include">
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
||||
<TR>
|
||||
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"/>
|
||||
<TD>
|
||||
<xsl:choose>
|
||||
<xsl:when test="not(boolean(rsv_ruimte))">
|
||||
<table>
|
||||
<tr>
|
||||
<td height="20"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">Annulering</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Op uw naam heeft een reservering<xsl:if test="key!=''"> onder nummer <xsl:value-of select="key"/></xsl:if> plaatsgevonden, die vervolgens direct weer is verwijderd.</b>
|
||||
<br/>
|
||||
<br/>Deze reservering wordt niet verder verwerkt.<br/><br/>
|
||||
Wilt u toch een reservering aanmaken voeg dan een nieuwe reservering toe waarbij een zaal, voorziening of artikel gereserveerd is.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<!-- Bevestiging reservering -->
|
||||
|
||||
<!-- De algemene gegevens van de deelreservering met het laagste volgnummer worden gebruikt als referentie gegevens! -->
|
||||
<xsl:variable name="min_volgnr">
|
||||
<xsl:value-of select="//reservering/rsv_ruimte/volgnr[not(. > //reservering/rsv_ruimte/volgnr)]"/>
|
||||
</xsl:variable>
|
||||
|
||||
<table border="0" bordercolor="#ffffff" width="100%">
|
||||
<tr>
|
||||
<td class="caption" valign="top" colspan="2">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@content='complete'">Reservering <xsl:value-of select="key"/><br/></xsl:when>
|
||||
<xsl:otherwise>Deelreservering <xsl:value-of select="key"/> / <xsl:value-of select="$min_volgnr"/><br/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/omschrijving)!=''">(<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/omschrijving"/>)</xsl:if> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Aanvrager</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">E-mail adres</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/email"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Locatie</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Afdeling</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/afdeling/omschrijving"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Gastheer/-vrouw</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/host_user/naam_full"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Kostenplaats</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/nr"/> 
|
||||
<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30px"/>
|
||||
</tr>
|
||||
<xsl:if test="rsv_ruimte[volgnr=$min_volgnr]/contact_user/key!=ingevoerd_user/key">
|
||||
<tr>
|
||||
<td width="20%" class="label">Behandeld door</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="ingevoerd_user/naam_full"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="label">Datum</td>
|
||||
<td width="80%" class="value">: <xsl:value-of select="datum/datum"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30px"/>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="2" class="tekst">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$srtnotificatiecode='RESNEW'"/>
|
||||
<xsl:when test="$srtnotificatiecode='RESDEL'">DE RESERVERING IS VERVALLEN</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:call-template name="res_begintext"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="10px"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tekstkop" colspan="2" style="text-decoration:underline">Reserveringsgegevens</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5px"/>
|
||||
</tr>
|
||||
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/opmerking)!=''">
|
||||
<tr>
|
||||
<td colspan="2" class="label">Opmerking</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="value">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="rsv_ruimte[volgnr=$min_volgnr]/opmerking"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5px"/>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0" border="1" bordercolor="#000000" frame="box">
|
||||
<!-- rsv_ruimte -->
|
||||
<xsl:for-each select="rsv_ruimte">
|
||||
<xsl:sort select="volgnr" data-type="number"/>
|
||||
<xsl:call-template name="rsv_ruimte">
|
||||
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
<!-- totaal reservering -->
|
||||
<tr>
|
||||
<td height="10px" style="border-style:solid;border-width:0px;"/>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:call-template name="res_endtext">
|
||||
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
|
||||
</xsl:call-template>
|
||||
</table>
|
||||
<!-- Bevestiging reservering -->
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</TD>
|
||||
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios/><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||