@extends('layouts.auth')

@section('htmlheader_title')
    Supplier List
@endsection

@section('content')
    <body>

    <table>
        <tr>
            <th>ID</th>
            <th>Name</th>
        </tr>
        @foreach (\App\Models\Supplier::all() as $o)
        <tr>
            <td>{{ $o->id }}</td>
            <td>{{ $o->name }}</td>
        </tr>
        @endforeach
    </table>

    Add new <a href="{{ url('r/supplier/create') }}">Supplier</a>.
    </body>
@endsection