mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 23:17:05 +08:00
Sales, sub sccount Agent
This commit is contained in:
parent
98fb853591
commit
11c226caf5
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ switch ($action) {
|
|||
$d->ward = $ward;
|
||||
$d->status = 'Active';
|
||||
$d->creationdate = $date_now;
|
||||
if($admin['user_type']=='Agent'){
|
||||
$d->root = $admin['id'];
|
||||
}
|
||||
$d->save();
|
||||
|
||||
if ($send_notif == 'wa') {
|
||||
|
|
Loading…
Reference in a new issue