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
|
||||
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,
|
||||
TITLE,
|
||||
TOT,
|
||||
VAN,
|
||||
ITEM_KEY,
|
||||
COLOR,
|
||||
TEXTCOLOR
|
||||
USER_KEY,
|
||||
TITLE,
|
||||
TOT,
|
||||
VAN,
|
||||
ITEM_KEY,
|
||||
COLOR,
|
||||
TEXTCOLOR,
|
||||
TD_NAAM,
|
||||
LOCATIE_PLAATS,
|
||||
STATUS
|
||||
)
|
||||
AS
|
||||
SELECT mld_uitvoerende_key,
|
||||
td_naam || CHR(10) || type || ' - ' || opdrachtnr || CHR(10) || locatie_plaats || CHR(10) || 'Prio: ' || prioriteit,
|
||||
geplande_aanvang + 2/24,
|
||||
geplande_aanvang,
|
||||
mld_opdr_key,
|
||||
DECODE (status,
|
||||
'Afgewezen', '#C0C0C0', -- Afgewezen grijs
|
||||
'Afgemeld', '#C0C0C0', -- Afgemeld grijs
|
||||
'Toegekend', DECODE (LOWER(prioriteit),
|
||||
'3 - normaal', '#0000FF', -- Toegekend en prio normaal is blauw
|
||||
'4 - laag', '#20b2f5', -- Toegekend en prio laag is licht-blauw
|
||||
'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
|
||||
FROM blos_v_rap_opdrachten_intern
|
||||
WHERE status = 'Toegekend' ;
|
||||
SELECT mld_uitvoerende_key,
|
||||
td_naam
|
||||
|| CHR (10)
|
||||
|| TYPE
|
||||
|| ' - '
|
||||
|| opdrachtnr
|
||||
|| CHR (10)
|
||||
|| locatie_plaats
|
||||
|| CHR (10)
|
||||
|| 'Prio: '
|
||||
|| prioriteit,
|
||||
geplande_aanvang + 2 / 24,
|
||||
geplande_aanvang,
|
||||
mld_opdr_key,
|
||||
DECODE (
|
||||
status,
|
||||
'Afgewezen', '#C0C0C0', -- Afgewezen grijs
|
||||
'Afgemeld', '#C0C0C0', -- Afgemeld grijs
|
||||
'Toegekend', DECODE (LOWER (prioriteit),
|
||||
'3 - normaal', '#0000FF', -- Toegekend en prio normaal is blauw
|
||||
'4 - laag', '#20b2f5', -- Toegekend en prio laag is licht-blauw
|
||||
'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
|
||||
CREATE OR REPLACE VIEW BLOS_V_PERSONENLIJST_LOCMAN
|
||||
|
||||
Reference in New Issue
Block a user