|
|
@ -38,6 +38,13 @@ class VerifyBillController extends Controller {
|
|
|
|
->select();
|
|
|
|
->select();
|
|
|
|
foreach ($list_data as $key => $value) {
|
|
|
|
foreach ($list_data as $key => $value) {
|
|
|
|
$list_data[$key]['statement_type_str'] = $value['statement_type'] ? '工会对账单' : 'cp对账单';
|
|
|
|
$list_data[$key]['statement_type_str'] = $value['statement_type'] ? '工会对账单' : 'cp对账单';
|
|
|
|
|
|
|
|
if ($value['verify_status'] == 1) {
|
|
|
|
|
|
|
|
$list_data[$key]['verify_status_str'] = '审核通过';
|
|
|
|
|
|
|
|
} elseif ($value['verify_status'] == 1) {
|
|
|
|
|
|
|
|
$list_data[$key]['verify_status_str'] = '审核拒绝';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$list_data[$key]['verify_status_str'] = '未审核';
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->assign('list_data', $list_data);
|
|
|
|
$this->assign('list_data', $list_data);
|
|
|
|
$this->assign('meta_title', $m_title);
|
|
|
|
$this->assign('meta_title', $m_title);
|
|
|
@ -61,7 +68,11 @@ class VerifyBillController extends Controller {
|
|
|
|
$this->assign('all_sum_money', $all_sum_money);
|
|
|
|
$this->assign('all_sum_money', $all_sum_money);
|
|
|
|
$this->assign('all_pay_amount', $all_pay_amount);
|
|
|
|
$this->assign('all_pay_amount', $all_pay_amount);
|
|
|
|
$this->assign('data', $data);
|
|
|
|
$this->assign('data', $data);
|
|
|
|
$this->assign('from', I('from'));
|
|
|
|
$from = I('from');
|
|
|
|
|
|
|
|
if (empty($from) && $data['verify_status'] != 1) {//未审核通过不可确认
|
|
|
|
|
|
|
|
$from = 'not_verify';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$this->assign('from', $from);
|
|
|
|
if ($data['statement_type'] == 1) {//下游
|
|
|
|
if ($data['statement_type'] == 1) {//下游
|
|
|
|
$template = 'company_show';
|
|
|
|
$template = 'company_show';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|