Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2c3906cb
authored
May 05, 2013
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some nice billexpire -handling
1 parent
2db0a674
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
code/MoyaWeb/WebContent/bill/showBill.xhtml
code/MoyaWeb/WebContent/resources/cditools/bills/showBill.xhtml
code/MoyaWeb/WebContent/bill/showBill.xhtml
View file @
2c3906c
...
...
@@ -59,7 +59,7 @@
</table>
</ui:fragment>
<ui:fragment
rendered=
"#{!billEditView.bill.expired}"
>
<ui:fragment
rendered=
"#{!billEditView.bill.
paid and !billEditView.bill.
expired}"
>
<h:form>
<p:commandButton
id=
"cancelbtn"
onclick=
"confirmation.show()"
value=
"#{i18n['bill.cancel']}"
/>
...
...
code/MoyaWeb/WebContent/resources/cditools/bills/showBill.xhtml
View file @
2c3906c
...
...
@@ -16,7 +16,7 @@
<h:outputText
id=
"billnr"
value=
"#{cc.attrs.bill.billNumber}"
/>
<h:outputLabel
for=
"refnr"
value=
"#{i18n['bill.referencenumber']}"
/>
<h:outputText
id=
"refnr"
value=
"#{cc.attrs.bill.referenceNumber}"
/>
<h:outputText
id=
"refnr"
value=
"#{cc.attrs.bill.
expired ? i18n['bill.isExpired'] : cc.attrs.bill.
referenceNumber}"
/>
<h:outputLabel
for=
"billAmount"
value=
"#{i18n['bill.billAmount']}"
/>
<h:outputText
id=
"billAmount"
value=
"#{cc.attrs.bill.totalPrice()}"
>
...
...
@@ -29,7 +29,7 @@
</h:outputText>
<h:outputLabel
for=
"paymenttime"
value=
"#{i18n['bill.paymentTime']}:"
/>
<h:outputText
id=
"paymenttime"
value=
"#{cc.attrs.bill.
paymentTime eq 0 ? i18n['bill.paymentTime.now'] : cc.attrs.bill.paymentTime
}"
/>
<h:outputText
id=
"paymenttime"
value=
"#{cc.attrs.bill.
expired ? i18n['bill.isExpired'] : (cc.attrs.bill.paymentTime eq 0 ? i18n['bill.paymentTime.now'] : cc.attrs.bill.paymentTime)
}"
/>
<h:outputLabel
for=
"noticetime"
value=
"#{i18n['bill.noticetime']}:"
/>
<h:outputText
id=
"noticetime"
value=
"#{cc.attrs.bill.noticetime}"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment