Changes for page Příklady podmínek

Last modified by Petr Benda on 2025/04/04 10:23

From version 1.1
edited by Jan Šimeček
on 2024/07/16 13:04
Change comment: There is no comment for this version
To version 8.1
edited by Jan Šimeček
on 2024/08/15 11:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,11 @@
1 -[[image:https://confluence.tritius.cz/plugins/servlet/confluence/placeholder/macro?definition=e3RvY30&locale=cs_CZ&version=2]]
1 +{{toc/}}
2 2  
3 +|(% colspan="1" %)(((
3 3  = Obecné podmínky na dílo, svazek, čtenáře =
4 4  
5 -|=Popis podmínky|=(% colspan="1" %)Podmínka FOX/SQL|=(% colspan="1" %)Podmínka v [[TQL - Tritius Query Language>>url:https://confluence.tritius.cz/display/TP/TQL+-+Tritius+Query+Language]] od verze 6.1.0|=PodmínkaSQL|=(% colspan="1" %)Automatický převod
6 +|
7 +
8 +(% class="active" %)|**Popis podmínky**|(% colspan="1" %)**Podmínka FOX/SQL**|(% colspan="1" %)**Podmínka v [[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]] od verze 6.1.0**|**PodmínkaSQL**|(% colspan="1" %)**Automatický převod**
6 6  |Titulová podmínka na druh dokumentu kromě AV Media|(% colspan="1" %)druhdoku<>'AV'|(% colspan="1" %)workTypeId <> -7| |(% colspan="1" %)
7 7  |(% colspan="1" %) |(% colspan="1" %)tsign like 'TK%' or tsign like 'DH%'|(% colspan="1" %)workLocMark STARTS IN ('TK', 'DH')|(% colspan="1" %) |(% colspan="1" %)
8 8  |(% colspan="1" %) |(% colspan="1" %)druhdoku='AV' and tsign not like 'DVDB%'|(% colspan="1" %)workTypeId = -7 AND workLocMark NOT STARTS 'DVDB'|(% colspan="1" %) |(% colspan="1" %)
... ... @@ -63,38 +63,55 @@
63 63  |(% colspan="1" %)~-~- dtto ~-~-|(% colspan="1" %)S.lokace='HUD'|(% colspan="1" %)itemLocationCode = 'HUD'|(% colspan="1" %) |(% colspan="1" %)
64 64  |(% colspan="1" %) |(% colspan="1" %)cena>=700|(% colspan="1" %)itemPrice >= 700.0|(% colspan="1" %) |(% colspan="1" %)
65 65  |(% colspan="1" %)Poslední návštěva pod čtenáře.
66 -Nastavení - Vlastní informace|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)
69 +Nastavení - Vlastní informace|(% colspan="1" %) |(% colspan="1" %)UserVisit lastUserVisit = userVisitService.loadLastVisit(reader, department, now);|(% colspan="1" %) |(% colspan="1" %)
67 67  |(% colspan="1" %)Registrace do(((
68 68  Nastavení - Vlastní informace
69 -)))|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)
70 -|(% colspan="1" %)Cena svazku je větší než 500|(% colspan="1" %) |(% colspan="1" %)itemPrice > 500|(% colspan="1" %) |(% colspan="1" %)
71 -|(% colspan="1" %)tematika =|(% colspan="1" %)tematika='6'|(% colspan="1" %)itemThematicGroupId IS NULL OR itemThematicGroupId = 3|(% colspan="1" %)
72 +)))|(% colspan="1" %) |(% colspan="1" %)(((
73 +if (charge != null) {
72 72  
73 -{{{i.thematic_group in (-1)}}}|(% colspan="1" %)
74 -|(% colspan="1" %)id titulu =|(% colspan="1" %) |(% colspan="1" %)workId = 602439|(% colspan="1" %) |(% colspan="1" %)
75 + result += ", " + readerContainer.translate("Reg_until") + ": " + DateHelper.formatDate(charge.getDateTo());
76 +
77 + }
78 +)))|(% colspan="1" %) |(% colspan="1" %)
79 +|(% colspan="1" %)Cena svazku je větší než 500|(% colspan="1" %) |(% colspan="1" %)itemPrice > 500|(% colspan="1" %)return item.getPrice() ~!= null && item.getPrice().compareTo(new java.math.BigDecimal(500)) > 0;|(% colspan="1" %)
80 +|(% colspan="1" %)tematika =|(% colspan="1" %)tematika='6'|(% colspan="1" %)itemThematicGroupId IS NULL OR itemThematicGroupId = 3|(% colspan="1" %)return item.getThematicGroup() == null ~|~| item.getThematicGroup().getId().equals(3L)
75 75  |(% colspan="1" %)Nevyplněná adresa čtenáře s vyloučenými kategoriemi a čtenářské číslo menší než 9999000|(% colspan="1" %)(tulice=' ' or tmesto=' ' or tpsc=' ') and  !inlist(kategorie,'h','M','X') and ccislo < 9999000 |(% colspan="1" %)(userStreetNumberPermanent = '' OR userCityPermanent = '' OR userPostNumberPermanent = '')
76 76  AND (userCategoryCode IS NULL OR userCategoryCode NOT IN ('h', 'M', 'X'))
77 -AND userReaderNumberValue < 9999000|(% colspan="1" %) |(% colspan="1" %)
83 +AND userReaderNumberValue < 9999000|(% colspan="1" %)return (user.getStreetNumberPermanent().isEmpty() ~|~| user.getCityPermanent().isEmpty() ~|~| user.getPostNumberPermanent().isEmpty())
84 +&& !((user.getCategory() ~!= null && user.getCategory().getCode().equals("h")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("M")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("X"~)~)~)
85 +&& (user.getReaderNumber() ~!= null && user.getReaderNumber().getValue() < 9999000);
78 78  |(% colspan="1" %)Nevyplněná občanka u čtenářů starších 15 let s vyloučenými kategoriemi a čtenářské číslo menší než 9999000|(% colspan="1" %)obcanka=' ' and DekodVek(rcislo)>=15 and !inlist(kategorie,'M','h','X') and ccislo < 9999000 |(% colspan="1" %)userIdentityCardNumber IS NULL
79 79  AND userAge >= 15
80 80  AND (userCategoryCode IS NULL OR userCategoryCode NOT IN ('h', 'M', 'X'))
81 -AND userReaderNumberValue < 9999000|(% colspan="1" %) |(% colspan="1" %)
89 +AND userReaderNumberValue < 9999000|(% colspan="1" %)return !(user.getIdentityCardNumber() ~!= null)
90 +&& (user.getAge(now) ~!= null && user.getAge(now) >= 15)
91 +&& !((user.getCategory() ~!= null && user.getCategory().getCode().equals("h")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("M")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("X"~)~)~)
92 +&& (user.getReaderNumber() ~!= null && user.getReaderNumber().getValue() < 9999000);
82 82  |(% colspan="1" %)(((
83 83  Podmínka na aktuální datum a čas.
84 84  
85 85  2.3.2020 00:00:00 - 6.3.2020 23:59:59
86 -)))|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)
87 -|(% colspan="1" %)Podmínka pro anonymní vracení, kdy svazek není půjčený|(% colspan="1" %) |(% colspan="1" %)userId = -147|(% colspan="1" %) |(% colspan="1" %)
88 -|(% colspan="1" %)Podmínka pro více čtenářských čísel|(% colspan="1" %) |(% colspan="1" %)userReaderNumberValue IN (9999967, 7980, 7981, 7982, 7983, 7984)|(% colspan="1" %) |(% colspan="1" %)
89 -|(% colspan="1" %)Pravidlo registrací na určité datum, rozsah datumů nebo rozsah časů|(% colspan="1" %) |(% colspan="1" %)currentDate = '14.02.2022' OR currentDate BETWEEN ('01.03.2022', '31.03.2022') OR currentTime BETWEEN ('16:00', '17:00')|(% colspan="1" %) |(% colspan="1" %)
90 -|(% colspan="1" %)Svazek je starší než dva roky|(% colspan="1" %) |(% colspan="1" %)itemDateCreated <= nowAddMonths(-24)|(% colspan="1" %) |(% colspan="1" %)
91 -|(% colspan="1" %)Čtenář má 2 a více e-knih (výpůjčka 3. a další e-knihy) ze sklízeného zdroje ID -3, -4 za posledních 31 dní.|(% colspan="1" %) |(% colspan="1" %)(((
97 +)))|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)boolean afterStart =cz.effectiva.tritius.shared.DateHelper.parse("2.3.2020 00:00:00", "dd.MM.yyyy HH:mm:ss").compareTo(now) <= 0;
98 +boolean beforeEnd = cz.effectiva.tritius.shared.DateHelper.parse("6.3.2020 23:59:59", "dd.MM.yyyy HH:mm:ss").compareTo(now) >= 0;
99 +return afterStart && beforeEnd;
100 +|(% colspan="1" %)Podmínka pro anonymní vracení, kdy svazek není půjčený|(% colspan="1" %) |(% colspan="1" %)userId = -147|(% colspan="1" %)return user.getId() ~!= null && user.getId() == -147;
101 +|(% colspan="1" %)Podmínka pro více čtenářských čísel|(% colspan="1" %) |(% colspan="1" %)userReaderNumberValue IN (9999967, 7980, 7981, 7982, 7983, 7984)|(% colspan="1" %)return userResult.getUser().getReaderNumber() ~!= null
102 +&& java.util.Arrays.asList(9999967L, 7980L, 7981L, 7982L, 7983L,7984L).contains(userResult.getUser().getReaderNumber().getValue());
103 +|(% colspan="1" %)Pravidlo registrací na určité datum, rozsah datumů nebo rozsah časů|(% colspan="1" %) |(% colspan="1" %)currentDate = '14.02.2022' OR currentDate BETWEEN ('01.03.2022', '31.03.2022') OR currentTime BETWEEN ('16:00', '17:00')|(% colspan="1" %)return user.isDate("14.02.2022") ~|~| user.isBetweenDate("01.03.2022", "31.03.2022") ~|~| user.isTimeBetween("16:00", "17:00");
104 +|(% colspan="1" %)Svazek je starší než dva roky|(% colspan="1" %) |(% colspan="1" %)itemDateCreated <= nowAddMonths(-24)|(% colspan="1" %)return item.isOlderThan("dateCreated", 2, 0, 0);
105 +|(% colspan="1" %)Čtenář má 2 a více e-knih (výpůjčka 3. a další e-knihy) ze sklízeného zdroje ID -3, -4 za posledních 31 dní.Poslední návštěva pod čtenáře.|(% colspan="1" %) |(% colspan="1" %)(((
92 92  ~/~/ Titulová podmínka
93 93  workTypeId = -31
94 94  
95 95  ~/~/ Čtenářská podmínka
96 96  userElectronicBorrowingsCount(31, -3, -4) >= 2
97 -)))|(% colspan="1" %) |(% colspan="1" %)
111 +)))|(% colspan="1" %)(((
112 +~/~/ Titulová podmínka
113 +return work.isInWorkType(-31L);
114 +
115 +~/~/ Čtenářská podmínka
116 +return getElectronicBorrowingsCount(user, department, now, 31, -3L, -4L) >= 2;
117 +)))
98 98  |(% colspan="1" %)Čtenář má 2 a více e-knih (výpůjčka 3. a další e-knihy) ze sklízeného zdroje ID -3 a -4 za aktuální kalendářní měsíc.|(% colspan="1" %) |(% colspan="1" %)(((
99 99  ~/~/ Titulová podmínka
100 100  workTypeId = -31
... ... @@ -101,7 +101,13 @@
101 101  
102 102  ~/~/ Čtenářská podmínka
103 103  userElectronicBorrowingsCurrentMonthCount(-3, -4) >= 2
104 -)))|(% colspan="1" %) |(% colspan="1" %)
124 +)))|(% colspan="1" %)(((
125 +~/~/ Titulová podmínka
126 +return work.isInWorkType(-31L);
127 +
128 +~/~/ Čtenářská podmínka
129 +return getElectronicBorrowingsCurrentMonthCount(user, department, now, -3L, -4L) >= 2;
130 +)))
105 105  |(% colspan="1" %)Každá výpůjčka e-knihy ze sklízeného zdroje ID -3 a -4 za posledních 31 dní.|(% colspan="1" %) |(% colspan="1" %)(((
106 106  ~/~/ Titulová podmínka
107 107  workTypeId = -31
... ... @@ -108,7 +108,13 @@
108 108  
109 109  ~/~/ Čtenářská podmínka
110 110  userElectronicBorrowingsCount(31, -3, -4) >= 0
111 -)))|(% colspan="1" %) |(% colspan="1" %)
137 +)))|(% colspan="1" %)(((
138 +~/~/ Titulová podmínka
139 +return work.isInWorkType(-31L);
140 +
141 +~/~/ Čtenářská podmínka
142 +return getElectronicBorrowingsCount(user, department, now, 31, -3L, -4L) >= 0;
143 +)))
112 112  |(% colspan="1" %)Čtenář má dohromady 2 a více e-knih nebo audioknih (výpůjčka 3. a dalšího e-dokumentu) ze sklízeného zdroje ID -6 za posledních 31 dní.|(% colspan="1" %) |(% colspan="1" %)(((
113 113  ~/~/ Titulová podmínka
114 114  workTypeId IN (-31, -32)
... ... @@ -115,11 +115,14 @@
115 115  
116 116  ~/~/ Čtenářská podmínka
117 117  userElectronicBorrowingsCount(31, -6) >= 2
118 -)))|(% colspan="1" %) |(% colspan="1" %)
150 +)))|(% colspan="1" %)
119 119  |(% colspan="1" %)Kontrola abecedy na regálech v revizi|(% colspan="1" %) |(% colspan="1" %)~/~/ V revizi je potřeba povolit použítí regálů
120 120  ~/~/ Pro každé písmeno abecedy je potřeba vytvořit vlastní regál
121 121  ~/~/ Titulová podmínka
122 -workAuthorShow STARTS 'A' OR (workAuthorShow = '' AND workTitleShow STARTS 'A')|(% colspan="1" %) |(% colspan="1" %)
154 +workAuthorShow STARTS 'A' OR (workAuthorShow = '' AND workTitleShow STARTS 'A')|(% colspan="1" %)~/~/ V revizi je potřeba povolit použítí regálů
155 +~/~/ Pro každé písmeno abecedy je potřeba vytvořit vlastní regál
156 +~/~/ Titulová podmínka
157 +return work.getAuthorShow() ~!= null && !work.getAuthorShow().isEmpty() ? work.getAuthorShow().startsWith("A") : work.getTitleShow().startsWith("A");
123 123  |(% colspan="1" %)Dílo/svazek má přiřazený alespoň jeden z uvedených štítků (zadává se ID štítku)|(% colspan="1" %) |(% colspan="1" %)(((
124 124  ~/~/ Titulová podmínka
125 125  workHasAnyLabelIds(5, 8)
... ... @@ -126,7 +126,7 @@
126 126  
127 127  ~/~/ Svazková podmínka
128 128  itemHasAnyLabelIds(5, 8)
129 -)))|(% colspan="1" %) |(% colspan="1" %)
164 +)))|(% colspan="1" %)
130 130  |(% colspan="1" %)Dílo/svazek má přiřazené všechny uvedené štítky (zadává se ID štítku)|(% colspan="1" %) |(% colspan="1" %)(((
131 131  ~/~/ Titulová podmínka
132 132  workHasAllLabelIds(3, 6)
... ... @@ -133,7 +133,8 @@
133 133  
134 134  ~/~/ Svazková podmínka
135 135  itemHasAllLabelIds(3, 6)
136 -)))|(% colspan="1" %) |(% colspan="1" %)
171 +)))|(% colspan="1" %)
172 +)))|(% colspan="1" %)
137 137  
138 138  = SQL podmínky (na díla, svazky, ...) =
139 139  
... ... @@ -158,11 +158,10 @@
158 158  * **Pokud bude použit jiný operátor nebo formát datumu, nebude SQL podmínka validní, popř. nemusí fungovat správně!**
159 159  
160 160  
161 -
162 162  |(((
163 163  = Pravidla akcí - Změny před/po akci =
164 164  
165 -|=Popis|=(% colspan="1" %)[[TQL - Tritius Query Language>>url:https://confluence.tritius.cz/display/TP/TQL+-+Tritius+Query+Language]] před akcí od verze 6.1.0|=(% colspan="1" %)[[TQL - Tritius Query Language>>url:https://confluence.tritius.cz/display/TP/TQL+-+Tritius+Query+Language]] po akci od verze 6.1.0|=(% colspan="1" %)JAVA podmínka před akcí|=JAVA podmínka po akci|=(% colspan="1" %)Poznámka
200 +|=Popis|=(% colspan="1" %)[[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]] před akcí od verze 6.1.0|=(% colspan="1" %)[[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]] po akci od verze 6.1.0|=(% colspan="1" %)JAVA podmínka před akcí|=JAVA podmínka po akci|=(% colspan="1" %)Poznámka
166 166  |(% colspan="1" %)Přepůjčení svazku čtenáři s id = 1|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)skipReservations(params);|(% colspan="1" %)borrowToReader(1L, item, department, now);|(% colspan="1" %)Od verze 1.22.0
167 167  |(% colspan="1" %)Přepůjčení svazku čtenáři s id = 1 pokud neexistuje rezervace|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)borrowToReaderIfNotReserved(1L, item, department, now);|(% colspan="1" %)Od verze 1.28.0
168 168  |(% colspan="1" %)Změna kategorie svazku po vrácení|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)item.setBorrowCategory(serviceProvider.getBorrowCategoryService().load(1102L));|(% colspan="1" %)-
... ... @@ -173,19 +173,14 @@
173 173  item.setLocationOwner(serviceProvider.getLocationService().load(245L));
174 174  )))|(% colspan="1" %)-
175 175  
211 +|=Popis|=(% colspan="1" %)[[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]] podmínka od verze 6.1.0|=JAVA podmínka|=Poznámka
212 +|Čtenářská podmínka, zda má čtenář platnou registraci na oddělení, na které přichází.|(% colspan="1" %) |
176 176  
177 -|=Popis|=(% colspan="1" %)[[TQL - Tritius Query Language>>url:https://confluence.tritius.cz/display/TP/TQL+-+Tritius+Query+Language]] podmínka od verze 6.1.0|=JAVA podmínka|=Poznámka
178 -|Čtenářská podmínka, zda má čtenář platnou registraci na oddělení, na které přichází.|(% colspan="1" %) |
214 +{{{cz.effectiva.tritius.server.ao.contexts.ServiceContext context = cz.effectiva.tritius.utils.UserContext.createCurrentContext(now); cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest request = cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest.lastEndingActiveOf(userResult.getUser(), department, context); return serviceProvider.getRegistrationService().checkRegistration(request).isHasActiveRegistration();}}}|-
179 179  
180 -{{{cz.effectiva.tritius.server.ao.contexts.ServiceContext context = cz.effectiva.tritius.utils.UserContext.createCurrentContext(now);
181 -cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest request = cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest.lastEndingActiveOf(userResult.getUser(), department, context);
182 -return serviceProvider.getRegistrationService().checkRegistration(request).isHasActiveRegistration();}}}|-
183 -|(% colspan="1" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení id=123.|(% colspan="1" %) |(% colspan="1" %)
216 +|(% colspan="1" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení id=123.|(% colspan="1" %) |(% colspan="1" %)
184 184  
185 -{{{cz.effectiva.tritius.server.ao.contexts.ServiceContext context = cz.effectiva.tritius.utils.UserContext.createCurrentContext(now);
186 -department = serviceProvider.getDepartmentService().load(123L);
187 -cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest request = cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest.lastEndingActiveOf(userResult.getUser(), department, context);
188 -return serviceProvider.getRegistrationService().checkRegistration(request).isHasActiveRegistration();}}}|(% colspan="1" %)-
218 +{{{cz.effectiva.tritius.server.ao.contexts.ServiceContext context = cz.effectiva.tritius.utils.UserContext.createCurrentContext(now); department = serviceProvider.getDepartmentService().load(123L); cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest request = cz.effectiva.tritius.server.usecase.registration.CheckRegistrationRequest.lastEndingActiveOf(userResult.getUser(), department, context); return serviceProvider.getRegistrationService().checkRegistration(request).isHasActiveRegistration();}}}|(% colspan="1" %)-
189 189  
190 190  
191 191  **Automatické přepůjčení na karanténu**
... ... @@ -193,10 +193,9 @@
193 193  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2021-3-23_12-8-7.png?version=1&modificationDate=1616497688000&api=v2]]
194 194  )))
195 195  
196 -
197 197  = Dispečink internetu =
198 198  
199 -|=Popis příkazu|=(% colspan="1" %)Podmínka v [[TQL - Tritius Query Language>>url:https://confluence.tritius.cz/display/TP/TQL+-+Tritius+Query+Language]] od verze 6.1.0|=(% colspan="1" %)Java podmínka|=(% colspan="1" %)Poznámka
228 +|=Popis příkazu|=(% colspan="1" %)Podmínka v [[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]] od verze 6.1.0|=(% colspan="1" %)Java podmínka|=(% colspan="1" %)Poznámka
200 200  |(% colspan="1" %)Podmínka na konkrétního uživatele|(% colspan="1" %)userReaderNumberValue= 644|(% colspan="1" %)return (userResult ~!= null && userResult.getUser() ~!= null && userResult.getUser().getReaderNumber() ~!=null) ? userResult.getUser().getReaderNumber().getValue().equals(644L) : false;|(% colspan="1" %)
201 201  
202 202  = Vlastní informace =
... ... @@ -203,12 +203,12 @@
203 203  
204 204  Používá se **FreeMarker**. Viz Google a psaní podmínek.
205 205  
206 -|=Popis|=(% colspan="1" %)Kód|=Náhled
207 -|(((
235 +|=(% style="width: 255px;" %)Popis|=(% colspan="1" style="width: 745px;" %)Kód|=(% style="width: 517px;" %)Náhled
236 +|(% style="width:255px" %)(((
208 208  Čtenářské číslo; - Jméno čtenáře
209 209  
210 210  Datum narození; Datum poslední návštěvy; - Počet čekajících rezervací a odložení; - Text z kolonky POZOR
211 -)))|(% colspan="1" %)(((
240 +)))|(% colspan="1" style="width:745px" %)(((
212 212  <#if container.getBirthdate()??>
213 213  ${container.getBirthdate()?datetime?string('dd.MM.yy')}
214 214  </#if>
... ... @@ -222,24 +222,24 @@
222 222  <#if container.hasCautionNote()>
223 223  - <font color="red"> ${container.getCautionNote()}</font>
224 224  </#if>
225 -)))|(((
254 +)))|(% style="width:517px" %)(((
226 226  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A29%3A14.png?version=1&modificationDate=1567495748000&api=v2]]
227 227  )))
228 -|(% colspan="1" %)(((
257 +|(% colspan="1" style="width:255px" %)(((
229 229  Čtenářské číslo; - Jméno čtenáře
230 230  
231 231  Věk čtenáře; @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace
232 -)))|(% colspan="1" %)<#if container.getAgeFormated()??>
261 +)))|(% colspan="1" style="width:745px" %)<#if container.getAgeFormated()??>
233 233  Věk: ${container.getAgeFormated()}
234 234  </#if>
235 -${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" %)(((
264 +${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" style="width:517px" %)(((
236 236  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A33%3A56.png?version=1&modificationDate=1567496030000&api=v2]]
237 237  )))
238 -|(% colspan="1" %)(((
267 +|(% colspan="1" style="width:255px" %)(((
239 239  Čtenářské číslo; - Jméno čtenáře
240 240  
241 241  Počet čekajících rezervací a odložení; Datum poslední návštěvy; Datum konce registrace
242 -)))|(% colspan="1" %)(((
271 +)))|(% colspan="1" style="width:745px" %)(((
243 243  <#if container.getWaitingRequestsCount()!=0>
244 244  <font color="red">${container.translate("Waiting_retrievals")}: ${container.getWaitingRequestsCount()}
245 245  </font>
... ... @@ -246,27 +246,27 @@
246 246  </#if>
247 247  
248 248  ${container.getInfoMailLastVisitEndingRegistration()}
249 -)))|(% colspan="1" %)(((
278 +)))|(% colspan="1" style="width:517px" %)(((
250 250  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A37%3A5.png?version=1&modificationDate=1567496219000&api=v2]]
251 251  )))
252 -|(% colspan="1" %)(((
281 +|(% colspan="1" style="width:255px" %)(((
253 253  Čtenářské číslo; - Jméno čtenáře
254 254  
255 255  @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace (zeleně pokud platí, červeně pokud již skončila)
256 -)))|(% colspan="1" %)${container.getInfoMailLastVisit()}
285 +)))|(% colspan="1" style="width:745px" %)${container.getInfoMailLastVisit()}
257 257  <#if container.isRegistrationExpired() && container.loadLastEndingRegistrationCharge()??>
258 258  <font color="red">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
259 259  </#if>
260 260  <#if container.isRegistrationExpired()==false && container.loadLastEndingRegistrationCharge()??>
261 261  <font color="green">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
262 -</#if>|(% colspan="1" %)(((
291 +</#if>|(% colspan="1" style="width:517px" %)(((
263 263  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-6%2011%3A1%3A21.png?version=1&modificationDate=1567760475000&api=v2]]
264 264  )))
265 -|(% colspan="1" %)(((
294 +|(% colspan="1" style="width:255px" %)(((
266 266  Čtenářské číslo; - Jméno čtenáře
267 267  
268 268  @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace (zeleně pokud platí, červeně pokud během 31 dní vyprší)
269 -)))|(% colspan="1" %)(((
298 +)))|(% colspan="1" style="width:745px" %)(((
270 270  ${container.getInfoMailLastVisit()}
271 271  
272 272  <#if container.getWaitingRequestsCount()!=0>
... ... @@ -282,17 +282,17 @@
282 282  </#if>
283 283  ${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
284 284  </#if>
285 -)))|(% colspan="1" %)(((
314 +)))|(% colspan="1" style="width:517px" %)(((
286 286  [[image:https://confluence.tritius.cz/download/attachments/35815451/snimek-vlastni-info.png?version=1&modificationDate=1602765335000&api=v2]]
287 287  )))
288 -|(% colspan="1" %)Věk obarvený podle let. Nad 15 (a zároveň) červený, pod 15 modrý. |(% colspan="1" %)<#if container.getAgeFormated()??>
317 +|(% colspan="1" style="width:255px" %)Věk obarvený podle let. Nad 15 (a zároveň) červený, pod 15 modrý. |(% colspan="1" style="width:745px" %)<#if container.getAgeFormated()??>
289 289   <#if container.getAgeFormated()?number gte 15>
290 290   Věk: <font color="red"> ${container.getAgeFormated()}</font>
291 291   <#else>
292 292   Věk: <font color="blue"> ${container.getAgeFormated()}</font>
293 293   </#if>
294 -</#if>|(% colspan="1" %)
295 -|(% colspan="1" %)(((
323 +</#if>|(% colspan="1" style="width:517px" %)
324 +|(% colspan="1" style="width:255px" %)(((
296 296  Rozpis počtu čekajících objednávek čtenáře.
297 297  
298 298  Jednotlivé typy objednávek se oddělují lomenem.
... ... @@ -302,10 +302,11 @@
302 302  Daný typ se zobrazuje pouze pokud pro daný typ existuje alespoň jedna čekající objednávka.
303 303  
304 304  
305 -)))|(% colspan="1" %)(((
334 +)))|(% colspan="1" style="width:745px" %)(((
306 306  ${container.getInfoMailLastVisit()}
307 307  
308 -<#if container.getWaitingRequestsCount() != 0>
337 +<#if (container.getWaitingRequestsCount() != 0 ||
338 +container.getInsertedBoxRetrievalRequestsDepartmentCount() != 0)>
309 309   <font color="red"> - Ček.
310 310  
311 311   <#if container.getWaitingReservationCount() != 0>
... ... @@ -336,10 +336,10 @@
336 336  
337 337   </font>
338 338  </#if>
339 -)))|(% colspan="1" %)(((
369 +)))|(% colspan="1" style="width:517px" %)(((
340 340  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-23-44.png?version=1&modificationDate=1710419025000&api=v2||width="500"]]
341 341  )))
342 -|(% colspan="1" %)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1" %)(((
372 +|(% colspan="1" style="width:255px" %)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1" style="width:745px" %)(((
343 343  <#if container.hasBirthday()>
344 344   <font color="red"> - narozeniny</font>
345 345  </#if>
... ... @@ -347,14 +347,14 @@
347 347  <#if container.hasNameDay()>
348 348   <font color="red"> - svátek</font>
349 349  </#if>
350 -)))|(% colspan="1" %)(((
380 +)))|(% colspan="1" style="width:517px" %)(((
351 351  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-37-46.png?version=1&modificationDate=1710419867000&api=v2||width="400"]]
352 352  )))
353 -|(% colspan="1" %)(((
383 +|(% colspan="1" style="width:255px" %)(((
354 354  Výchozí stav ( mail, posl. návštěva, svátek, čekající rez./odl. ) + věk různobarevný podle hranice 15let
355 355  
356 356  * použito v Domažlice
357 -)))|(% colspan="1" %)(((
387 +)))|(% colspan="1" style="width:745px" %)(((
358 358  ${container.getInfoMailLastVisit()} <#if container.hasNameDay()> <font color="red"> - ${container.translate("has_nameday_today")}.</font> </#if> <#if container.getWaitingRequestsCount()!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if>
359 359  
360 360  <#if container.getAgeFormated()??>
... ... @@ -364,12 +364,12 @@
364 364   Věk: <font color="blue"> ${container.getAgeFormated()}</font>
365 365   </#if>
366 366  </#if>
367 -)))|(% colspan="1" %)
368 -|(% colspan="1" %)(((
397 +)))|(% colspan="1" style="width:517px" %)
398 +|(% colspan="1" style="width:255px" %)(((
369 369  Mail, posl. návštěva, končící registrace , povolání, vzdělání, škola, svátek a čekající rez./odl.
370 370  
371 371  * použito v Chotěboř
372 -)))|(% colspan="1" %)(((
402 +)))|(% colspan="1" style="width:745px" %)(((
373 373  ${container.getInfoMailLastVisitEndingRegistration()}
374 374  <#if container.hasProfession()>
375 375   <font color="green">${container.getProfession()}</font>
... ... @@ -384,12 +384,12 @@
384 384  </#if> <#if container.getWaitingRequestsCount()!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if>
385 385  
386 386  
387 -)))|(% colspan="1" %)
388 -|(% colspan="1" %)(((
417 +)))|(% colspan="1" style="width:517px" %)
418 +|(% colspan="1" style="width:255px" %)(((
389 389  Mail, posl. návštěva, vzdělání, povolání, svátek, čekající rez./odl.
390 390  
391 391  * použito v UNYP
392 -)))|(% colspan="1" %)${container.getInfoMailLastVisit()} 
422 +)))|(% colspan="1" style="width:745px" %)${container.getInfoMailLastVisit()} 
393 393  <#if container.hasEducationLevel()>
394 394   <font color="orange">${container.getEducationLevel()}</font>
395 395  </#if>
... ... @@ -396,6 +396,4 @@
396 396  <#if container.hasProfession()>
397 397   <font color="green">${container.getProfession()}</font>
398 398  </#if>
399 -<#if container.hasNameDay()> <font color="red"> - ${container.translate("has_nameday_today")}.</font> </#if> <#if container.getWaitingRequestsCount()~!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if>|(% colspan="1" %)
400 -
401 -
429 +<#if container.hasNameDay()> <font color="red"> - ${container.translate("has_nameday_today")}.</font> </#if> <#if container.getWaitingRequestsCount()~!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if>|(% colspan="1" style="width:517px" %)