Add support for batch submission.

This commit is contained in:
James Cole
2026-01-24 18:34:49 +01:00
parent 7edc386cdd
commit 8c0a82ac0a
8 changed files with 142 additions and 99 deletions

View File

@@ -113,7 +113,9 @@ class UpdateRequest extends FormRequest
];
$this->booleanFields = ['reconciled'];
$this->arrayFields = ['tags'];
$data = [];
$data = [
'batch_submission' => false,
];
if ($this->has('transactions')) {
$data['transactions'] = $this->getTransactionData();
}
@@ -123,6 +125,9 @@ class UpdateRequest extends FormRequest
if ($this->has('fire_webhooks')) {
$data['fire_webhooks'] = $this->boolean('fire_webhooks', true);
}
if ($this->has('batch_submission')) {
$data['batch_submission'] = $this->boolean('batch_submission');
}
if ($this->has('group_title')) {
$data['group_title'] = $this->convertString('group_title');
}