|
|
@ -66,7 +66,7 @@ class AgentController extends AdminController |
|
|
$column->append((new AuditAgent(null, 1))->setKey($this->id))->append(' '); |
|
|
$column->append((new AuditAgent(null, 1))->setKey($this->id))->append(' '); |
|
|
$column->append((new AuditAgent(null, 2))->setKey($this->id)); |
|
|
$column->append((new AuditAgent(null, 2))->setKey($this->id)); |
|
|
}) |
|
|
}) |
|
|
->if(fn() => $this->status == UserStatus::NORMAL) |
|
|
|
|
|
|
|
|
->if(fn() => $this->status == UserStatus::NORMAL && in_array($this->type, [AgentType::OPERATOR, AgentType::SUPPLIER])) |
|
|
->display('') |
|
|
->display('') |
|
|
->then(function ($column) use ($last_template_id) { |
|
|
->then(function ($column) use ($last_template_id) { |
|
|
$is_success = $this->miniUpload->is_success ?? null; |
|
|
$is_success = $this->miniUpload->is_success ?? null; |
|
|
|