Create EXPENSE_YEAR period for new instances
This commit is contained in:
@@ -17,3 +17,6 @@ CREATE TABLE link_transaction_period (
|
|||||||
|
|
||||||
INSERT INTO period (type, start)
|
INSERT INTO period (type, start)
|
||||||
VALUES ('EXPENSE', NOW());
|
VALUES ('EXPENSE', NOW());
|
||||||
|
|
||||||
|
INSERT INTO period (type, start)
|
||||||
|
SELECT 'EXPENSE_YEAR', DATEADD(SECOND, -1, start) FROM period WHERE type = 'EXPENSE';
|
||||||
@@ -17,3 +17,6 @@ CREATE TABLE link_transaction_period (
|
|||||||
|
|
||||||
INSERT INTO period (type, start)
|
INSERT INTO period (type, start)
|
||||||
VALUES ('EXPENSE', NOW());
|
VALUES ('EXPENSE', NOW());
|
||||||
|
|
||||||
|
INSERT INTO period (type, start)
|
||||||
|
SELECT 'EXPENSE_YEAR', DATEADD(SECOND, -1, start) FROM period WHERE type = 'EXPENSE';
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
v50 -> v51:
|
v50 -> v51:
|
||||||
-
|
- Spinning up a new financer instance now also creates an EXPENSE_YEAR period
|
||||||
|
|
||||||
v49 -> v50:
|
v49 -> v50:
|
||||||
- #29 Added projected cash flow report
|
- #29 Added projected cash flow report
|
||||||
|
|||||||
@@ -461,6 +461,10 @@ input[type=submit] {
|
|||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#report-config-projected-cashflow-for-period-transactions-table {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.report-config-projected-cashflow-for-period-transactions-table-average-spending {
|
.report-config-projected-cashflow-for-period-transactions-table-average-spending {
|
||||||
|
|||||||
Reference in New Issue
Block a user