|
@@ -84,7 +84,12 @@ class member_bonusControl extends mbMemberControl
|
|
|
}
|
|
|
|
|
|
$rate_moneys = [];
|
|
|
- $item['amount'] = $type->getTotal_amount();
|
|
|
+
|
|
|
+ if($type->isFixedAmount()) {
|
|
|
+ $item['amount'] = $type->fixed_money();
|
|
|
+ } else {
|
|
|
+ $item['amount'] = $type->getTotal_amount();
|
|
|
+ }
|
|
|
$item['num'] = $type->getTotal_num();
|
|
|
$item['rate'] = $bonus_rate;
|
|
|
$rate_moneys[] = $item;
|