Next Member Shopping

This commit is contained in:
Kevin Adametz 2020-08-21 18:20:40 +02:00
parent 557a1c83a6
commit a19f7700ea
22 changed files with 617 additions and 332 deletions

View file

@ -97,6 +97,10 @@ class LeadController extends Controller
}
}
$next_account_id = UserAccount::max('m_account') +1;
if($user->account->m_account === null){
$user->account->m_account = $next_account_id;
}
$data = [
'show' => 'check_lead',
'user' => $user,