{{ $list['username'] }} |
{{ $list['name'] }} |
{{ $d }} |
{{ (isset($list['date'][$d][0]->turnover)) ? $list['date'][$d][0]->turnover : "" }} |
{{ (isset($list['date'][$d][0]->valid_amount)) ? $list['date'][$d][0]->valid_amount : "" }} |
{{ (isset($list['date'][$d][0]->stack_count)) ? $list['date'][$d][0]->stack_count : "" }} |
{{ $winloss }} |
{{ (isset($list['date'][$d][0]->member_comm)) ? $list['date'][$d][0]->member_comm : "" }} |
{{ (isset($list['date'][$d][0]->member_total)) ? $list['date'][$d][0]->member_total : "" }} |
|
@endforeach
@php
if($total_member_winloss > 0){
$chk_all = 0;
}else{
$credit = ($total_member_winloss * 0.05) * -1;
if($chk_all){
$total_loss += $total_member_winloss;
$total_back_credit += $credit;
$count_back += 1;
}
}
@endphp