|
@@ -267,7 +267,7 @@ export default {
|
267
|
267
|
console.log('bookieEarned' , row.bookieEarned)
|
268
|
268
|
row.bookieServiceFees = _.sumBy(bookie.true, (item) => { return item.serviceFees});
|
269
|
269
|
}
|
270
|
|
- row.totalServiceFees = Number(new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).plus(row.bookieWagerFee).valueOf())
|
|
270
|
+ row.totalServiceFees = Number(new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).plus(row.bookieWagerFee).times(row.feeRatio).valueOf())
|
271
|
271
|
let chipsLog = _.groupBy(member.GambleMemberChipsLogs, 'type')
|
272
|
272
|
// console.log('type', chipsLog)
|
273
|
273
|
if (chipsLog['0'] || chipsLog['2']) {
|