Update composer and move themes to under views
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('htmlheader_title')
|
||||
Supplier Add
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<body>
|
||||
<form method="POST" action="/r/supplier/store">
|
||||
{{ csrf_field() }}
|
||||
Name: <input name="name" > <br>
|
||||
<button>Submit</button>
|
||||
</form>
|
||||
</body>
|
||||
@endsection
|
@@ -0,0 +1,25 @@
|
||||
@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
|
Reference in New Issue
Block a user