Set version to 1.12.1, and fixed false positive with duplicate detection when editing existing transactions.
This commit is contained in:
parent
e4783e5a47
commit
20eed2108f
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>com.andrewlalis</groupId>
|
<groupId>com.andrewlalis</groupId>
|
||||||
<artifactId>perfin</artifactId>
|
<artifactId>perfin</artifactId>
|
||||||
<version>1.12.0</version>
|
<version>1.12.1</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>21</maven.compiler.source>
|
<maven.compiler.source>21</maven.compiler.source>
|
||||||
|
|
|
@ -24,7 +24,7 @@ module_path="$module_path:target/modules/h2-2.2.224.jar"
|
||||||
|
|
||||||
jpackage \
|
jpackage \
|
||||||
--name "Perfin" \
|
--name "Perfin" \
|
||||||
--app-version "1.11.0" \
|
--app-version "1.12.1" \
|
||||||
--description "Desktop application for personal finance. Add your accounts, track transactions, and store receipts, invoices, and more." \
|
--description "Desktop application for personal finance. Add your accounts, track transactions, and store receipts, invoices, and more." \
|
||||||
--icon design/perfin-logo_256.png \
|
--icon design/perfin-logo_256.png \
|
||||||
--vendor "Andrew Lalis" \
|
--vendor "Andrew Lalis" \
|
||||||
|
|
|
@ -12,7 +12,7 @@ $modulePath = "$modulePath;target\modules\h2-2.2.224.jar"
|
||||||
|
|
||||||
jpackage `
|
jpackage `
|
||||||
--name "Perfin" `
|
--name "Perfin" `
|
||||||
--app-version "1.11.0" `
|
--app-version "1.12.1" `
|
||||||
--description "Desktop application for personal finance. Add your accounts, track transactions, and store receipts, invoices, and more." `
|
--description "Desktop application for personal finance. Add your accounts, track transactions, and store receipts, invoices, and more." `
|
||||||
--icon design\perfin-logo_256.ico `
|
--icon design\perfin-logo_256.ico `
|
||||||
--vendor "Andrew Lalis" `
|
--vendor "Andrew Lalis" `
|
||||||
|
|
|
@ -348,7 +348,7 @@ public class EditTransactionController implements RouteSelectionListener {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
AsyncValidationFunction<BasicTransactionInfo> validationFunction = info -> {
|
AsyncValidationFunction<BasicTransactionInfo> validationFunction = info -> {
|
||||||
if (info == null) return CompletableFuture.completedFuture(ValidationResult.valid());
|
if (info == null || transaction != null) return CompletableFuture.completedFuture(ValidationResult.valid());
|
||||||
return Profile.getCurrent().dataSource().mapRepoAsync(
|
return Profile.getCurrent().dataSource().mapRepoAsync(
|
||||||
TransactionRepository.class,
|
TransactionRepository.class,
|
||||||
repo -> repo.findDuplicates(info.timestamp(), info.amount(), info.currency())
|
repo -> repo.findDuplicates(info.timestamp(), info.amount(), info.currency())
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<!-- App footer -->
|
<!-- App footer -->
|
||||||
<bottom>
|
<bottom>
|
||||||
<HBox styleClass="std-padding,std-spacing">
|
<HBox styleClass="std-padding,std-spacing">
|
||||||
<Label text="Perfin Version 1.11.0"/>
|
<Label text="Perfin Version 1.12.1"/>
|
||||||
<AnchorPane>
|
<AnchorPane>
|
||||||
<Label text="© 2024 Andrew Lalis" styleClass="small-font,secondary-color-text-fill" AnchorPane.topAnchor="0" AnchorPane.bottomAnchor="0"/>
|
<Label text="© 2024 Andrew Lalis" styleClass="small-font,secondary-color-text-fill" AnchorPane.topAnchor="0" AnchorPane.bottomAnchor="0"/>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
|
Loading…
Reference in New Issue