@extends('layouts.dashboard-app') @section('main-content')

Hello, Welcome {{auth()->user()->name}}

Wallet

Add New Wallet
@foreach ($data as $item) @endforeach
Name Amount Manager Name Action
{{$item->name}} {{$item->amount}} {{$item->username}} {{-- --}} @if(auth()->user()->role == 'Manager') @else {{ Form::open([ 'method' => 'delete', 'route' => [ 'wallet.destroy', $item->id ] ]) }} {{ Form::submit('Delete', ['class' => 'btn btn-danger']) }} {{ Form::close() }} @endif
Name Amount Manager Name Action
@endsection {{-- @@section('name') --}} {{-- @endsection --}}