Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
F
finwise-miniapp-fe
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ThinhNC
  • finwise-miniapp-fe
  • Merge Requests
  • !45

Merged
Opened Sep 13, 2026 by ThinhNC@ThinhNC
  • Report abuse
Report abuse

fix(recurring): remove VND decimals and display notification status badge

Summary of Changes

1. Fix VND Decimal Display & Input Formatting

  • Core Currency Formatters (money-input.ts, wallet-format.ts, i18n):
    • Enforced integer-only formatting (minimumFractionDigits: 0, maximumFractionDigits: 0) and Math.round() for all VND monetary values.
    • Added normalizeAmountInput(amount, currency) to strip trailing .00 from backend DTOs when loading form defaults.
    • Prevented decimal point input and switched mobile keyboard mode to numeric for VND inputs.
    • Aligned formatting across RecurringTransactionFormModal, TransactionFormModal, TransferFormModal, and BudgetFormModal.

2. Recurring Transactions Notification / Reminder Status

  • Recurring Schedule List (pages/recurring-transactions/index.tsx):
    • Added clear notification status badges directly on each transaction card:
      • Enabled: Remind {{days}}d before (or Remind same day) in warning badge.
      • Disabled: No reminder in subtle muted badge.
    • Avoids requiring users to click into modal details to check whether reminders are configured.
    • Kept the summary information box clean in a 2-column layout (Cycle and Next run).
  • Modal Synchronization:
    • Maintained reminder enable toggle and selected day settings when editing schedules in RecurringTransactionFormModal.
    • Added auto-clamp to same-day reminder (0 days) when recurring frequency is set to DAILY.
    • Updated RecurringTransactionDetailsModal to display both enabled and disabled reminder states.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b fix/recurring-vnd-decimals-and-reminder-status origin/fix/recurring-vnd-decimals-and-reminder-status

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/develop
git merge --no-ff fix/recurring-vnd-decimals-and-reminder-status

Step 4. Push the result of the merge to GitLab

git push origin develop

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 13
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: ThinhNC/finwise-miniapp-fe!45

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.