Compare commits
2 Commits
6298d94c35
...
590eba79c4
Author | SHA1 | Date | |
---|---|---|---|
590eba79c4 | |||
fc961bd4bc |
@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
DrCr: Web-based double-entry bookkeeping framework
|
DrCr: Double-entry bookkeeping framework
|
||||||
Copyright (C) 2022–2025 Lee Yingtong Li (RunasSudo)
|
Copyright (C) 2022-2025 Lee Yingtong Li (RunasSudo)
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -82,8 +82,9 @@
|
|||||||
editLink = `<a href="/journal/edit/${ transaction.id }" class="text-gray-500 hover:text-gray-700" onclick="return openLinkInNewWindow(this);">${ PencilIconHTML }</a>`;
|
editLink = `<a href="/journal/edit/${ transaction.id }" class="text-gray-500 hover:text-gray-700" onclick="return openLinkInNewWindow(this);">${ PencilIconHTML }</a>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (transaction.postings.length == 2) {
|
if (transaction.postings.length == 2 && (transaction.postings[0].account !== route.params.account || transaction.postings[1].account !== route.params.account)) {
|
||||||
// Simple transaction
|
// Simple transaction - if only 2 postings, and a transfer between this and another account
|
||||||
|
|
||||||
let thisAccountPosting, otherAccountPosting;
|
let thisAccountPosting, otherAccountPosting;
|
||||||
|
|
||||||
for (const posting of transaction.postings) {
|
for (const posting of transaction.postings) {
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Roboto Flex";
|
font-family: "Roboto Flex";
|
||||||
|
font-weight: 100 1000;
|
||||||
src: url("/src/assets/fonts/RobotoFlex-VF.ttf");
|
src: url("/src/assets/fonts/RobotoFlex-VF.ttf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user