@extends('adminlte::layouts.app') @section('htmlheader_title') Account List @endsection @section('page_title') Account List @endsection @section('contentheader_title') Account List @endsection @section('contentheader_description') @endsection @section('main-content')
@foreach (\App\Models\Account::with(['services','group','user'])->get() as $o) @endforeach
ID Account Active Group Services User
{{ $o->id }} {{ $o->name }} {{ $o->active ? 'YES' : 'NO' }} {{ $o->group?->name }} {{ $o->services->count() }} {{ $o->user->name }}
@endsection @pa(datatables,rowgroup|select|searchpanes|searchpanes-left) @section('page-scripts') @append