Create EXPENSE_YEAR period for new instances

This commit is contained in:
2022-05-17 23:09:58 +02:00
parent bb8c2afed6
commit c0de315cb6
4 changed files with 11 additions and 1 deletions

View File

@@ -17,3 +17,6 @@ CREATE TABLE link_transaction_period (
INSERT INTO period (type, start)
VALUES ('EXPENSE', NOW());
INSERT INTO period (type, start)
SELECT 'EXPENSE_YEAR', DATEADD(SECOND, -1, start) FROM period WHERE type = 'EXPENSE';

View File

@@ -17,3 +17,6 @@ CREATE TABLE link_transaction_period (
INSERT INTO period (type, start)
VALUES ('EXPENSE', NOW());
INSERT INTO period (type, start)
SELECT 'EXPENSE_YEAR', DATEADD(SECOND, -1, start) FROM period WHERE type = 'EXPENSE';

View File

@@ -1,5 +1,5 @@
v50 -> v51:
-
- Spinning up a new financer instance now also creates an EXPENSE_YEAR period
v49 -> v50:
- #29 Added projected cash flow report

View File

@@ -461,6 +461,10 @@ input[type=submit] {
padding-left: 1em;
display: block !important;
}
#report-config-projected-cashflow-for-period-transactions-table {
width: 100% !important;
}
}
.report-config-projected-cashflow-for-period-transactions-table-average-spending {