Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
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 817c4562
authored
Jun 30, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'billlistfix' into 'master'
Bill list fix Fix bill listings See merge request !292
2 parents
2a7e43af
5840a05e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
code/moya-web/WebContent/bill/list.xhtml
code/moya-web/WebContent/bill/listAll.xhtml
code/moya-web/WebContent/bill/list.xhtml
View file @
817c456
...
...
@@ -13,14 +13,14 @@
<ui:define
name=
"content"
>
<h:form
id=
"billList"
styleClass=
"moya_datatable3"
>
<p:dataTable
sortBy=
"#{
user.sentDateTim
e}"
sortOrder=
"descending"
sortField=
"sentDate"
paginator=
"true"
lazy=
"true"
rows=
"100"
styleClass=
"bordertable"
id=
"billList"
value=
"#{billListView.lazyBillList}"
var=
"bill"
<p:dataTable
sortBy=
"#{
bill.sentDat
e}"
sortOrder=
"descending"
sortField=
"sentDate"
paginator=
"true"
lazy=
"true"
rows=
"100"
styleClass=
"bordertable"
id=
"billList"
value=
"#{billListView.lazyBillList}"
var=
"bill"
rowStyleClass=
"#{bill.expired ? 'expired' : (bill.paidDate != null ? 'paid' : null)}"
expandedRow=
"true"
>
<p:column
>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['bill.sentDate']}"
/>
</f:facet>
<h:outputText
value=
"#{bill.sentDate
Time
}"
>
<h:outputText
value=
"#{bill.sentDate}"
>
<f:convertDateTime
pattern=
"#{sessionHandler.datetimeFormat}"
timeZone=
"#{sessionHandler.timezone}"
/>
</h:outputText>
</p:column>
...
...
code/moya-web/WebContent/bill/listAll.xhtml
View file @
817c456
...
...
@@ -17,7 +17,7 @@
<h:form
id=
"billList"
styleClass=
"moya_datatable3"
>
<p:dataTable
sortBy=
"#{
user.sentDateTim
e}"
sortOrder=
"descending"
sortField=
"sentDate"
paginator=
"true"
lazy=
"true"
rows=
"100"
styleClass=
"bordertable"
id=
"billList"
value=
"#{billListView.lazyBillList}"
var=
"bill"
<p:dataTable
sortBy=
"#{
bill.sentDat
e}"
sortOrder=
"descending"
sortField=
"sentDate"
paginator=
"true"
lazy=
"true"
rows=
"100"
styleClass=
"bordertable"
id=
"billList"
value=
"#{billListView.lazyBillList}"
var=
"bill"
rowStyleClass=
"#{bill.expired ? 'expired' : (bill.paidDate != null ? 'paid' : null)}"
>
<p:column
width=
"35"
>
...
...
@@ -35,11 +35,11 @@
</h:link>
</p:column>
<p:column
field=
"sentDate"
sortBy=
"#{bill.sentDate
Time
}"
>
<p:column
field=
"sentDate"
sortBy=
"#{bill.sentDate}"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['bill.sentDate']}"
/>
</f:facet>
<h:outputText
value=
"#{bill.sentDate
Time
}"
>
<h:outputText
value=
"#{bill.sentDate}"
>
<f:convertDateTime
pattern=
"#{sessionHandler.datetimeFormat}"
timeZone=
"#{sessionHandler.timezone}"
/>
</h:outputText>
</p:column>
...
...
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