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

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

Plans

@if (auth()->user()->role == 'Accounts') @else Add New Plan @endif
@foreach ($plan as $item) @endforeach
Name Product Speed Devices Duration Monthly Charges Installation Charges Revenue Action
{{ $item->plan_name }} {{ $item->product_type }} {{ $item->speed }} {{ $item->devices }} {{ $item->contract }} {{ $item->monthly_charges }} {{ $item->installation_charges }} {{ $item->revenue }} @if (auth()->user()->role == 'Accounts') @else {{ Form::open(['method' => 'delete', 'route' => ['elife.destroy', $item->id]]) }} {{ Form::submit('Delete', ['class' => 'btn btn-danger']) }} {{ Form::close() }} @endif
Name Speed Devices Duration Monthly Charges Installation Charges Revenue Action
@endsection {{-- @@section('name') --}} {{-- @endsection --}}