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