Rebuild edit script.

This commit is contained in:
James Cole
2024-01-20 07:09:26 +01:00
parent 523fa42998
commit f603415931
4 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -127,7 +127,7 @@
"integrity": "sha384-rrUkO07lnTiSQ+5SPMwOLmnu2J+5oQmZFKfsf3ApkQG9ct3qrwBocQ9f0H5cftv2" "integrity": "sha384-rrUkO07lnTiSQ+5SPMwOLmnu2J+5oQmZFKfsf3ApkQG9ct3qrwBocQ9f0H5cftv2"
}, },
"resources/assets/v2/pages/transactions/edit.js": { "resources/assets/v2/pages/transactions/edit.js": {
"file": "assets/edit-74c97acb.js", "file": "assets/edit-955087f5.js",
"imports": [ "imports": [
"_format-money-a71f277a.js", "_format-money-a71f277a.js",
"_get-971543fd.js", "_get-971543fd.js",
@@ -139,7 +139,7 @@
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/transactions/edit.js", "src": "resources/assets/v2/pages/transactions/edit.js",
"integrity": "sha384-gU2Nw6D5i8slOZwzR1Tlpf82FvESkn7cNoT24Pk/VJzqY3JQo3Mwr0vb09swPwEZ" "integrity": "sha384-X1LvGXQKDOfvCyLgWW7zmgFB3R4cIBFfQyHnB/tQZppov8BmZzrv7diR5Bymy8pw"
}, },
"resources/assets/v2/pages/transactions/index.js": { "resources/assets/v2/pages/transactions/index.js": {
"file": "assets/index-cf70f728.js", "file": "assets/index-cf70f728.js",

View File

@@ -93,7 +93,10 @@ let transactions = function () {
// properties for the entire transaction group // properties for the entire transaction group
groupProperties: { groupProperties: {
transactionType: 'unknown', title: null, id: null, totalAmount: 0, transactionType: 'unknown',
title: null,
editTitle: null,
id: null, totalAmount: 0,
}, },
// notifications // notifications
@@ -129,7 +132,7 @@ let transactions = function () {
// parse transaction: // parse transaction:
let transactions = parseFromEntries(this.entries, this.originals, this.groupProperties.transactionType); let transactions = parseFromEntries(this.entries, this.originals, this.groupProperties.transactionType);
let submission = { let submission = {
group_title: this.groupProperties.title, group_title: this.groupProperties.editTitle,
fire_webhooks: this.formStates.webhooksButton, fire_webhooks: this.formStates.webhooksButton,
apply_rules: this.formStates.rulesButton, apply_rules: this.formStates.rulesButton,
transactions: transactions transactions: transactions