|
@@ -62,9 +62,10 @@ class My extends Core
|
|
|
$total += $v['daijiaofu'];
|
|
|
$this->data['cash'][$k]['total'] = number_format($v['jiaofu'] + $v['fafang'] + $v['duifu'], 2, '.', '');
|
|
|
if ($this->data['cash'][$k]['total'] <= 0) {
|
|
|
- // unset($this->data['cash'][$k]);
|
|
|
+ unset($this->data['cash'][$k]);
|
|
|
}
|
|
|
}
|
|
|
+ $this->data['cash'] = array_slice($this->data['cash'], 0);
|
|
|
}
|
|
|
|
|
|
if ($agreement) {
|