Changes for page Příklady podmínek

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

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

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,8 @@
1 -{{toc/}}
1 +[[image:https://confluence.tritius.cz/plugins/servlet/confluence/placeholder/macro?definition=e3RvY30&locale=cs_CZ&version=2]]
2 2  
3 -|(% colspan="1" %)(((
4 4  = Obecné podmínky na dílo, svazek, čtenáře =
5 5  
6 -(% 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**
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
7 7  |Titulová podmínka na druh dokumentu kromě AV Media|(% colspan="1" %)druhdoku<>'AV'|(% colspan="1" %)workTypeId <> -7| |(% colspan="1" %)
8 8  |(% colspan="1" %) |(% colspan="1" %)tsign like 'TK%' or tsign like 'DH%'|(% colspan="1" %)workLocMark STARTS IN ('TK', 'DH')|(% colspan="1" %) |(% colspan="1" %)
9 9  |(% colspan="1" %) |(% colspan="1" %)druhdoku='AV' and tsign not like 'DVDB%'|(% colspan="1" %)workTypeId = -7 AND workLocMark NOT STARTS 'DVDB'|(% colspan="1" %) |(% colspan="1" %)
... ... @@ -64,55 +64,38 @@
64 64  |(% colspan="1" %)~-~- dtto ~-~-|(% colspan="1" %)S.lokace='HUD'|(% colspan="1" %)itemLocationCode = 'HUD'|(% colspan="1" %) |(% colspan="1" %)
65 65  |(% colspan="1" %) |(% colspan="1" %)cena>=700|(% colspan="1" %)itemPrice >= 700.0|(% colspan="1" %) |(% colspan="1" %)
66 66  |(% colspan="1" %)Poslední návštěva pod čtenáře.
67 -Nastavení - Vlastní informace|(% colspan="1" %) |(% colspan="1" %)UserVisit lastUserVisit = userVisitService.loadLastVisit(reader, department, now);|(% colspan="1" %) |(% colspan="1" %)
66 +Nastavení - Vlastní informace|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %)
68 68  |(% colspan="1" %)Registrace do(((
69 69  Nastavení - Vlastní informace
70 -)))|(% colspan="1" %) |(% colspan="1" %)(((
71 -if (charge != null) {
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 72  
73 - result += ", " + readerContainer.translate("Reg_until") + ": " + DateHelper.formatDate(charge.getDateTo());
74 -
75 - }
76 -)))|(% colspan="1" %) |(% colspan="1" %)
77 -|(% 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" %)
78 -|(% 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)
73 +{{{i.thematic_group in (-1)}}}|(% colspan="1" %)
74 +|(% colspan="1" %)id titulu =|(% colspan="1" %) |(% colspan="1" %)workId = 602439|(% colspan="1" %) |(% colspan="1" %)
79 79  |(% 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 = '')
80 80  AND (userCategoryCode IS NULL OR userCategoryCode NOT IN ('h', 'M', 'X'))
81 -AND userReaderNumberValue < 9999000|(% colspan="1" %)return (user.getStreetNumberPermanent().isEmpty() ~|~| user.getCityPermanent().isEmpty() ~|~| user.getPostNumberPermanent().isEmpty())
82 -&& !((user.getCategory() ~!= null && user.getCategory().getCode().equals("h")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("M")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("X"~)~)~)
83 -&& (user.getReaderNumber() ~!= null && user.getReaderNumber().getValue() < 9999000);
77 +AND userReaderNumberValue < 9999000|(% colspan="1" %) |(% colspan="1" %)
84 84  |(% 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
85 85  AND userAge >= 15
86 86  AND (userCategoryCode IS NULL OR userCategoryCode NOT IN ('h', 'M', 'X'))
87 -AND userReaderNumberValue < 9999000|(% colspan="1" %)return !(user.getIdentityCardNumber() ~!= null)
88 -&& (user.getAge(now) ~!= null && user.getAge(now) >= 15)
89 -&& !((user.getCategory() ~!= null && user.getCategory().getCode().equals("h")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("M")) ~|~| (user.getCategory() ~!= null && user.getCategory().getCode().equals("X"~)~)~)
90 -&& (user.getReaderNumber() ~!= null && user.getReaderNumber().getValue() < 9999000);
81 +AND userReaderNumberValue < 9999000|(% colspan="1" %) |(% colspan="1" %)
91 91  |(% colspan="1" %)(((
92 92  Podmínka na aktuální datum a čas.
93 93  
94 94  2.3.2020 00:00:00 - 6.3.2020 23:59:59
95 -)))|(% 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;
96 -boolean beforeEnd = cz.effectiva.tritius.shared.DateHelper.parse("6.3.2020 23:59:59", "dd.MM.yyyy HH:mm:ss").compareTo(now) >= 0;
97 -return afterStart && beforeEnd;
98 -|(% 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;
99 -|(% 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
100 -&& java.util.Arrays.asList(9999967L, 7980L, 7981L, 7982L, 7983L,7984L).contains(userResult.getUser().getReaderNumber().getValue());
101 -|(% 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");
102 -|(% colspan="1" %)Svazek je starší než dva roky|(% colspan="1" %) |(% colspan="1" %)itemDateCreated <= nowAddMonths(-24)|(% colspan="1" %)return item.isOlderThan("dateCreated", 2, 0, 0);
103 -|(% 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" %)(((
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" %)(((
104 104  ~/~/ Titulová podmínka
105 105  workTypeId = -31
106 106  
107 107  ~/~/ Čtenářská podmínka
108 108  userElectronicBorrowingsCount(31, -3, -4) >= 2
109 -)))|(% colspan="1" %)(((
110 -~/~/ Titulová podmínka
111 -return work.isInWorkType(-31L);
112 -
113 -~/~/ Čtenářská podmínka
114 -return getElectronicBorrowingsCount(user, department, now, 31, -3L, -4L) >= 2;
115 -)))
97 +)))|(% colspan="1" %) |(% colspan="1" %)
116 116  |(% 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" %)(((
117 117  ~/~/ Titulová podmínka
118 118  workTypeId = -31
... ... @@ -119,13 +119,7 @@
119 119  
120 120  ~/~/ Čtenářská podmínka
121 121  userElectronicBorrowingsCurrentMonthCount(-3, -4) >= 2
122 -)))|(% colspan="1" %)(((
123 -~/~/ Titulová podmínka
124 -return work.isInWorkType(-31L);
125 -
126 -~/~/ Čtenářská podmínka
127 -return getElectronicBorrowingsCurrentMonthCount(user, department, now, -3L, -4L) >= 2;
128 -)))
104 +)))|(% colspan="1" %) |(% colspan="1" %)
129 129  |(% 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" %)(((
130 130  ~/~/ Titulová podmínka
131 131  workTypeId = -31
... ... @@ -132,13 +132,7 @@
132 132  
133 133  ~/~/ Čtenářská podmínka
134 134  userElectronicBorrowingsCount(31, -3, -4) >= 0
135 -)))|(% colspan="1" %)(((
136 -~/~/ Titulová podmínka
137 -return work.isInWorkType(-31L);
138 -
139 -~/~/ Čtenářská podmínka
140 -return getElectronicBorrowingsCount(user, department, now, 31, -3L, -4L) >= 0;
141 -)))
111 +)))|(% colspan="1" %) |(% colspan="1" %)
142 142  |(% 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" %)(((
143 143  ~/~/ Titulová podmínka
144 144  workTypeId IN (-31, -32)
... ... @@ -145,14 +145,11 @@
145 145  
146 146  ~/~/ Čtenářská podmínka
147 147  userElectronicBorrowingsCount(31, -6) >= 2
148 -)))|(% colspan="1" %)
118 +)))|(% colspan="1" %) |(% colspan="1" %)
149 149  |(% colspan="1" %)Kontrola abecedy na regálech v revizi|(% colspan="1" %) |(% colspan="1" %)~/~/ V revizi je potřeba povolit použítí regálů
150 150  ~/~/ Pro každé písmeno abecedy je potřeba vytvořit vlastní regál
151 151  ~/~/ Titulová podmínka
152 -workAuthorShow STARTS 'A' OR (workAuthorShow = '' AND workTitleShow STARTS 'A')|(% colspan="1" %)~/~/ V revizi je potřeba povolit použítí regálů
153 -~/~/ Pro každé písmeno abecedy je potřeba vytvořit vlastní regál
154 -~/~/ Titulová podmínka
155 -return work.getAuthorShow() ~!= null && !work.getAuthorShow().isEmpty() ? work.getAuthorShow().startsWith("A") : work.getTitleShow().startsWith("A");
122 +workAuthorShow STARTS 'A' OR (workAuthorShow = '' AND workTitleShow STARTS 'A')|(% colspan="1" %) |(% colspan="1" %)
156 156  |(% 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" %)(((
157 157  ~/~/ Titulová podmínka
158 158  workHasAnyLabelIds(5, 8)
... ... @@ -159,7 +159,7 @@
159 159  
160 160  ~/~/ Svazková podmínka
161 161  itemHasAnyLabelIds(5, 8)
162 -)))|(% colspan="1" %)
129 +)))|(% colspan="1" %) |(% colspan="1" %)
163 163  |(% colspan="1" %)Dílo/svazek má přiřazené všechny uvedené štítky (zadává se ID štítku)|(% colspan="1" %) |(% colspan="1" %)(((
164 164  ~/~/ Titulová podmínka
165 165  workHasAllLabelIds(3, 6)
... ... @@ -166,8 +166,7 @@
166 166  
167 167  ~/~/ Svazková podmínka
168 168  itemHasAllLabelIds(3, 6)
169 -)))|(% colspan="1" %)
170 -)))|(% colspan="1" %)
136 +)))|(% colspan="1" %) |(% colspan="1" %)
171 171  
172 172  = SQL podmínky (na díla, svazky, ...) =
173 173  
... ... @@ -192,10 +192,11 @@
192 192  * **Pokud bude použit jiný operátor nebo formát datumu, nebude SQL podmínka validní, popř. nemusí fungovat správně!**
193 193  
194 194  
161 +
195 195  |(((
196 196  = Pravidla akcí - Změny před/po akci =
197 197  
198 -|=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
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
199 199  |(% 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
200 200  |(% 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
201 201  |(% 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" %)-
... ... @@ -206,14 +206,19 @@
206 206  item.setLocationOwner(serviceProvider.getLocationService().load(245L));
207 207  )))|(% colspan="1" %)-
208 208  
209 -|=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
210 -|Čtenářská podmínka, zda má čtenář platnou registraci na oddělení, na které přichází.|(% colspan="1" %) |
211 211  
212 -{{{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();}}}|-
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" %) |
213 213  
214 -|(% colspan="1" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení id=123.|(% colspan="1" %) |(% colspan="1" %)
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" %)
215 215  
216 -{{{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" %)-
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" %)-
217 217  
218 218  
219 219  **Automatické přepůjčení na karanténu**
... ... @@ -221,9 +221,10 @@
221 221  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2021-3-23_12-8-7.png?version=1&modificationDate=1616497688000&api=v2]]
222 222  )))
223 223  
196 +
224 224  = Dispečink internetu =
225 225  
226 -|=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
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
227 227  |(% 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" %)
228 228  
229 229  = Vlastní informace =
... ... @@ -230,12 +230,12 @@
230 230  
231 231  Používá se **FreeMarker**. Viz Google a psaní podmínek.
232 232  
233 -|=(% style="width: 255px;" %)Popis|=(% colspan="1" style="width: 745px;" %)Kód|=(% style="width: 517px;" %)Náhled
234 -|(% style="width:255px" %)(((
206 +|=Popis|=(% colspan="1" %)Kód|=Náhled
207 +|(((
235 235  Čtenářské číslo; - Jméno čtenáře
236 236  
237 237  Datum narození; Datum poslední návštěvy; - Počet čekajících rezervací a odložení; - Text z kolonky POZOR
238 -)))|(% colspan="1" style="width:745px" %)(((
211 +)))|(% colspan="1" %)(((
239 239  <#if container.getBirthdate()??>
240 240  ${container.getBirthdate()?datetime?string('dd.MM.yy')}
241 241  </#if>
... ... @@ -249,24 +249,24 @@
249 249  <#if container.hasCautionNote()>
250 250  - <font color="red"> ${container.getCautionNote()}</font>
251 251  </#if>
252 -)))|(% style="width:517px" %)(((
225 +)))|(((
253 253  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A29%3A14.png?version=1&modificationDate=1567495748000&api=v2]]
254 254  )))
255 -|(% colspan="1" style="width:255px" %)(((
228 +|(% colspan="1" %)(((
256 256  Čtenářské číslo; - Jméno čtenáře
257 257  
258 258  Věk čtenáře; @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace
259 -)))|(% colspan="1" style="width:745px" %)<#if container.getAgeFormated()??>
232 +)))|(% colspan="1" %)<#if container.getAgeFormated()??>
260 260  Věk: ${container.getAgeFormated()}
261 261  </#if>
262 -${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" style="width:517px" %)(((
235 +${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" %)(((
263 263  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A33%3A56.png?version=1&modificationDate=1567496030000&api=v2]]
264 264  )))
265 -|(% colspan="1" style="width:255px" %)(((
238 +|(% colspan="1" %)(((
266 266  Čtenářské číslo; - Jméno čtenáře
267 267  
268 268  Počet čekajících rezervací a odložení; Datum poslední návštěvy; Datum konce registrace
269 -)))|(% colspan="1" style="width:745px" %)(((
242 +)))|(% colspan="1" %)(((
270 270  <#if container.getWaitingRequestsCount()!=0>
271 271  <font color="red">${container.translate("Waiting_retrievals")}: ${container.getWaitingRequestsCount()}
272 272  </font>
... ... @@ -273,27 +273,27 @@
273 273  </#if>
274 274  
275 275  ${container.getInfoMailLastVisitEndingRegistration()}
276 -)))|(% colspan="1" style="width:517px" %)(((
249 +)))|(% colspan="1" %)(((
277 277  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A37%3A5.png?version=1&modificationDate=1567496219000&api=v2]]
278 278  )))
279 -|(% colspan="1" style="width:255px" %)(((
252 +|(% colspan="1" %)(((
280 280  Čtenářské číslo; - Jméno čtenáře
281 281  
282 282  @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace (zeleně pokud platí, červeně pokud již skončila)
283 -)))|(% colspan="1" style="width:745px" %)${container.getInfoMailLastVisit()}
256 +)))|(% colspan="1" %)${container.getInfoMailLastVisit()}
284 284  <#if container.isRegistrationExpired() && container.loadLastEndingRegistrationCharge()??>
285 285  <font color="red">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
286 286  </#if>
287 287  <#if container.isRegistrationExpired()==false && container.loadLastEndingRegistrationCharge()??>
288 288  <font color="green">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
289 -</#if>|(% colspan="1" style="width:517px" %)(((
262 +</#if>|(% colspan="1" %)(((
290 290  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-6%2011%3A1%3A21.png?version=1&modificationDate=1567760475000&api=v2]]
291 291  )))
292 -|(% colspan="1" style="width:255px" %)(((
265 +|(% colspan="1" %)(((
293 293  Čtenářské číslo; - Jméno čtenáře
294 294  
295 295  @ 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ší)
296 -)))|(% colspan="1" style="width:745px" %)(((
269 +)))|(% colspan="1" %)(((
297 297  ${container.getInfoMailLastVisit()}
298 298  
299 299  <#if container.getWaitingRequestsCount()!=0>
... ... @@ -309,17 +309,17 @@
309 309  </#if>
310 310  ${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font>
311 311  </#if>
312 -)))|(% colspan="1" style="width:517px" %)(((
285 +)))|(% colspan="1" %)(((
313 313  [[image:https://confluence.tritius.cz/download/attachments/35815451/snimek-vlastni-info.png?version=1&modificationDate=1602765335000&api=v2]]
314 314  )))
315 -|(% 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()??>
288 +|(% colspan="1" %)Věk obarvený podle let. Nad 15 (a zároveň) červený, pod 15 modrý. |(% colspan="1" %)<#if container.getAgeFormated()??>
316 316   <#if container.getAgeFormated()?number gte 15>
317 317   Věk: <font color="red"> ${container.getAgeFormated()}</font>
318 318   <#else>
319 319   Věk: <font color="blue"> ${container.getAgeFormated()}</font>
320 320   </#if>
321 -</#if>|(% colspan="1" style="width:517px" %)
322 -|(% colspan="1" style="width:255px" %)(((
294 +</#if>|(% colspan="1" %)
295 +|(% colspan="1" %)(((
323 323  Rozpis počtu čekajících objednávek čtenáře.
324 324  
325 325  Jednotlivé typy objednávek se oddělují lomenem.
... ... @@ -329,11 +329,10 @@
329 329  Daný typ se zobrazuje pouze pokud pro daný typ existuje alespoň jedna čekající objednávka.
330 330  
331 331  
332 -)))|(% colspan="1" style="width:745px" %)(((
305 +)))|(% colspan="1" %)(((
333 333  ${container.getInfoMailLastVisit()}
334 334  
335 -<#if (container.getWaitingRequestsCount() != 0 ||
336 -container.getInsertedBoxRetrievalRequestsDepartmentCount() != 0)>
308 +<#if container.getWaitingRequestsCount() != 0>
337 337   <font color="red"> - Ček.
338 338  
339 339   <#if container.getWaitingReservationCount() != 0>
... ... @@ -364,10 +364,10 @@
364 364  
365 365   </font>
366 366  </#if>
367 -)))|(% colspan="1" style="width:517px" %)(((
339 +)))|(% colspan="1" %)(((
368 368  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-23-44.png?version=1&modificationDate=1710419025000&api=v2||width="500"]]
369 369  )))
370 -|(% colspan="1" style="width:255px" %)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1" style="width:745px" %)(((
342 +|(% colspan="1" %)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1" %)(((
371 371  <#if container.hasBirthday()>
372 372   <font color="red"> - narozeniny</font>
373 373  </#if>
... ... @@ -375,14 +375,14 @@
375 375  <#if container.hasNameDay()>
376 376   <font color="red"> - svátek</font>
377 377  </#if>
378 -)))|(% colspan="1" style="width:517px" %)(((
350 +)))|(% colspan="1" %)(((
379 379  [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-37-46.png?version=1&modificationDate=1710419867000&api=v2||width="400"]]
380 380  )))
381 -|(% colspan="1" style="width:255px" %)(((
353 +|(% colspan="1" %)(((
382 382  Výchozí stav ( mail, posl. návštěva, svátek, čekající rez./odl. ) + věk různobarevný podle hranice 15let
383 383  
384 384  * použito v Domažlice
385 -)))|(% colspan="1" style="width:745px" %)(((
357 +)))|(% colspan="1" %)(((
386 386  ${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>
387 387  
388 388  <#if container.getAgeFormated()??>
... ... @@ -392,12 +392,12 @@
392 392   Věk: <font color="blue"> ${container.getAgeFormated()}</font>
393 393   </#if>
394 394  </#if>
395 -)))|(% colspan="1" style="width:517px" %)
396 -|(% colspan="1" style="width:255px" %)(((
367 +)))|(% colspan="1" %)
368 +|(% colspan="1" %)(((
397 397  Mail, posl. návštěva, končící registrace , povolání, vzdělání, škola, svátek a čekající rez./odl.
398 398  
399 399  * použito v Chotěboř
400 -)))|(% colspan="1" style="width:745px" %)(((
372 +)))|(% colspan="1" %)(((
401 401  ${container.getInfoMailLastVisitEndingRegistration()}
402 402  <#if container.hasProfession()>
403 403   <font color="green">${container.getProfession()}</font>
... ... @@ -412,12 +412,12 @@
412 412  </#if> <#if container.getWaitingRequestsCount()!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if>
413 413  
414 414  
415 -)))|(% colspan="1" style="width:517px" %)
416 -|(% colspan="1" style="width:255px" %)(((
387 +)))|(% colspan="1" %)
388 +|(% colspan="1" %)(((
417 417  Mail, posl. návštěva, vzdělání, povolání, svátek, čekající rez./odl.
418 418  
419 419  * použito v UNYP
420 -)))|(% colspan="1" style="width:745px" %)${container.getInfoMailLastVisit()} 
392 +)))|(% colspan="1" %)${container.getInfoMailLastVisit()} 
421 421  <#if container.hasEducationLevel()>
422 422   <font color="orange">${container.getEducationLevel()}</font>
423 423  </#if>
... ... @@ -424,4 +424,6 @@
424 424  <#if container.hasProfession()>
425 425   <font color="green">${container.getProfession()}</font>
426 426  </#if>
427 -<#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" %)
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 +