From b6d0546b488601c94b65faee87e13a9296f93ece Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Sun, 17 May 2015 20:52:38 +0200 Subject: [PATCH] =?UTF-8?q?Na=20formul=C3=A1=C5=99=20vy=C3=BA=C4=8Dtov?= =?UTF-8?q?=C3=A1n=C3=AD=20slu=C5=BEebn=C3=AD=20cesty=20bylo=20p=C5=99id?= =?UTF-8?q?=C3=A1no=20tla=C4=8D=C3=ADtko=20"Ulo=C5=BEit=20a=20odeslat=20ke?= =?UTF-8?q?=20schv=C3=A1len=C3=AD"=20closes=20#218?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../isspst/ui/tripbill/TripBillForm.java | 3 +-- .../webapp/main/trips/bill/tripBillForm.zul | 26 ++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/main/java/info/bukova/isspst/ui/tripbill/TripBillForm.java b/src/main/java/info/bukova/isspst/ui/tripbill/TripBillForm.java index 0b7fb013..578d61fd 100644 --- a/src/main/java/info/bukova/isspst/ui/tripbill/TripBillForm.java +++ b/src/main/java/info/bukova/isspst/ui/tripbill/TripBillForm.java @@ -56,10 +56,9 @@ public class TripBillForm extends FormWithUpload { return false; } - @Override @Command @NotifyChange("errMessages") - public void save(@BindingParam("window") Window win) + public void saveForApproval(@BindingParam("window") Window win) { if (StringUtils.isNullOrTrimmedEmpty(this.getDataBean().getResultMessage())) { diff --git a/src/main/webapp/main/trips/bill/tripBillForm.zul b/src/main/webapp/main/trips/bill/tripBillForm.zul index 94bd3d5a..410bc0c6 100644 --- a/src/main/webapp/main/trips/bill/tripBillForm.zul +++ b/src/main/webapp/main/trips/bill/tripBillForm.zul @@ -19,7 +19,31 @@ label="${labels.TravelOrdersFormTitle}" /> - + +
+
+
\ No newline at end of file