修复发票管理,删除发票错误 bug
Signed-off-by: 红日工作室 <1375011211@qq.com>
This commit is contained in:
parent
aa7b0bcafb
commit
338b45ce29
@ -428,7 +428,7 @@ class Invoice extends BaseController
|
||||
public function delete()
|
||||
{
|
||||
$id = get_params("id");
|
||||
$status = InvoiceList::where(['id' => $param['id']])->value('check_status');
|
||||
$status = InvoiceList::where(['id' => $id)->value('check_status');
|
||||
if ($status == 2) {
|
||||
return to_assign(1, "已审核的发票不能删除");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user