87d2788f95
FEATURE(wallet): backfill command for company-side wallet history
...
Several services (ipg, settlement, advertising, promotions) used to pass a
user wallet (rial/reward) as their company-side wallet because they had no
dedicated company account. They now each do. This adds a one-shot management
command that repoints the company side of historical Transaction rows onto
the new dedicated wallets and corrects the two affected Account.balance
running totals.
- apps/wallet/management/commands/backfill_company_wallets.py
dry-run by default; --execute; --service <name>; --app-<svc> <uuid> override.
Idempotent (filters on the old account), single atomic + select_for_update.
- docs/company_wallet_history_backfill.md — full write-up: model, mapping,
balance-correction logic, consequences, run checklist, source commits.
Not yet run against staging/prod.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 15:32:18 +03:30
fba0cf3b64
Merge branch 'master' of https://git.addwin.ir/addwin/wallet
2026-08-19 15:49:19 +03:30
2fae79eb04
FIX(ads): fix query params
...
fix query params
2026-08-19 15:46:25 +03:30
11327db537
Merge pull request 'update admin panel calendar' ( #1 ) from feature/admin-panel-calendar into master
...
Reviewed-on: #1
2026-08-15 05:48:40 -04:00
1d555cd031
update admin panel calendar
2026-08-01 15:34:01 +03:30
fb4c79c5c6
run by docker via base:debian13
2026-05-02 13:16:27 +03:30
5b278bddd2
run by docker via base:debian13
2026-05-01 23:31:25 +03:30
8328814dca
FEATURE(wallet): add export excel to panel admin
...
add export excel to panel admin
2026-04-27 13:58:47 +03:30
5d897b0917
FEATURE(wallet): add DateTimeRangeFilter to panel admin
...
add DateTimeRangeFilter to panel admin
2026-04-27 13:09:34 +03:30
5eff037d10
FEATURE(wallet): add DateTimeRangeFilter to panel admin
...
add DateTimeRangeFilter to panel admin
2026-04-27 13:02:37 +03:30
Sayyid Hamid Mahdavi
d9b7dbe1b2
new Dockerfile
2026-04-26 14:07:11 +03:30
Sayyid Hamid Mahdavi
e6eafbd6dc
better settings
2026-04-26 12:35:29 +03:30
2d8e0da6fa
FIX(wallet): export excel
...
export excel
2026-04-20 12:23:52 +03:30
7b1e9376b4
FIX(wallet): get_user_detailed_info
...
get_user_detailed_info
2026-04-20 12:21:58 +03:30
615a568294
FIX(wallet): update account client
...
fix update account client
2026-04-20 12:16:50 +03:30
a8b32a16f4
FIX(settlement): add rollback_deposit_to_payee_balance
...
add rollback_deposit_to_payee_balance
2026-02-17 15:44:27 +03:30
Sayyid Hamid Mahdavi
0a179bf350
admin
2026-02-15 12:46:50 +03:30
e27fe27bf0
Merge pull request 'FIX(wallet): add cancel state and add success to rollback init states' ( #8 ) from FEATURE/new-commission-calculation-and-toman-api into master
...
Reviewed-on: https://git.mindplus-dev.ir/sahama/wallet/pulls/8
2026-02-14 08:13:53 -05:00
e3413e33ab
FIX(wallet): add CSRF_TRUSTED_ORIGINS
...
add CSRF_TRUSTED_ORIGINS
2026-02-14 16:31:03 +03:30
7e378e5b54
FIX(wallet): add cancel state and add success to rollback init states
...
add cancel state and add success to rollback init states
2026-02-14 15:24:46 +03:30
Sayyid Hamid Mahdavi
e5f22d1659
Dockerfile
2026-02-12 12:10:28 +03:30
8acf7bc6c1
Merge pull request 'FIX(wallet): hot fix' ( #7 ) from FIX/gte-in-withdraw into master
...
Reviewed-on: https://git.mindplus-dev.ir/sahama/wallet/pulls/7
2026-02-09 05:31:42 -05:00
fd244950e1
FIX(wallet): hot fix
...
hot fix
2026-02-09 13:56:43 +03:30
Sayyid Hamid Mahdavi
cc5b0568a9
role
2026-02-07 16:57:06 +03:30
Sayyid Hamid Mahdavi
a5639b5426
Merge branch 'master' of git.mindplus-dev.ir:sahama/wallet
2026-02-07 16:18:50 +03:30
Sayyid Hamid Mahdavi
2caae02a3c
more fields
2026-02-07 16:18:20 +03:30
53cc3f67ee
FIX(wallet): remove import
...
remove import
2026-02-07 16:11:13 +03:30
fb00595d23
Merge pull request 'FIX(wallet): change to rollback status' ( #6 ) from FIX/change-to-rollback-status into master
...
Reviewed-on: https://git.mindplus-dev.ir/sahama/wallet/pulls/6
2026-02-07 06:31:13 -05:00
Sayyid Hamid Mahdavi
1d961efb69
urls
2026-02-07 13:56:03 +03:30
Sayyid Hamid Mahdavi
15fe0d4531
grouped transactions
2026-02-07 13:47:10 +03:30
Sayyid Hamid Mahdavi
e045ffd9b1
grouped transactions
2026-02-07 13:21:01 +03:30
Sayyid Hamid Mahdavi
27db599e8c
new Dockerfile
2026-02-07 12:37:14 +03:30
Sayyid Hamid Mahdavi
95df80f593
new Dockerfile
2026-02-07 12:30:46 +03:30
Sayyid Hamid Mahdavi
1e3a69ece1
new Dockerfile
2026-02-07 12:25:05 +03:30
Sayyid Hamid Mahdavi
ff3cbcf162
new Dockerfile
2026-02-07 12:17:19 +03:30
Sayyid Hamid Mahdavi
7e8e35c746
new Dockerfile
2026-02-07 12:17:13 +03:30
Sayyid Hamid Mahdavi
b8e0cd09fc
add migration file
2026-02-07 09:31:52 +03:30
Sayyid Hamid Mahdavi
c24b52e341
add reference field
2026-02-07 09:28:06 +03:30
132a3afcbf
FIX(wallet): change to rollback status
...
change to rollback status
2026-02-02 15:01:16 +03:30
Sayyid Hamid Mahdavi
4393e3878a
add rollback api
2025-12-27 15:15:16 +03:30
Sayyid Hamid Mahdavi
bd3438528d
new change state
2025-12-27 14:53:45 +03:30
Sayyid Hamid Mahdavi
dae2a2e518
add rollback to model
2025-12-27 14:35:26 +03:30
Sayyid Hamid Mahdavi
9183b1aa78
pass tests
2025-12-27 13:41:34 +03:30
Sayyid Hamid Mahdavi
a35bd6b202
increase time out
2025-12-09 10:19:23 +03:30
Sayyid Hamid Mahdavi
587a0d106b
logger
2025-12-09 10:13:13 +03:30
Sayyid Hamid Mahdavi
a9935fe72c
admin search bugfix
2025-12-03 14:42:17 +03:30
Sayyid Hamid Mahdavi
ce1b8ccd46
Merge remote-tracking branch 'origin/master'
2025-11-06 13:51:08 +03:30
Sayyid Hamid Mahdavi
d76d23ae7d
bugfix
2025-11-06 13:51:00 +03:30
sahama
62fd479e60
Merge pull request 'fix(wallet): fix user wallet' ( #5 ) from FIX/user-wallets into master
...
Reviewed-on: https://git.mindplus-dev.ir/sahama/wallet/pulls/5
Reviewed-by: sahama <sayyidhamidmahdavi@gmail.com>
2025-11-05 05:25:28 -05:00
29e89fe6cc
fix(wallet): fix user wallet
...
fix user wallet
2025-11-05 13:51:08 +03:30