mirror of
https://github.com/oxygenpay/oxygen.git
synced 2026-04-26 08:05:56 +03:00
[PR #44] [MERGED] feat: system transfers #44
Labels
No labels
duplicate
not reproducible
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/oxygen#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/oxygenpay/oxygen/pull/44
Author: @swift1337
Created: 12/17/2023
Status: ✅ Merged
Merged: 12/17/2023
Merged by: @swift1337
Base:
develop← Head:feat/system-transfer📝 Commits (7)
8eeb76aSupport for subtracting negative numbersd798378Add command for listing balances. Calculate system balancesda13f41Scaffold topup-balance command2d004feImplement system topup featurec9ed558Wire cmd command; fix currency ticker for internal paymentsa08c221Fix test cases8019fb6Fix money.String() for negative numbers📊 Changes
20 files changed (+1052 additions, -33 deletions)
View changed files
➕
cmd/list_balances.go(+89 -0)📝
cmd/root.go(+4 -0)➕
cmd/topup_balance.go(+159 -0)📝
internal/db/repository/balances.sql.go(+45 -0)📝
internal/db/repository/helpers.go(+0 -1)📝
internal/db/repository/querier.go(+1 -0)📝
internal/money/money.go(+29 -7)📝
internal/money/money_test.go(+23 -1)📝
internal/service/payment/model.go(+2 -0)📝
internal/service/payment/service.go(+74 -13)➕
internal/service/processing/service_topup.go(+118 -0)➕
internal/service/processing/service_topup_test.go(+156 -0)📝
internal/service/transaction/model.go(+12 -3)➕
internal/service/transaction/service_topup.go(+132 -0)📝
internal/service/transaction/service_update.go(+40 -1)📝
internal/service/wallet/service_balance.go(+141 -0)📝
internal/test/must.go(+1 -1)📝
scripts/queries/balances.sql(+6 -0)📝
ui-dashboard/src/components/payment-desc-card/payment-desc-card.tsx(+10 -1)📝
ui-dashboard/src/pages/payments-page/payments-page.tsx(+10 -5)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.