mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 20:15:33 -05:00
* [AI] Mobile: pass today for Post transaction today on global account lists (#7311) All Accounts, On budget, and Off budget transaction lists now forward the today flag to schedule/post-transaction, matching single-account mobile and desktop behavior. Made-with: Cursor * [AI] Add release note for PR 7322 (#7311) Made-with: Cursor * [AI] Tighten release note wording for PR 7322 (imperative) Made-with: Cursor --------- Co-authored-by: Pranay Mac M1 <pranayseela@yahoo.com>
This commit is contained in:
@@ -71,9 +71,12 @@ function TransactionListWithPreviews() {
|
||||
name: 'scheduled-transaction-menu',
|
||||
options: {
|
||||
transactionId: transaction.id,
|
||||
onPost: async transactionId => {
|
||||
onPost: async (transactionId, today = false) => {
|
||||
const parts = transactionId.split('/');
|
||||
await send('schedule/post-transaction', { id: parts[1] });
|
||||
await send('schedule/post-transaction', {
|
||||
id: parts[1],
|
||||
today,
|
||||
});
|
||||
dispatch(
|
||||
collapseModals({
|
||||
rootModalName: 'scheduled-transaction-menu',
|
||||
|
||||
@@ -82,9 +82,12 @@ function TransactionListWithPreviews() {
|
||||
name: 'scheduled-transaction-menu',
|
||||
options: {
|
||||
transactionId: transaction.id,
|
||||
onPost: async transactionId => {
|
||||
onPost: async (transactionId, today = false) => {
|
||||
const parts = transactionId.split('/');
|
||||
await send('schedule/post-transaction', { id: parts[1] });
|
||||
await send('schedule/post-transaction', {
|
||||
id: parts[1],
|
||||
today,
|
||||
});
|
||||
dispatch(
|
||||
collapseModals({
|
||||
rootModalName: 'scheduled-transaction-menu',
|
||||
|
||||
@@ -82,9 +82,12 @@ function TransactionListWithPreviews() {
|
||||
name: 'scheduled-transaction-menu',
|
||||
options: {
|
||||
transactionId: transaction.id,
|
||||
onPost: async transactionId => {
|
||||
onPost: async (transactionId, today = false) => {
|
||||
const parts = transactionId.split('/');
|
||||
await send('schedule/post-transaction', { id: parts[1] });
|
||||
await send('schedule/post-transaction', {
|
||||
id: parts[1],
|
||||
today,
|
||||
});
|
||||
dispatch(
|
||||
collapseModals({
|
||||
rootModalName: 'scheduled-transaction-menu',
|
||||
|
||||
6
upcoming-release-notes/7322.md
Normal file
6
upcoming-release-notes/7322.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfixes
|
||||
authors: [pranayseela]
|
||||
---
|
||||
|
||||
Fix mobile Post transaction today on All Accounts, On budget, and Off budget lists so scheduled previews post with today's date, matching single-account mobile and desktop.
|
||||
Reference in New Issue
Block a user