From ef431867e10d7fc91a6ffb2bf997264e03040eef Mon Sep 17 00:00:00 2001 From: Franta Pribyl Date: Wed, 8 Apr 2015 11:35:41 +0200 Subject: [PATCH] =?UTF-8?q?V=20glob=C3=A1ln=C3=ADm=20nastaven=C3=AD=20umo?= =?UTF-8?q?=C5=BEn=C4=9Bn=20upload=20loga=20=C5=A1koly.=20Upraveny=20tisko?= =?UTF-8?q?v=C3=BDch=20sestav=20vlo=C5=BEeno=20logo=20a=20n=C3=A1zev=20org?= =?UTF-8?q?anizace.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #199 --- .../info/bukova/isspst/data/SettingsData.java | 10 ++ .../bukova/isspst/reporting/ParamFiller.java | 18 +++- .../isspst/ui/settings/GlobalSettingsVM.java | 34 ++++++- .../WEB-INF/locales/zk-label.properties | 2 + .../webapp/WEB-INF/reports/tripBill.jasper | Bin 50282 -> 51569 bytes .../webapp/WEB-INF/reports/tripBill.jrxml | 93 ++++++++++-------- .../WEB-INF/reports/tripBillFreeMeals.jasper | Bin 18022 -> 18022 bytes .../WEB-INF/reports/tripBillItems.jasper | Bin 47113 -> 47113 bytes .../WEB-INF/reports/tripRequirement.jasper | Bin 56063 -> 57146 bytes .../WEB-INF/reports/tripRequirement.jrxml | 33 ++++--- src/main/webapp/app/reporting/report.zul | 32 ++++-- .../webapp/app/reporting/reportDialog.zul | 2 +- .../webapp/settings/global/requirements.zul | 56 ++++++++--- 13 files changed, 202 insertions(+), 78 deletions(-) diff --git a/src/main/java/info/bukova/isspst/data/SettingsData.java b/src/main/java/info/bukova/isspst/data/SettingsData.java index acbb9fdd..ae1674dd 100644 --- a/src/main/java/info/bukova/isspst/data/SettingsData.java +++ b/src/main/java/info/bukova/isspst/data/SettingsData.java @@ -22,6 +22,7 @@ public class SettingsData { private List vehicles; private Map refunds; private String stampFile; + private String logoFile; public SettingsData() { newReqTemplate = new MailMessage(); @@ -140,4 +141,13 @@ public class SettingsData { this.stampFile = stampFile; } + public String getLogoFile() + { + return logoFile; + } + + public void setLogoFile(String logoFile) + { + this.logoFile = logoFile; + } } diff --git a/src/main/java/info/bukova/isspst/reporting/ParamFiller.java b/src/main/java/info/bukova/isspst/reporting/ParamFiller.java index 4cb8e873..b1bbddda 100644 --- a/src/main/java/info/bukova/isspst/reporting/ParamFiller.java +++ b/src/main/java/info/bukova/isspst/reporting/ParamFiller.java @@ -1,8 +1,6 @@ package info.bukova.isspst.reporting; -import java.util.HashMap; -import java.util.Map; - +import info.bukova.isspst.data.Address; import info.bukova.isspst.data.AuthItem; import info.bukova.isspst.data.Order; import info.bukova.isspst.data.TripBill; @@ -13,8 +11,13 @@ import info.bukova.isspst.services.settings.GlobalSettingsService; import info.bukova.isspst.services.users.UserService; import info.bukova.isspst.storage.FileStorage; +import java.util.HashMap; +import java.util.Map; + import org.springframework.beans.factory.annotation.Autowired; +import com.mysql.jdbc.StringUtils; + public class ParamFiller { @Autowired @@ -74,6 +77,15 @@ public class ParamFiller { definition.setParam("P_STAMP", storage.serverPath(settingService.getSettings().getStampFile())); } } + + definition.setParam("P_LOGO", storage.serverPath(settingService.getSettings().getLogoFile())); + + Address mainAddress = settingService.getSettings().getMainAddress(); + + if (mainAddress != null) { + String addr = (StringUtils.isNullOrEmpty(mainAddress.getCompany()) ? "" : mainAddress.getCompany()); + definition.setParam("P_MAIN_ADDRESS", addr); + } } } diff --git a/src/main/java/info/bukova/isspst/ui/settings/GlobalSettingsVM.java b/src/main/java/info/bukova/isspst/ui/settings/GlobalSettingsVM.java index fdeda412..3577e450 100644 --- a/src/main/java/info/bukova/isspst/ui/settings/GlobalSettingsVM.java +++ b/src/main/java/info/bukova/isspst/ui/settings/GlobalSettingsVM.java @@ -1,6 +1,7 @@ package info.bukova.isspst.ui.settings; import info.bukova.isspst.Constants; +import info.bukova.isspst.StringUtils; import info.bukova.isspst.data.Address; import info.bukova.isspst.data.Requirement; import info.bukova.isspst.data.SettingsData; @@ -77,7 +78,24 @@ public class GlobalSettingsVM extends DocumentViewModel storage.removeFile(settings.getStampFile()); settings.setStampFile(null); } - + + @Command + @NotifyChange({ "settings", "logoImg" }) + public void uploadLogo(@ContextParam(ContextType.TRIGGER_EVENT) UploadEvent upEvent) { + int i = upEvent.getMedia().getName().lastIndexOf("."); + String fileName = "LogoImageFile" + upEvent.getMedia().getName().substring(i); + storage.saveFile(upEvent.getMedia().getByteData(), fileName); + settings.setLogoFile(fileName); + } + + @Command + @NotifyChange("logoImg") + public void removeLogo() + { + storage.removeFile(settings.getLogoFile()); + settings.setLogoFile(null); + } + public List getRequirementFields() { return ReflectionTools.getEntityFields(Requirement.class); } @@ -144,7 +162,7 @@ public class GlobalSettingsVM extends DocumentViewModel } public RenderedImage getStampImg() { - if (settings.getStampFile() == null || settings.getStampFile().isEmpty()) { + if (StringUtils.isNullOrEmpty(settings.getStampFile())) { return null; } @@ -155,4 +173,16 @@ public class GlobalSettingsVM extends DocumentViewModel } } + public RenderedImage getLogoImg() { + if (StringUtils.isNullOrEmpty(settings.getLogoFile())) { + return null; + } + + try { + return ImageIO.read(storage.file(settings.getLogoFile())); + } + catch (IOException e) { + return null; + } + } } diff --git a/src/main/webapp/WEB-INF/locales/zk-label.properties b/src/main/webapp/WEB-INF/locales/zk-label.properties index b83c18bb..a800620e 100644 --- a/src/main/webapp/WEB-INF/locales/zk-label.properties +++ b/src/main/webapp/WEB-INF/locales/zk-label.properties @@ -182,6 +182,8 @@ GlobalSettingsFreeMealsCount=Počet jídel zdarma GlobalSettingsHours=Hodin GlobalSettingsUploadStamp=Nahrát obrázek razítka GlobalSettingsStamp=Razítko +GlobalSettingsUploadOrganizationLogo=Nahrát logo +GlobalSettingsOrganizationLogo=Logo GlobalSettingsReqEnable=Povolení požadavků GlobalSettingsInsertUrl=Vložit URL záznamu diff --git a/src/main/webapp/WEB-INF/reports/tripBill.jasper b/src/main/webapp/WEB-INF/reports/tripBill.jasper index a2febae2cc4e9fb6b49f732deb6ca24fd9105e2e..c0abfc27c4f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%0=n>I~*l zr(-T)f#`IZypYTB5Cw54;9x)F5_(mtJov`^+Da=#ztpQ4#;Y=OC@6bC9-l z4ieV?l!I_SZRT}QPk$Lbf{WoOE~77I%b|e|B~Q|Zd=b~tcd7O80^UR4iZ;WWxE-$J z4$3gQ>8r~gxQX{tA~^ux<01NlQBTR^2!`Q<7=aIC96o~a_$VgfNld{89FC7u4#IQv zi}^fe<5M^Ve}&WW*Yx}JGUcFWDF;1AIq0{PgI=T@^eW|`*C+?QK{@D6%0cf?4*CP- zpzD-_Zcq;Th;q=!l!HE{9P}CGpqrF~{z^IMYsx`?ryTSh<)Htf9P|U_pdZ<8W?}Wr zN;!zx*lE^=onvj;8>}6Bn}xBPES!DCIe&c5!bZYTmIkMo z6B^i9c#@5Si!2MCW7+Tm%Y)ZhKD@~$!F4tnK48<~b2bBRvYGHLbHVq_jaF8QL2NFD zQ38ly)pSUy!FcAOgUJF+p=2? ztY#e7vb}hK?ZboYKFTil<5%nfW@U$25POIvu%pbuj{$QH6oYze!k diff --git a/src/main/webapp/WEB-INF/reports/tripBill.jrxml b/src/main/webapp/WEB-INF/reports/tripBill.jrxml index 2a937252..b4c83281 100644 --- a/src/main/webapp/WEB-INF/reports/tripBill.jrxml +++ b/src/main/webapp/WEB-INF/reports/tripBill.jrxml @@ -1,12 +1,14 @@ - - - - + + + + - + + + @@ -50,159 +52,159 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + @@ -210,6 +212,19 @@ tuzemské pracovní cesty]]> + + + + + + + + + + + + + @@ -329,7 +344,7 @@ tuzemské pracovní cesty]]> - + diff --git a/src/main/webapp/WEB-INF/reports/tripBillFreeMeals.jasper b/src/main/webapp/WEB-INF/reports/tripBillFreeMeals.jasper index 2683be74911323ee0eaf7526ed26380dce7d7673..096bd0e613eeb916f8b65b6a0aea61eaff11ca57 100644 GIT binary patch delta 113 zcmaFX!}zR+aRVa81^|VxC%6Cr delta 150 zcmeDDz|{GHX#*n%BiCdmj%$pDliz15OgzB7nT1nKAIN(rslD0FVxK3Y*yII%;*%9x zSvD&){ot44Dd%8dU=RRehKk}shC1d&_6{Hp1J7imN%j&378XWkmZp{#Mh5Zbh6a|F jhU^TCj0`%H3t440FP$W-DvGJ1gu!UCA-l}v&)dZSnSv+q diff --git a/src/main/webapp/WEB-INF/reports/tripRequirement.jasper b/src/main/webapp/WEB-INF/reports/tripRequirement.jasper index eff4bf30d0bdc56e9f84c2c8271ba88679ffdddf..7625b9fc175c53f055fe091d49043f71a685d477 100644 GIT binary patch delta 8271 zcmeHMdt8)N`hT7S!U(Sjf})5DcnwhyMbS(h22^rj2u4cOrcnn)hl?{*l`PubD} zo&v9sjl~Ip4`#H5$@7kcz!S5sV~z{N7ABj zu(^D8xQwbz2z*-+9?N|K-!GlRoERwg9u(YHw#-TmWYj(#F7p}_{rzHllm=af!wXoP_&Cf3_C@V8;a>}|p6El4jmYp+h zIjs#J1#!&i99GJwbYuGEl*<>4}fVu|w@hqZa&N_TL z8&%5X&GF-vkKtkqb@AxF2)CQhy};{HeK>STZ;$si4bm3s{-iezUn);EO^$BVMdPtT z59lhTtG0Q%v+^Z;enioGGmPOiQ=xV?ZoEXqsw+L>K}!5-#4Ggf*4E3@F#~0mrJFpp zc`_r8ra|$cff_G=;hc1D$%)>mztVWzYQ(Gbe<$A17N!wa20h*@l=#zlZ`I?~Be>Z| z7GsoMwwdbXodb=yE*|KLEt8|~)|(lRW+QN=|2u()wlD>*40_;cO8jZy&7FbENn4W` zAv7h)+O2WfVU6J!-Y~sIn6a3kIf(I3|12_|c<4z}te(OH(&|l+`zA-l3B3`uh|c{X zd#p~2-SO$L58DpyfA;eMFW&QY$F%YC$dp78{-7-P4VGnjaZw@e=bDB`Kd$#_JRa1C zC0FSo!*U_;P=hIZWze&a2#VWR4H}ph%z*gJg*;3-lqB_k%D(F%=cyr&OiA&*lBU^r zUf4=_qnsc!qTBS)jK@JEG^Jl6v`~X7G-c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EdK96za!57 zKRKI@)PKg4ldnUZUqGBUbaCEw6_SBmlcq{!rrB8#QSPx# diff --git a/src/main/webapp/WEB-INF/reports/tripRequirement.jrxml b/src/main/webapp/WEB-INF/reports/tripRequirement.jrxml index e1bbf087..4d234455 100644 --- a/src/main/webapp/WEB-INF/reports/tripRequirement.jrxml +++ b/src/main/webapp/WEB-INF/reports/tripRequirement.jrxml @@ -2,7 +2,7 @@ - +