Create Standby Buyer

@if($standby_user)
@else @endif {{ csrf_field() }}
@php $brand_checked = []; if($standby_user) { $brand_checkedPP = $standby_user->user_brand->mapWithKeys(function ($item, $key) { return [$key => $item['item_brand_id']]; })->toArray(); $brand_checked_data = $standby_user->user_brand->mapWithKeys(function ($item, $key) { return [$item['item_brand_id'] => ($item['is_lm'] ? : 0)]; })->toArray(); $brand_checked = collect($brand_checked_data)->keys()->toArray(); } @endphp @foreach($gold_brands as $brand) @if(env('APP_BRAND') == 'production' && $brand->id == '18')
@elseif(env('APP_BRAND') == 'production' && $brand->id == '14') @else
@endif @endforeach
Preview
@if($standby_user) @else @endif
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (Session::has('success'))
{{ Session::get('success') }}
@endif