DENB#39784 Menuitem 'Voorziening reserveren' toegevoegd en voorwaarde voor reserveer knoppen onder 'lopende zaken' toegevoegd

svn path=/Database/trunk/; revision=35494
This commit is contained in:
2017-09-29 08:40:06 +00:00
parent cfb3d690e0
commit 58497562fe
5 changed files with 30 additions and 25 deletions

View File

@@ -3096,31 +3096,32 @@ DEF_MENUENTRY(2, 99150, 'lcl_menu_fac_anyupload' , '', 'FAC', 'appl/shared
//DEF_MENUKOP(3, 'lcl_menu_mobile'); // Er is vooralsnog geen kop nodig
// Voor een aantal is eigenlijk geen autorisatie vereist; we kiezen dan voor eentje die geen bezwaar kent om authenticatie generiek te controleren
DEF_MENUITEM(3, 'lcl_mobile_search' , '', 'FAC', 'appl/pda/productsearch.asp', 0, 0, 'WEB_MLDUSE', 'R', '0', 'fa-search');
DEF_MENUITEM(3, 'lcl_mobile_lopendezaken' , '', 'FAC', 'appl/pda/fac_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '1', 'fa-list-ul');
DEF_MENUITEM(3, 'lcl_mobile_fiattering' , '', 'FAC', 'appl/pda/fiat_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '1', 'fa-check-square-o');
DEF_MENUITEM(3, 'lcl_mobile_search' , '', 'FAC', 'appl/pda/productsearch.asp', 0, 0, 'WEB_MLDUSE', 'R', '0', 'fa-search');
DEF_MENUITEM(3, 'lcl_mobile_lopendezaken' , '', 'FAC', 'appl/pda/fac_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '1', 'fa-list-ul');
DEF_MENUITEM(3, 'lcl_mobile_fiattering' , '', 'FAC', 'appl/pda/fiat_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '1', 'fa-check-square-o');
DEF_MENUITEM(3, 'lcl_mobile_doemelding' , '', 'MLD', 'appl/pda/melding.asp', 0, 0, 'WEB_MLDUSE', 'W', '1', 'fa-exclamation-circle');
DEF_MENUITEM(3, 'lcl_mobile_doebezoeker' , '', 'BEZ', 'appl/pda/afspraak.asp', 0, 0, 'WEB_BEZUSE', 'W', '1', 'fa-handshake-o');
DEF_MENUITEM(3, 'lcl_mobile_doereservering' , '', 'RES', 'appl/pda/reservering.asp', 0, 0, 'WEB_RESUSE', 'W', '1', 'fa-user-circle-o');
//DEF_MENUITEM(3, 'lcl_mobile_doebestelling' , '', 'MLD', 'appl/pda/bestelling.asp', 0, 0, 'WEB_BESUSE', 'W', '0', 'fa-shopping-cart');
DEF_MENUITEM(3, 'lcl_mobile_doemelding' , '', 'MLD', 'appl/pda/melding.asp', 0, 0, 'WEB_MLDUSE', 'W', '1', 'fa-exclamation-circle');
DEF_MENUITEM(3, 'lcl_mobile_doebezoeker' , '', 'BEZ', 'appl/pda/afspraak.asp', 0, 0, 'WEB_BEZUSE', 'W', '1', 'fa-handshake-o');
DEF_MENUITEM(3, 'lcl_mobile_doereservering' , '', 'RES', 'appl/pda/reservering.asp', 0, 0, 'WEB_RESUSE', 'W', '1', 'fa-user-circle-o');
DEF_MENUITEM(3, 'lcl_mobile_res_voorziening' , '', 'RES', 'appl/pda/reservering.asp?restype=CV', 0, 0, 'WEB_RESUSE', 'W', '0', 'fa-bicycle');
//DEF_MENUITEM(3, 'lcl_mobile_doebestelling' , '', 'MLD', 'appl/pda/bestelling.asp', 0, 0, 'WEB_BESUSE', 'W', '0', 'fa-shopping-cart');
DEF_MENUITEM(3, 'lcl_mobile_meldingen' , '', 'MLD', 'appl/pda/mld_list.asp', 0, 0, 'WEB_MLDBOF', 'R', '1', 'fa-wrench');
DEF_MENUITEM(3, 'lcl_mobile_meldingen2' , '', 'MLD', 'appl/pda/mld_list.asp', 0, 0, 'WEB_MLDBO2', 'R', '1', 'fa-wrench');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten3' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_MLDORD', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten1' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_ORDBO2', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten2' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_ORDBOF', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_bezoekers' , '', 'BEZ', 'appl/pda/bez_list.asp', 0, 0, 'WEB_BEZBOF', 'R', '1', 'fa-users');
DEF_MENUITEM(3, 'lcl_mobile_contracten' , '', 'CNT', 'appl/pda/cnt_list.asp', 0, 0, 'WEB_CNTUSE', 'R', '1', 'fa-file-text-o');
DEF_MENUITEM(3, 'lcl_mobile_objecten' , '', 'INS', 'appl/pda/ins_list.asp', 0, 0, 'WEB_INSUSE', 'R', '1', 'fa-circle-o');
DEF_MENUITEM(3, 'lcl_mobile_planned_act' , '', 'CTR', 'appl/pda/ins_inspect_list.asp', 0, 0, 'WEB_CTRUSE', 'R', '1', 'fa-repeat');
DEF_MENUITEM(3, 'lcl_mobile_locaties' , '', 'ALG', 'appl/pda/locatie_list.asp', 0, 0, 'WEB_ALGMAN', 'R', '0', 'fa-location-arrow');
DEF_MENUITEM(3, 'lcl_mobile_gebouwen' , '', 'ALG', 'appl/pda/gebouw_list.asp', 0, 0, 'WEB_ALGMAN', 'R', '0', 'fa-building-o');
DEF_MENUITEM(3, 'lcl_mobile_ruimten' , '', 'ALG', 'appl/pda/ruimte_list.asp', 0, 0, 'WEB_ALGUSE', 'R', '1', 'fa-map-marker');
DEF_MENUITEM(3, 'lcl_mobile_plattegronden' , '', 'CAD', 'appl/pda/verdieping_list.asp', 0, 0, 'WEB_CADUSE', 'R', '1', 'fa-map-o');
DEF_MENUITEM(3, 'lcl_mobile_setlocation' , '', 'FAC', 'appl/pda/setlocation.asp', 0, 0, 'WEB_CADUSE', 'R', '0', 'fa-map-marker');
DEF_MENUITEM(3, 'lcl_mobile_messages' , '', 'FAC', 'appl/pda/message_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '0', 'fa-comment-o');
DEF_MENUITEM(3, 'lcl_mobile_rapporten' , '', 'FAC', 'appl/pda/reports.asp', 0, 0, 'WEB_USRRAP', 'R', '0', 'fa-file-text');
DEF_MENUITEM(3, 'lcl_mobile_meldingen' , '', 'MLD', 'appl/pda/mld_list.asp', 0, 0, 'WEB_MLDBOF', 'R', '1', 'fa-wrench');
DEF_MENUITEM(3, 'lcl_mobile_meldingen2' , '', 'MLD', 'appl/pda/mld_list.asp', 0, 0, 'WEB_MLDBO2', 'R', '1', 'fa-wrench');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten3' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_MLDORD', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten1' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_ORDBO2', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_opdrachten2' , '', 'MLD', 'appl/pda/orders_list.asp', 0, 0, 'WEB_ORDBOF', 'R', '1', 'fa-briefcase');
DEF_MENUITEM(3, 'lcl_mobile_bezoekers' , '', 'BEZ', 'appl/pda/bez_list.asp', 0, 0, 'WEB_BEZBOF', 'R', '1', 'fa-users');
DEF_MENUITEM(3, 'lcl_mobile_contracten' , '', 'CNT', 'appl/pda/cnt_list.asp', 0, 0, 'WEB_CNTUSE', 'R', '1', 'fa-file-text-o');
DEF_MENUITEM(3, 'lcl_mobile_objecten' , '', 'INS', 'appl/pda/ins_list.asp', 0, 0, 'WEB_INSUSE', 'R', '1', 'fa-circle-o');
DEF_MENUITEM(3, 'lcl_mobile_planned_act' , '', 'CTR', 'appl/pda/ins_inspect_list.asp', 0, 0, 'WEB_CTRUSE', 'R', '1', 'fa-repeat');
DEF_MENUITEM(3, 'lcl_mobile_locaties' , '', 'ALG', 'appl/pda/locatie_list.asp', 0, 0, 'WEB_ALGMAN', 'R', '0', 'fa-location-arrow');
DEF_MENUITEM(3, 'lcl_mobile_gebouwen' , '', 'ALG', 'appl/pda/gebouw_list.asp', 0, 0, 'WEB_ALGMAN', 'R', '0', 'fa-building-o');
DEF_MENUITEM(3, 'lcl_mobile_ruimten' , '', 'ALG', 'appl/pda/ruimte_list.asp', 0, 0, 'WEB_ALGUSE', 'R', '1', 'fa-map-marker');
DEF_MENUITEM(3, 'lcl_mobile_plattegronden' , '', 'CAD', 'appl/pda/verdieping_list.asp', 0, 0, 'WEB_CADUSE', 'R', '1', 'fa-map-o');
DEF_MENUITEM(3, 'lcl_mobile_setlocation' , '', 'FAC', 'appl/pda/setlocation.asp', 0, 0, 'WEB_CADUSE', 'R', '0', 'fa-map-marker');
DEF_MENUITEM(3, 'lcl_mobile_messages' , '', 'FAC', 'appl/pda/message_list.asp', 0, 0, 'WEB_MLDUSE', 'R', '0', 'fa-comment-o');
DEF_MENUITEM(3, 'lcl_mobile_rapporten' , '', 'FAC', 'appl/pda/reports.asp', 0, 0, 'WEB_USRRAP', 'R', '0', 'fa-file-text');
-- Aanmaken van het default menu:
-- FUNCTIE VOOR MENU-UPDATE/INITIALISATIE

View File

@@ -3525,6 +3525,7 @@ FAC_LCL('lcl_mobile_srch_zoeker_go', 'Zoek!', 'Search!')
FAC_LCL('lcl_mobile_doemelding', 'Melding doen', 'Make a call')
FAC_LCL('lcl_mobile_doebezoeker', 'Bezoeker aanmelden', 'Register visitors')
FAC_LCL('lcl_mobile_doereservering', 'Ruimte reserveren', 'Room reservation')
FAC_LCL('lcl_mobile_res_voorziening', 'Voorziening reserveren', 'Equipment reservation')
//FAC_LCL('lcl_mobile_doebestelling', 'Plaats bestelling', 'Order')
FAC_LCL('lcl_mobile_meldingen', 'Open meldingen', 'Calls')

View File

@@ -1313,7 +1313,7 @@ CREATE_TABLE(fac_tracking, 0)
CREATE_TABLE( fac_menuitems, 0)
(
fac_menuitems_key NUMBER(10) PRIMARY KEY,
fac_menuitems_groep NUMBER(1), /* 0=personal, 1=professional, 2=appmanagement*/
fac_menuitems_groep NUMBER(1), /* 0=personal, 1=professional, 2=appmanagement, 3=mobile*/
fac_menuitems_label VARCHAR2 (30 CHAR) NOT NULL,
fac_menuitems_oms VARCHAR2 (60 CHAR),
fac_menuitems_module VARCHAR2 (3 BYTE),

View File

@@ -77,7 +77,7 @@ CREATE_TABLE(ins_tab_discipline,0)
ins_discipline_verwijder
DATE
DEFAULT NULLDATUM,
ins_discipline_min_level
ins_discipline_min_level /* 1; Reserveerbaar object; 2; Verbruiksartikel; 3; Ruimte */
NUMBER(1),
ins_discipline_kpnverplicht
NUMBER(1) DEFAULT(0)

View File

@@ -320,6 +320,9 @@ UPDATE fac_menuitems SET fac_menuitems_image='fa-map-marker' where fac_menuitems
ALTER TABLE fac_usrdata DROP CONSTRAINT fac_u_fac_usrdata_upper DROP INDEX;
ALTER TABLE fac_usrdata ADD CONSTRAINT fac_u_fac_usrdata_upper UNIQUE(fac_usrtab_key, fac_usrdata_upper, fac_usrdata_verwijder, fac_usrdata_vervaldatum);
/////////////////////////////////////////////////////////////////////////////////////////// DENB#39784
DEF_MENUITEM(3, 'lcl_mobile_res_voorziening', '', 'RES', 'appl/pda/reservering.asp?restype=CV', 0, 0, 'WEB_RESUSE', 'W', '0', 'fa-bicycle');
/////////////////////////////////////////////////////////////////////////////////////////// GENERAL
UPDATE fac_message
SET fac_message_text = 'Copyright (c) 1996-2017, Facilitor BV, Nederland'