예제 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $poas = PowerofAttorney::latest()->get();
     return view('admin.powerofattorney.index')->with('poas', $poas);
 }
예제 #2
0
 @extends('front.frontmaster')

@section('content')

<?php 
use App\PowerofAttorney;
$poas = PowerofAttorney::latest()->get();
?>


 @foreach($poas as $poa )
<h2>{{$poa->title}}</h2>
<p>{!!$poa->details!!}</p>


 	      @endforeach
 @endsection