mirror of
https://github.com/bitwarden/server
synced 2025-12-22 11:13:27 +00:00
[PM-23309] Admin Console Credit is not Displaying Decimals (#6280)
* fix: update calculation to be decimal * fix: update record type property to decimal * tests: add tests to service and update test names
This commit is contained in:
@@ -345,7 +345,7 @@ public class SubscriberService(
|
||||
return PaymentMethod.Empty;
|
||||
}
|
||||
|
||||
var accountCredit = customer.Balance * -1 / 100;
|
||||
var accountCredit = customer.Balance * -1 / 100M;
|
||||
|
||||
var paymentMethod = await GetPaymentSourceAsync(subscriber.Id, customer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user