|
@@ -348,6 +348,7 @@ class Account
|
|
|
public function getCash($id)
|
|
|
{
|
|
|
$where['aid'] = $id;
|
|
|
+ $where['status'] = 2;
|
|
|
$total = Dever::db('option/bill_jiaofu')->total($where);
|
|
|
$daijiaofu = $total . '条';
|
|
|
$cash = Dever::db('option/cash')->select(array('aid' => $id, 'status' => 2));
|