preparing for new accounting module
This commit is contained in:
5
accounting/build.gradle.kts
Normal file
5
accounting/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
||||
description = "Umbrella : Accounting"
|
||||
|
||||
dependencies{
|
||||
implementation(project(":core"))
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package de.srsoftware.umbrella.accounting;
|
||||
|
||||
import de.srsoftware.umbrella.core.BaseHandler;
|
||||
import de.srsoftware.umbrella.core.api.AccountingService;
|
||||
|
||||
public class AccountingModule extends BaseHandler implements AccountingService {
|
||||
|
||||
}
|
||||
@@ -85,6 +85,7 @@ public class SettingsService extends BaseHandler {
|
||||
entries.add(MenuEntry.of(13,Module.STOCK));
|
||||
entries.add(MenuEntry.of(14,Module.MESSAGE, MESSAGES));
|
||||
entries.add(MenuEntry.of(15,Module.POLL,Text.POLLS));
|
||||
entries.add(MenuEntry.of(16,Module.ACCOUNTING,Text.ACCOUNTING));
|
||||
|
||||
for (var i=0; i<entries.size(); i++){
|
||||
var entry = entries.get(i);
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package de.srsoftware.umbrella.core.api;
|
||||
|
||||
public interface AccountingService {
|
||||
}
|
||||
@@ -2,19 +2,20 @@
|
||||
package de.srsoftware.umbrella.core.constants;
|
||||
|
||||
public class Module {
|
||||
public static final String BOOKMARK = "bookmark";
|
||||
public static final String COMPANY = "company";
|
||||
public static final String CONTACT = "contact";
|
||||
public static final String DOCUMENT = "document";
|
||||
public static final String FILES = "files";
|
||||
public static final String MESSAGE = "message";
|
||||
public static final String NOTES = "notes";
|
||||
public static final String POLL = "poll";
|
||||
public static final String PROJECT = "project";
|
||||
public static final String STOCK = "stock";
|
||||
public static final String TAGS = "tags";
|
||||
public static final String TASK = "task";
|
||||
public static final String TIME = "time";
|
||||
public static final String USER = "user";
|
||||
public static final String WIKI = "wiki";
|
||||
public static final String ACCOUNTING = "accounting";
|
||||
public static final String BOOKMARK = "bookmark";
|
||||
public static final String COMPANY = "company";
|
||||
public static final String CONTACT = "contact";
|
||||
public static final String DOCUMENT = "document";
|
||||
public static final String FILES = "files";
|
||||
public static final String MESSAGE = "message";
|
||||
public static final String NOTES = "notes";
|
||||
public static final String POLL = "poll";
|
||||
public static final String PROJECT = "project";
|
||||
public static final String STOCK = "stock";
|
||||
public static final String TAGS = "tags";
|
||||
public static final String TASK = "task";
|
||||
public static final String TIME = "time";
|
||||
public static final String USER = "user";
|
||||
public static final String WIKI = "wiki";
|
||||
}
|
||||
|
||||
@@ -5,6 +5,8 @@ package de.srsoftware.umbrella.core.constants;
|
||||
* This is a collection of messages that appear throughout the project
|
||||
*/
|
||||
public class Text {
|
||||
public static final String ACCOUNTING = "accounting";
|
||||
|
||||
public static final String BOOKMARK = "bookmark";
|
||||
public static final String BOOKMARKS = "bookmarks";
|
||||
public static final String BOOLEAN = "Boolean";
|
||||
@@ -47,8 +49,8 @@ public class Text {
|
||||
public static final String NOTE_WITH_ID = "note ({id})";
|
||||
public static final String NUMBER = "number";
|
||||
|
||||
public static final Object OPTION = "option"
|
||||
;
|
||||
public static final Object OPTION = "option";
|
||||
|
||||
public static final String PATH = "path";
|
||||
public static final String PERMISSION = "permission";
|
||||
public static final String POLL = "poll";
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
import { loadTranslation } from './translations.svelte';
|
||||
import { checkUser, user } from './user.svelte';
|
||||
|
||||
import Accounts from "./routes/accounting/index.svelte";
|
||||
import AddDoc from "./routes/document/Add.svelte";
|
||||
import AddTask from "./routes/task/Add.svelte";
|
||||
import Bookmark from "./routes/bookmark/View.svelte";
|
||||
@@ -88,6 +89,7 @@
|
||||
<span class="warn">{@html messages.warning}</span>
|
||||
{/if}
|
||||
<Route path="/" component={User} />
|
||||
<Route path="/accounting" component={Accounts} />
|
||||
<Route path="/bookmark" component={Bookmarks} />
|
||||
<Route path="/bookmark/:id/view" component={Bookmark} />
|
||||
<Route path="/calc" component={Spreadsheet} />
|
||||
|
||||
1
frontend/src/routes/accounting/index.svelte
Normal file
1
frontend/src/routes/accounting/index.svelte
Normal file
@@ -0,0 +1 @@
|
||||
<h1>Accounts</h1>
|
||||
@@ -1,5 +1,6 @@
|
||||
rootProject.name = "Umbrella25"
|
||||
|
||||
include("accounting")
|
||||
include("backend")
|
||||
include("bookmark")
|
||||
include("bus")
|
||||
@@ -22,5 +23,4 @@ include("time")
|
||||
include("translations")
|
||||
include("user")
|
||||
include("web")
|
||||
include("wiki")
|
||||
|
||||
include("wiki")
|
||||
Reference in New Issue
Block a user