feat: add IsActive field to UserClubFeatures for admin management
This commit is contained in:
@@ -34,9 +34,9 @@ public class RejectWithdrawalCommandHandler : IRequestHandler<RejectWithdrawalCo
|
||||
// Update status to Cancelled (rejected)
|
||||
payout.Status = CommissionPayoutStatus.Cancelled;
|
||||
payout.ProcessedBy = _currentUser.GetPerformedBy();
|
||||
payout.ProcessedAt = DateTime.UtcNow;
|
||||
payout.ProcessedAt = DateTime.Now;
|
||||
payout.RejectionReason = request.Reason;
|
||||
payout.LastModified = DateTime.UtcNow;
|
||||
payout.LastModified = DateTime.Now;
|
||||
|
||||
// TODO: Add PayoutHistory record with rejection reason
|
||||
// var history = new CommissionPayoutHistory
|
||||
@@ -51,7 +51,7 @@ public class RejectWithdrawalCommandHandler : IRequestHandler<RejectWithdrawalCo
|
||||
// Action = (int)CommissionPayoutAction.Rejected,
|
||||
// PerformedBy = "Admin", // TODO: Get from authenticated user
|
||||
// Reason = request.Reason,
|
||||
// Created = DateTime.UtcNow
|
||||
// Created = DateTime.Now
|
||||
// };
|
||||
// _context.CommissionPayoutHistories.Add(history);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user