比例与日期格式修正

master
zhengyongxing 4 years ago
parent 5acd5197ae
commit f18f3ce7e2

@ -1446,8 +1446,10 @@ class CompanyStatementController extends ThinkController
$statement_info[$k]['statement_type'] = 0;
$statement_info[$k]['fax_ratio'] = $company_data['fax_ratio'];
}
$statement_info[$k]['statement_begin_time'] = dateFormat($v['statement_begin_time']);
$statement_info[$k]['statement_end_time'] = dateFormat($v['statement_end_time']);
}
if ($company_data['company_type'] == 2) {
@ -1493,8 +1495,8 @@ class CompanyStatementController extends ThinkController
$game_list['ratio'] = $v['ratio'];
$game_list['fax_ratio'] = $company_data['fax_ratio'];
$game_list['sum_money'] = number_format(($aval['pay_amount']*($v['increment_ratio']))/100,2,'.','');
$game_list['increment_ratio'] = number_format($v['increment_ratio'],2,'.','');
$game_list['sum_money'] = ($aval['pay_amount']*($v['increment_ratio']))/100;
$game_list['increment_ratio'] = $v['increment_ratio'];
$game_list['statement_begin_time'] = $v['statement_begin_time'];
$game_list['statement_end_time'] = $v['statement_end_time'];
$game_list['statement_type'] = '0';

@ -241,12 +241,13 @@
<tr>
<td>合计</td>
<if condition="$data['withdraw_type'] eq 3">
<td></td>
</if>
<td></td>
<td>{$data['statement_count']['pay_amount']-0}</td>
<td></td>
<if condition="$data['withdraw_type'] eq 3">
<td></td>
</if>
<td></td>
<td>{$data['statement_count']['statement_money']-0}</td>
</tr>

@ -147,7 +147,7 @@
<td rowspan="{$it['row']}">{$it['account']}</td>
<td>{$it['game_list'][0]['game_name']}</td>
<td>{$it['game_list'][0]['game_type_name']}</td>
<td>{$it['game_list'][0]['statement_begin_time']|dateFormat}~{$it['game_list'][0]['statement_end_time']|dateFormat}</td>
<td>{$it['game_list'][0]['statement_begin_time']}~{$it['game_list'][0]['statement_end_time']}</td>
<td>{$it['game_list'][0]['pay_amount']}</td>
<if condition="$data['withdraw_type'] eq 2">
<td>{$it['game_list'][0]['increment_ratio']}%</td>

Loading…
Cancel
Save