bug: Use correct currency value while setting the currency. #2018

Merged
Joelute merged 1 commits from credit-card-bug into main 2025-03-24 22:06:30 +08:00
Joelute commented 2025-03-23 10:58:22 +08:00 (Migrated from github.com)

Currently, currency_value may evaluate to nil despite the default family currency. Rather, we should use currency as it baskets currency_value and family currency.

Before After
image image
image image

Fixes: #1754.

Currently, `currency_value` may evaluate to `nil` despite the default family currency. Rather, we should use `currency` as it baskets `currency_value` and family currency. | Before | After | |---|---| | ![image](https://github.com/user-attachments/assets/169909d6-50b5-4ea4-9f4a-c3186c8052c7)| ![image](https://github.com/user-attachments/assets/10e4927e-738f-4da0-ab20-7cf60d7889b6)| | ![image](https://github.com/user-attachments/assets/44658af9-8716-431b-9210-02e6f381d7d3)| ![image](https://github.com/user-attachments/assets/324df03c-29c4-43b0-b5e8-8c6f9c142974)| Fixes: #1754.
zachgoll (Migrated from github.com) approved these changes 2025-03-24 22:03:02 +08:00
zachgoll (Migrated from github.com) left a comment

Looks good

Looks good
Sign in to join this conversation.