10% community upkeep fee with explanations throughout
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class FeeCalculator {
|
||||
static calculateRentalFees(totalAmount) {
|
||||
const platformFeeRate = 0.2;
|
||||
const platformFeeRate = 0.1;
|
||||
|
||||
const platformFee = totalAmount * platformFeeRate;
|
||||
|
||||
@@ -15,7 +15,7 @@ class FeeCalculator {
|
||||
static formatFeesForDisplay(fees) {
|
||||
return {
|
||||
totalAmount: `$${fees.totalAmount.toFixed(2)}`,
|
||||
platformFee: `$${fees.platformFee.toFixed(2)} (20%)`,
|
||||
platformFee: `$${fees.platformFee.toFixed(2)} (10%)`,
|
||||
totalCharge: `$${fees.totalChargedAmount.toFixed(2)}`,
|
||||
ownerPayout: `$${fees.payoutAmount.toFixed(2)}`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user