Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
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 21855fb7
authored
Oct 27, 2012
by
Riku Silvola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
line delimiters
1 parent
37e52a42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
19 deletions
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWave.java
code/LanBortalWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
code/LanBortalWeb/WebContent/foodmanager/listFoodwaves.xhtml
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWave.java
View file @
21855fb
...
...
@@ -54,9 +54,6 @@ public class FoodWave extends GenericEntity {
@OneToMany
(
mappedBy
=
"foodwave"
)
private
List
<
BillLine
>
billLines
;
@OneToMany
(
mappedBy
=
"foodwave"
)
private
List
<
BillLine
>
unpaidBills
;
@ManyToOne
@JoinColumn
(
name
=
"template_id"
,
referencedColumnName
=
"id"
,
nullable
=
false
)
private
FoodWaveTemplate
template
;
...
...
@@ -197,12 +194,4 @@ public class FoodWave extends GenericEntity {
this
.
maximumFoods
=
maximumFoods
;
}
public
List
<
BillLine
>
getUnpaidBills
()
{
return
unpaidBills
;
}
public
void
setUnpaidBills
(
List
<
BillLine
>
unpaidBills
)
{
this
.
unpaidBills
=
unpaidBills
;
}
}
code/LanBortalWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
View file @
21855fb
<root>
<facet
id=
"jst.jsf"
>
<node
name=
"libprov"
>
<attribute
name=
"provider-id"
value=
"jsf-no-op-library-provider"
/>
</node>
</facet>
</root>
<root>
<facet
id=
"jst.jsf"
>
<node
name=
"libprov"
>
<attribute
name=
"provider-id"
value=
"jsf-no-op-library-provider"
/>
</node>
</facet>
</root>
code/LanBortalWeb/WebContent/foodmanager/listFoodwaves.xhtml
View file @
21855fb
...
...
@@ -56,7 +56,7 @@
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['foodWave.unconfirmedOrders']}"
/>
</f:facet>
<h:outputText
value=
"#{foodwave.
unpaidBill
s.size()}"
/>
<h:outputText
value=
"#{foodwave.
billLine
s.size()}"
/>
</p:column>
<p:column>
<f:facet
name=
"header"
>
...
...
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
View file @
21855fb
This diff is collapsed.
Click to expand it.
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