@extends('layouts.app') @section('title', 'B2B Portal Customers') @section('content') @include('b2bportal::partials.admin_style')

B2B Customers

Review portal customers, approve access, block accounts, and assign special wholesale price groups.

@include('b2bportal::admin.nav')

Wholesale Customers

@foreach($customers as $customer) @endforeach
Name Phone Business Name Status Price Group Actions
{{ $customer->name }} {{ $customer->phone }} {{ $customer->business_name }} {{ ucfirst($customer->status) }} {!! Form::select('price_group_id', $priceGroups->pluck('name', 'id')->prepend('None', ''), $customer->price_group_id, ['class' => 'form-control input-sm b2b-price-group', 'style' => 'min-width:160px']) !!} @if($customer->status != 'active') @endif @if($customer->status != 'blocked') @endif
{{ $customers->links() }}
@endsection @section('javascript') @endsection