@extends('layouts.app') @section('title', 'buyer | '.config('app.name')) @section('style') @endsection @section('content')

Buyers

Add Buyer
@if(Session::has('message'))

{{ Session::get('message') }}

@endif @if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (Auth::user()->role_id === 1) @endif @if (Auth::user()->role_id === 1) @endif @foreach($data as $buyer) @if (Auth::user()->role_id === 1) @endif @endforeach {{-- --}}
Name Email PhoneRegistered ByActions
{{$buyer->name}} {{$buyer->email}} {{$buyer->phone}}{{$buyer->users->name}} {{-- --}} {{-- --}}
1 test
{{--buyer Add modal--}} {{--buyers edit modal--}} @endsection @section('script') @endsection