|
@@ -97,9 +97,12 @@ class Cash
|
|
}
|
|
}
|
|
|
|
|
|
$per = $yspay['per']/100;
|
|
$per = $yspay['per']/100;
|
|
|
|
+ $cash_jy_per = $yspay['cash_jy_per']/100;
|
|
|
|
|
|
$data['ycash'] = $amount;
|
|
$data['ycash'] = $amount;
|
|
- $data['cash'] = round($data['ycash'] - $data['ycash'] * $per, 2);
|
|
|
|
|
|
+ $data['yl_cash'] = round($data['ycash'] * $per, 2);
|
|
|
|
+ $data['pt_cash'] = round($data['ycash'] * $cash_jy_per, 2);
|
|
|
|
+ $data['cash'] = round($data['ycash'] - $data['yl_cash'] - $data['pt_cash'], 2);
|
|
if ($yspay['cash_type'] == 1) {
|
|
if ($yspay['cash_type'] == 1) {
|
|
$fz_cash = $data['ycash'];
|
|
$fz_cash = $data['ycash'];
|
|
} else {
|
|
} else {
|