summaryrefslogtreecommitdiff
path: root/lib/pages/logbook_page.dart
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-08-17 13:54:48 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2022-08-17 13:54:48 +0200
commit8ed1b574e8b5e9fc806aedc87af7aabcf73da6e6 (patch)
tree5126fb297b9df2829b6b34f966f615183b4c73af /lib/pages/logbook_page.dart
parent3d25fdc99fd37f3b5e37f25b7a38804a02130426 (diff)
b0.2
Diffstat (limited to 'lib/pages/logbook_page.dart')
-rw-r--r--lib/pages/logbook_page.dart9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/pages/logbook_page.dart b/lib/pages/logbook_page.dart
index 0849cda..a9ef211 100644
--- a/lib/pages/logbook_page.dart
+++ b/lib/pages/logbook_page.dart
@@ -106,14 +106,9 @@ class _LogbookPageState extends State<LogbookPage> {
Text('Gewerkt: ' +
month.totalWorkedTime.inHours.toString() +
' uur'),
- Text('Verdiend: ' +
+ Text('Verdiend: €' +
month.expectedSalary.toStringAsFixed(2) +
- (month.shifts.isNotEmpty
- ? ' (' +
- (month.shifts[0].getMinutePayRate() * 60)
- .toStringAsFixed(2) +
- '/uur)'
- : '')),
+ ' (schatting)'),
Padding(padding: EdgeInsets.only(left: 5, bottom: 5, right: 5)),
],
),