|
|
|
@ -1,6 +1,7 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
namespace App\AdminAgent\Forms; |
|
|
|
use App\Common\AgentType; |
|
|
|
use App\Common\UserStatus; |
|
|
|
use App\Models\Agent; |
|
|
|
use Dcat\Admin\Admin; |
|
|
|
@ -50,6 +51,7 @@ class AgentInfo extends Form |
|
|
|
{ |
|
|
|
Admin::translation('agent'); |
|
|
|
|
|
|
|
$this->select('type')->options(AgentType::array())->disable(); |
|
|
|
$this->text('name')->required(); |
|
|
|
$this->text('company_name')->required(); |
|
|
|
$this->text('credit_codes')->required(); |
|
|
|
|