Sales, sub sccount Agent
This commit is contained in:
parent
98fb853591
commit
11c226caf5
@ -255,6 +255,9 @@ switch ($action) {
|
|||||||
$d->ward = $ward;
|
$d->ward = $ward;
|
||||||
$d->status = 'Active';
|
$d->status = 'Active';
|
||||||
$d->creationdate = $date_now;
|
$d->creationdate = $date_now;
|
||||||
|
if($admin['user_type']=='Agent'){
|
||||||
|
$d->root = $admin['id'];
|
||||||
|
}
|
||||||
$d->save();
|
$d->save();
|
||||||
|
|
||||||
if ($send_notif == 'wa') {
|
if ($send_notif == 'wa') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user