support creating transaction from template

This commit is contained in:
MaysWind
2024-08-04 00:58:25 +08:00
parent 889225301c
commit fcb954ff40
4 changed files with 94 additions and 11 deletions
@@ -669,6 +669,10 @@ export default {
self.mode = 'add';
self.editId = null;
if (options.template) {
self.setTransaction(options.template, options, false, false);
}
if (self.settingsStore.appSettings.autoGetCurrentGeoLocation
&& !self.geoLocationStatus && !self.transaction.geoLocation) {
self.updateGeoLocation(false);