Commit c2ef684
committed
Correct check amount when printed from subaccount
Previously, GnuCash would include only a single split's amount as the check
amount. If a "bank" account has multiple subaccounts for budgeting reasons, and
a transaction involves both "internal" (e.g. from one bank subaccount to
another bank subaccount) and external transfers, then even when a "subaccount"
register showing the top-level bank account is printed from, the check will
have the amount of the first split rather than the total of all splits which
are from subaccounts.
This change communicates the parent account (when viewed from a "subccount"
register) to the check printing dialog so that the check amount matches the
amount displayed in the register.1 parent 2ca6cb2 commit c2ef684
File tree
4 files changed
+58
-8
lines changed- gnucash/gnome
4 files changed
+58
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
372 | 411 | | |
373 | 412 | | |
374 | 413 | | |
| |||
1606 | 1645 | | |
1607 | 1646 | | |
1608 | 1647 | | |
| 1648 | + | |
| 1649 | + | |
1609 | 1650 | | |
1610 | 1651 | | |
1611 | 1652 | | |
1612 | | - | |
| 1653 | + | |
| 1654 | + | |
1613 | 1655 | | |
1614 | 1656 | | |
1615 | 1657 | | |
| |||
1620 | 1662 | | |
1621 | 1663 | | |
1622 | 1664 | | |
| 1665 | + | |
1623 | 1666 | | |
1624 | 1667 | | |
1625 | 1668 | | |
| |||
2112 | 2155 | | |
2113 | 2156 | | |
2114 | 2157 | | |
2115 | | - | |
| 2158 | + | |
2116 | 2159 | | |
2117 | 2160 | | |
2118 | 2161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
3461 | | - | |
| 3461 | + | |
3462 | 3462 | | |
3463 | 3463 | | |
3464 | 3464 | | |
| |||
3474 | 3474 | | |
3475 | 3475 | | |
3476 | 3476 | | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
3477 | 3483 | | |
3478 | 3484 | | |
3479 | 3485 | | |
3480 | 3486 | | |
3481 | 3487 | | |
3482 | 3488 | | |
3483 | | - | |
| 3489 | + | |
3484 | 3490 | | |
3485 | 3491 | | |
3486 | 3492 | | |
| |||
3491 | 3497 | | |
3492 | 3498 | | |
3493 | 3499 | | |
3494 | | - | |
| 3500 | + | |
3495 | 3501 | | |
3496 | 3502 | | |
3497 | 3503 | | |
| |||
3544 | 3550 | | |
3545 | 3551 | | |
3546 | 3552 | | |
3547 | | - | |
| 3553 | + | |
3548 | 3554 | | |
3549 | 3555 | | |
3550 | 3556 | | |
| |||
0 commit comments