Guest removed from customer pages

This commit is contained in:
jitendra 2019-06-15 16:34:56 +05:30
parent e26c2b4d89
commit ff64d23319
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class CustomerController extends Controller
*/
public function create()
{
$customerGroup = $this->customerGroup->all();
$customerGroup = $this->customerGroup->findWhere([['id', '<>', 0]]);
$channelName = $this->channel->all();
@ -131,7 +131,7 @@ class CustomerController extends Controller
{
$customer = $this->customer->findOrFail($id);
$customerGroup = $this->customerGroup->all();
$customerGroup = $this->customerGroup->findWhere([['id', '<>', 0]]);
$channelName = $this->channel->all();