diff options
Diffstat (limited to 'clients/screens_dashboard.c')
| -rw-r--r-- | clients/screens_dashboard.c | 43 |
1 files changed, 15 insertions, 28 deletions
diff --git a/clients/screens_dashboard.c b/clients/screens_dashboard.c index 9deca37..83b4f6a 100644 --- a/clients/screens_dashboard.c +++ b/clients/screens_dashboard.c @@ -268,18 +268,11 @@ static void select_fiscal_year(struct app *a) } } static const char *const MAIN_ITEMS[] = { - MK_SECTION "Bokföring", "Verifikat", "Underlag (inkorg)", "Bankavstämning", "Mallar", - MK_SECTION "Fakturering", "Fakturor", - MK_SECTION "Lön", "Lönekörningar", - MK_SECTION "Rapporter & bokslut", "Rapporter", "Bokslut", - "Bolaget", - MK_SECTION "System", - "Skattetabeller", "Revision", "Systeminställningar", - MK_SECTION "Räkenskapsår", + "Bolaget", "System", "Ingående balans", "Räkenskapsår", "Logga ut / avsluta", }; @@ -305,52 +298,46 @@ void dashboard(struct app *a) if (sel < 0) continue; /* Esc/back at the top level never exits */ switch (sel) { - case 1: + case 0: open_scene(a, "vouchers"); break; - case 2: + case 1: open_scene(a, "inbox"); break; - case 3: + case 2: open_scene(a, "bank"); break; - case 4: + case 3: open_scene(a, "templates"); break; - case 6: + case 4: open_scene(a, "invoices"); break; - case 8: + case 5: open_scene(a, "payroll"); break; - case 10: + case 6: open_scene(a, "reports"); break; - case 11: + case 7: open_scene(a, "bokslut"); break; - case 12: + case 8: open_scene(a, "company"); break; - case 14: - open_scene(a, "tax_tables"); - break; - case 15: - open_scene(a, "audit"); - break; - case 16: + case 9: open_scene(a, "system"); break; - case 18: + case 10: open_scene(a, "ib"); break; - case 19: + case 11: select_fiscal_year(a); break; - case 20: + case 12: return; default: - break; /* section header */ + break; } } } |
