Skip to content
Snippets Groups Projects
Commit 78053473 authored by eyan_'s avatar eyan_
Browse files

commit

parent 76b82c04
No related branches found
No related tags found
No related merge requests found
......@@ -336,13 +336,21 @@ public class Controller {
System.out.println("todo: display paystub");
root.setLeft(null);
root.setBottom(null);
showPayroll(model.getThisEmployee());
}
private void showPayroll(int selectedEmployee) {
}
private void showPaystub() {
Employee currentEmployee = model.getEmployee(model.getThisEmployee());
}
// Payroll tab (manager only)
public void viewPayroll() {
root.setCenter(null); //todo
System.out.println("todo: display payroll");
root.setLeft(null);
root.setBottom(null);
public void viewPayroll() throws IOException {
viewPaystub();
showPayroll(model.getSelectedEmployee());
}
// Staff tab (default view staff, manager only)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment