Changes for page Příklady podmínek
Last modified by Petr Benda on 2025/04/04 10:23
From version 11.1
edited by Jan Šimeček
on 2024/08/15 11:17
on 2024/08/15 11:17
Change comment:
There is no comment for this version
To version 2.1
edited by Jan Šimeček
on 2024/07/16 13:04
on 2024/07/16 13:04
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,8 +2,7 @@ 2 2 3 3 = Obecné podmínky na dílo, svazek, čtenáře = 4 4 5 -|(% colspan="1" %)((( 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]]**|**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,39 @@ 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" %) UserVisitlastUserVisit = 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());73 +{{{i.thematic_group in (-1)}}}|(% colspan="1" %) 74 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) 75 +|(% 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); 78 +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); 82 +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" %)((( 87 +)))|(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) |(% colspan="1" %) 88 +|(% colspan="1" %)Podmínka pro anonymní vracení, kdy svazek není půjčený|(% colspan="1" %) |(% colspan="1" %)userId = -147|(% colspan="1" %) |(% colspan="1" %) 89 +|(% 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" %) 90 +|(% 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" %) 91 +|(% colspan="1" %)Svazek je starší než dva roky|(% colspan="1" %) |(% colspan="1" %)itemDateCreated <= nowAddMonths(-24)|(% colspan="1" %) |(% colspan="1" %) 92 +|(% 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 -))) 98 +)))|(% 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 -))) 105 +)))|(% 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 -))) 112 +)))|(% 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" %) 119 +)))|(% 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"); 123 +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" %) 130 +)))|(% 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" %) 137 +)))|(% colspan="1" %) |(% colspan="1" %) 171 171 172 172 = SQL podmínky (na díla, svazky, ...) = 173 173 ... ... @@ -190,11 +190,12 @@ 190 190 ** '2020-03-26 14:50:00.000' 191 191 192 192 * **Pokud bude použit jiný operátor nebo formát datumu, nebude SQL podmínka validní, popř. nemusí fungovat správně!** 160 + 193 193 162 +|((( 194 194 = Pravidla akcí - Změny před/po akci = 195 195 196 -|((( 197 -(% class="active" %)|=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 198 198 |(% 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 199 199 |(% 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 200 200 |(% 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" %)- ... ... @@ -205,11 +205,16 @@ 205 205 item.setLocationOwner(serviceProvider.getLocationService().load(245L)); 206 206 )))|(% colspan="1" %)- 207 207 208 -(% class="active" %)|=(% style="width: 142px;" %)Popis|=(% style="width: 213px;" %)[[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]]|=(% style="width: 1230px;" %)JAVA podmínka|=Poznámka 209 -|(% style="width:142px" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení, na které přichází.|(% style="width:213px" %) |(% style="width:1230px" %)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();|- 210 -|(% style="width:142px" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení id=123.|(% style="width:213px" %) |(% style="width:1230px" %)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();|- 176 +|=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 177 +|Čtenářská podmínka, zda má čtenář platnou registraci na oddělení, na které přichází.|(% colspan="1" %) | 211 211 212 - 179 +{{{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();}}}|- 180 + 181 +|(% colspan="1" %)Čtenářská podmínka, zda má čtenář platnou registraci na oddělení id=123.|(% colspan="1" %) |(% colspan="1" %) 182 + 183 +{{{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" %)- 184 + 185 + 213 213 **Automatické přepůjčení na karanténu** 214 214 215 215 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2021-3-23_12-8-7.png?version=1&modificationDate=1616497688000&api=v2]] ... ... @@ -217,19 +217,19 @@ 217 217 218 218 = Dispečink internetu = 219 219 220 - (% class="active" %)|=Popis příkazu|=(% colspan="1"style="width: 359px;"%)Podmínka v [[TQL - Tritius Query Language>>doc:uzivatelsky-manual.Pro-spravce.TQL-Tritius-Query-Language.WebHome]]|=(% colspan="1"style="width: 1024px;"%)Java podmínka|=(% colspan="1" %)Poznámka221 -|(% colspan="1" %)Podmínka na konkrétního uživatele|(% colspan="1" style="width:359px"%)userReaderNumberValue= 644|(% colspan="1"style="width:1024px"%)return (userResult ~!= null && userResult.getUser() ~!= null && userResult.getUser().getReaderNumber() ~!=null) ? userResult.getUser().getReaderNumber().getValue().equals(644L) : false;|(% colspan="1" %)193 +|=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 194 +|(% 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" %) 222 222 223 223 = Vlastní informace = 224 224 225 225 Používá se **FreeMarker**. Viz Google a psaní podmínek. 226 226 227 - (% class="active" %)|=(% style="width: 255px;" %)Popis|=(% colspan="1"style="width: 745px;"%)Kód|=(% style="width: 517px;" %)Náhled228 -|( % style="width:255px" %)(((200 +|=Popis|=(% colspan="1" %)Kód|=Náhled 201 +|((( 229 229 Čtenářské číslo; - Jméno čtenáře 230 230 231 231 Datum narození; Datum poslední návštěvy; - Počet čekajících rezervací a odložení; - Text z kolonky POZOR 232 -)))|(% colspan="1" style="width:745px"%)(((205 +)))|(% colspan="1" %)((( 233 233 <#if container.getBirthdate()??> 234 234 ${container.getBirthdate()?datetime?string('dd.MM.yy')} 235 235 </#if> ... ... @@ -243,24 +243,24 @@ 243 243 <#if container.hasCautionNote()> 244 244 - <font color="red"> ${container.getCautionNote()}</font> 245 245 </#if> 246 -)))|( % style="width:517px" %)(((219 +)))|((( 247 247 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A29%3A14.png?version=1&modificationDate=1567495748000&api=v2]] 248 248 ))) 249 -|(% colspan="1" style="width:255px"%)(((222 +|(% colspan="1" %)((( 250 250 Čtenářské číslo; - Jméno čtenáře 251 251 252 252 Věk čtenáře; @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace 253 -)))|(% colspan="1" style="width:745px"%)<#if container.getAgeFormated()??>226 +)))|(% colspan="1" %)<#if container.getAgeFormated()??> 254 254 Věk: ${container.getAgeFormated()} 255 255 </#if> 256 -${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" style="width:517px"%)(((229 +${container.getInfoMailLastVisitEndingRegistration()}|(% colspan="1" %)((( 257 257 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A33%3A56.png?version=1&modificationDate=1567496030000&api=v2]] 258 258 ))) 259 -|(% colspan="1" style="width:255px"%)(((232 +|(% colspan="1" %)((( 260 260 Čtenářské číslo; - Jméno čtenáře 261 261 262 262 Počet čekajících rezervací a odložení; Datum poslední návštěvy; Datum konce registrace 263 -)))|(% colspan="1" style="width:745px"%)(((236 +)))|(% colspan="1" %)((( 264 264 <#if container.getWaitingRequestsCount()!=0> 265 265 <font color="red">${container.translate("Waiting_retrievals")}: ${container.getWaitingRequestsCount()} 266 266 </font> ... ... @@ -267,27 +267,27 @@ 267 267 </#if> 268 268 269 269 ${container.getInfoMailLastVisitEndingRegistration()} 270 -)))|(% colspan="1" style="width:517px"%)(((243 +)))|(% colspan="1" %)((( 271 271 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-3%209%3A37%3A5.png?version=1&modificationDate=1567496219000&api=v2]] 272 272 ))) 273 -|(% colspan="1" style="width:255px"%)(((246 +|(% colspan="1" %)((( 274 274 Čtenářské číslo; - Jméno čtenáře 275 275 276 276 @ pokud má čtenář vyplněný email; Datum poslední návštěvy; Datum konce registrace (zeleně pokud platí, červeně pokud již skončila) 277 -)))|(% colspan="1" style="width:745px"%)${container.getInfoMailLastVisit()}250 +)))|(% colspan="1" %)${container.getInfoMailLastVisit()} 278 278 <#if container.isRegistrationExpired() && container.loadLastEndingRegistrationCharge()??> 279 279 <font color="red">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font> 280 280 </#if> 281 281 <#if container.isRegistrationExpired()==false && container.loadLastEndingRegistrationCharge()??> 282 282 <font color="green">${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font> 283 -</#if>|(% colspan="1" style="width:517px"%)(((256 +</#if>|(% colspan="1" %)((( 284 284 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2019-9-6%2011%3A1%3A21.png?version=1&modificationDate=1567760475000&api=v2]] 285 285 ))) 286 -|(% colspan="1" style="width:255px"%)(((259 +|(% colspan="1" %)((( 287 287 Čtenářské číslo; - Jméno čtenáře 288 288 289 289 @ 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ší) 290 -)))|(% colspan="1" style="width:745px"%)(((263 +)))|(% colspan="1" %)((( 291 291 ${container.getInfoMailLastVisit()} 292 292 293 293 <#if container.getWaitingRequestsCount()!=0> ... ... @@ -303,17 +303,17 @@ 303 303 </#if> 304 304 ${container.loadLastEndingRegistrationCharge()?string("dd.MM.yyyy")}</font> 305 305 </#if> 306 -)))|(% colspan="1" style="width:517px"%)(((279 +)))|(% colspan="1" %)((( 307 307 [[image:https://confluence.tritius.cz/download/attachments/35815451/snimek-vlastni-info.png?version=1&modificationDate=1602765335000&api=v2]] 308 308 ))) 309 -|(% 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()??>282 +|(% colspan="1" %)Věk obarvený podle let. Nad 15 (a zároveň) červený, pod 15 modrý. |(% colspan="1" %)<#if container.getAgeFormated()??> 310 310 <#if container.getAgeFormated()?number gte 15> 311 311 Věk: <font color="red"> ${container.getAgeFormated()}</font> 312 312 <#else> 313 313 Věk: <font color="blue"> ${container.getAgeFormated()}</font> 314 314 </#if> 315 -</#if>|(% colspan="1" style="width:517px"%)316 -|(% colspan="1" style="width:255px"%)(((288 +</#if>|(% colspan="1" %) 289 +|(% colspan="1" %)((( 317 317 Rozpis počtu čekajících objednávek čtenáře. 318 318 319 319 Jednotlivé typy objednávek se oddělují lomenem. ... ... @@ -323,11 +323,10 @@ 323 323 Daný typ se zobrazuje pouze pokud pro daný typ existuje alespoň jedna čekající objednávka. 324 324 325 325 326 -)))|(% colspan="1" style="width:745px"%)(((299 +)))|(% colspan="1" %)((( 327 327 ${container.getInfoMailLastVisit()} 328 328 329 -<#if (container.getWaitingRequestsCount() != 0 || 330 -container.getInsertedBoxRetrievalRequestsDepartmentCount() != 0)> 302 +<#if container.getWaitingRequestsCount() != 0> 331 331 <font color="red"> - Ček. 332 332 333 333 <#if container.getWaitingReservationCount() != 0> ... ... @@ -358,10 +358,10 @@ 358 358 359 359 </font> 360 360 </#if> 361 -)))|(% colspan="1" style="width:517px"%)(((333 +)))|(% colspan="1" %)((( 362 362 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-23-44.png?version=1&modificationDate=1710419025000&api=v2||width="500"]] 363 363 ))) 364 -|(% colspan="1" style="width:255px"%)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1"style="width:745px"%)(((336 +|(% colspan="1" %)Zobrazuje upozornění, že má čtenář dnes narozeniny nebo svátek.|(% colspan="1" %)((( 365 365 <#if container.hasBirthday()> 366 366 <font color="red"> - narozeniny</font> 367 367 </#if> ... ... @@ -369,14 +369,14 @@ 369 369 <#if container.hasNameDay()> 370 370 <font color="red"> - svátek</font> 371 371 </#if> 372 -)))|(% colspan="1" style="width:517px"%)(((344 +)))|(% colspan="1" %)((( 373 373 [[image:https://confluence.tritius.cz/download/attachments/35815451/image2024-3-14_13-37-46.png?version=1&modificationDate=1710419867000&api=v2||width="400"]] 374 374 ))) 375 -|(% colspan="1" style="width:255px"%)(((347 +|(% colspan="1" %)((( 376 376 Výchozí stav ( mail, posl. návštěva, svátek, čekající rez./odl. ) + věk různobarevný podle hranice 15let 377 377 378 378 * použito v Domažlice 379 -)))|(% colspan="1" style="width:745px"%)(((351 +)))|(% colspan="1" %)((( 380 380 ${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> 381 381 382 382 <#if container.getAgeFormated()??> ... ... @@ -386,12 +386,12 @@ 386 386 Věk: <font color="blue"> ${container.getAgeFormated()}</font> 387 387 </#if> 388 388 </#if> 389 -)))|(% colspan="1" style="width:517px"%)390 -|(% colspan="1" style="width:255px"%)(((361 +)))|(% colspan="1" %) 362 +|(% colspan="1" %)((( 391 391 Mail, posl. návštěva, končící registrace , povolání, vzdělání, škola, svátek a čekající rez./odl. 392 392 393 393 * použito v Chotěboř 394 -)))|(% colspan="1" style="width:745px"%)(((366 +)))|(% colspan="1" %)((( 395 395 ${container.getInfoMailLastVisitEndingRegistration()} 396 396 <#if container.hasProfession()> 397 397 <font color="green">${container.getProfession()}</font> ... ... @@ -406,12 +406,12 @@ 406 406 </#if> <#if container.getWaitingRequestsCount()!=0> <font color="red"> - ${container.translate("Waiting_reservations/retrievals")} - ${container.getWaitingRequestsCount()}</font> </#if> 407 407 408 408 409 -)))|(% colspan="1" style="width:517px"%)410 -|(% colspan="1" style="width:255px"%)(((381 +)))|(% colspan="1" %) 382 +|(% colspan="1" %)((( 411 411 Mail, posl. návštěva, vzdělání, povolání, svátek, čekající rez./odl. 412 412 413 413 * použito v UNYP 414 -)))|(% colspan="1" style="width:745px"%)${container.getInfoMailLastVisit()}386 +)))|(% colspan="1" %)${container.getInfoMailLastVisit()} 415 415 <#if container.hasEducationLevel()> 416 416 <font color="orange">${container.getEducationLevel()}</font> 417 417 </#if> ... ... @@ -418,4 +418,4 @@ 418 418 <#if container.hasProfession()> 419 419 <font color="green">${container.getProfession()}</font> 420 420 </#if> 421 -<#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"%)393 +<#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" %)