BLOS#74763 -- kalenderfunctie voor backoffice en uitstaande TD-opdrachten
svn path=/Customer/trunk/; revision=60530
This commit is contained in:
@@ -1550,39 +1550,56 @@ SELECT mld_uitvoerende_key,
|
|||||||
'Geaccepteerd', '#FFFFFF') textcolor -- Geaccepteerd
|
'Geaccepteerd', '#FFFFFF') textcolor -- Geaccepteerd
|
||||||
FROM blos_v_rap_opdrachten_intern ;
|
FROM blos_v_rap_opdrachten_intern ;
|
||||||
|
|
||||||
CREATE OR REPLACE VIEW blos_v_cal_opdrachten_bo
|
CREATE OR REPLACE VIEW BLOS_V_CAL_OPDRACHTEN_BO
|
||||||
(
|
(
|
||||||
USER_KEY,
|
USER_KEY,
|
||||||
TITLE,
|
TITLE,
|
||||||
TOT,
|
TOT,
|
||||||
VAN,
|
VAN,
|
||||||
ITEM_KEY,
|
ITEM_KEY,
|
||||||
COLOR,
|
COLOR,
|
||||||
TEXTCOLOR
|
TEXTCOLOR,
|
||||||
|
TD_NAAM,
|
||||||
|
LOCATIE_PLAATS,
|
||||||
|
STATUS
|
||||||
)
|
)
|
||||||
AS
|
AS
|
||||||
SELECT mld_uitvoerende_key,
|
SELECT mld_uitvoerende_key,
|
||||||
td_naam || CHR(10) || type || ' - ' || opdrachtnr || CHR(10) || locatie_plaats || CHR(10) || 'Prio: ' || prioriteit,
|
td_naam
|
||||||
geplande_aanvang + 2/24,
|
|| CHR (10)
|
||||||
geplande_aanvang,
|
|| TYPE
|
||||||
mld_opdr_key,
|
|| ' - '
|
||||||
DECODE (status,
|
|| opdrachtnr
|
||||||
'Afgewezen', '#C0C0C0', -- Afgewezen grijs
|
|| CHR (10)
|
||||||
'Afgemeld', '#C0C0C0', -- Afgemeld grijs
|
|| locatie_plaats
|
||||||
'Toegekend', DECODE (LOWER(prioriteit),
|
|| CHR (10)
|
||||||
'3 - normaal', '#0000FF', -- Toegekend en prio normaal is blauw
|
|| 'Prio: '
|
||||||
'4 - laag', '#20b2f5', -- Toegekend en prio laag is licht-blauw
|
|| prioriteit,
|
||||||
'2 - hoog', '#f58a20', -- Toegekend en prio laag is oranje
|
geplande_aanvang + 2 / 24,
|
||||||
'1 - kritiek', '#bf0b3b', -- Toegekend en prio laag is rood
|
geplande_aanvang,
|
||||||
'#0000FF'),
|
mld_opdr_key,
|
||||||
'Geaccepteerd', '#008000') color, -- Geaccepteerd groen
|
DECODE (
|
||||||
DECODE (status,
|
status,
|
||||||
'Afgewezen', '#FFFFFF', -- Afgewezen
|
'Afgewezen', '#C0C0C0', -- Afgewezen grijs
|
||||||
'Toegekend', '#FFFFFF', -- Toegekend
|
'Afgemeld', '#C0C0C0', -- Afgemeld grijs
|
||||||
'Afgemeld', '#000000', -- Afgemeld
|
'Toegekend', DECODE (LOWER (prioriteit),
|
||||||
'Geaccepteerd', '#FFFFFF') textcolor -- Geaccepteerd
|
'3 - normaal', '#0000FF', -- Toegekend en prio normaal is blauw
|
||||||
FROM blos_v_rap_opdrachten_intern
|
'4 - laag', '#20b2f5', -- Toegekend en prio laag is licht-blauw
|
||||||
WHERE status = 'Toegekend' ;
|
'2 - hoog', '#f58a20', -- Toegekend en prio laag is oranje
|
||||||
|
'1 - kritiek', '#bf0b3b', -- Toegekend en prio laag is rood
|
||||||
|
'#0000FF'),
|
||||||
|
'Geaccepteerd', '#008000')
|
||||||
|
color, -- Geaccepteerd groen
|
||||||
|
DECODE (status,
|
||||||
|
'Afgewezen', '#FFFFFF', -- Afgewezen
|
||||||
|
'Toegekend', '#FFFFFF', -- Toegekend
|
||||||
|
'Afgemeld', '#000000', -- Afgemeld
|
||||||
|
'Geaccepteerd', '#FFFFFF')
|
||||||
|
textcolor, -- Geaccepteerd,
|
||||||
|
td_naam,
|
||||||
|
locatie_plaats,
|
||||||
|
status
|
||||||
|
FROM blos_v_rap_opdrachten_intern ;
|
||||||
|
|
||||||
-- Tbv webshop-accounts planethappy
|
-- Tbv webshop-accounts planethappy
|
||||||
CREATE OR REPLACE VIEW BLOS_V_PERSONENLIJST_LOCMAN
|
CREATE OR REPLACE VIEW BLOS_V_PERSONENLIJST_LOCMAN
|
||||||
|
|||||||
Reference in New Issue
Block a user