victorbalssa / abacus

🟠 Abacus: Firefly III mobile application.
https://apps.apple.com/us/app/1627093491
GNU General Public License v3.0
525 stars 38 forks source link

marcelweikum:fix/bills #323

Closed marcelweikum closed 1 month ago

marcelweikum commented 1 month ago

Hey Victor,

I've fixed issue #321 as discussed. I've made the appearance consistent with the Piggybank tab.

I encountered something strange: if you set the bill repetition to longer than monthly, the nextExpectedMatch date is not provided anymore. To handle this, I introduced the "date_unavailable" locale, which adds "further notice" instead of a date.

Here's how the functionality works:

Unpaid bills show the next expected pay date with the label "Due to " followed by the date and the total amount due. It displays the minimum amount required to fully pay the bill.

Partially paid bills display the percentage paid, a progress bar, the amount paid so far, and the minimum amount required.

Fully paid bills show the label "Paid until" followed by the date. If there is no date available, it says "Paid until further notice."

Let me know if you have any questions or need further adjustments.

Simulator Screenshot Unpaid Simulator Screenshot Partially paid Simulator Screenshot Fully paid

Best, Marcel