Starting working on non working days
This commit is contained in:
@@ -203,6 +203,8 @@ void MainWindow::compute_time() {
|
||||
overtime += (w->total() - week_template->total()) + w->getTimeDeltaInHours();
|
||||
}
|
||||
}
|
||||
late -= current_week->getTimeDeltaInHours();
|
||||
overtime += - current_week->getTimeDeltaInHours();
|
||||
ui->late_time_label->setText(Tools::double_to_string_time((late > 0.0) ? late : 0.0));
|
||||
ui->overtime_time_label->setText(Tools::double_to_string_time((overtime > 0.0) ? overtime : 0.0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user