修复发票管理,删除发票 代码少了一个] bug
Signed-off-by: 红日工作室 <1375011211@qq.com>
This commit is contained in:
parent
986a61a0b1
commit
24509d66d1
@ -428,7 +428,7 @@ class Invoice extends BaseController
|
||||
public function delete()
|
||||
{
|
||||
$id = get_params("id");
|
||||
$status = InvoiceList::where(['id' => $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