diff --git a/app/Http/Controllers/Wholesale/ReportController.php b/app/Http/Controllers/Wholesale/ReportController.php index e7d80b7..5135100 100644 --- a/app/Http/Controllers/Wholesale/ReportController.php +++ b/app/Http/Controllers/Wholesale/ReportController.php @@ -6,8 +6,13 @@ use App\Http\Controllers\Controller; class ReportController extends Controller { - public function products() + public function accounts() { - return view('a/product/report'); + return view('account/report'); + } + + public function services() + { + return view('service/report'); } } \ No newline at end of file diff --git a/resources/views/theme/backend/adminlte/account/report.blade.php b/resources/views/theme/backend/adminlte/account/report.blade.php new file mode 100644 index 0000000..3c2b033 --- /dev/null +++ b/resources/views/theme/backend/adminlte/account/report.blade.php @@ -0,0 +1,102 @@ +@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 + +
IDAccountActiveGroupServicesUser
{{ $o->id }}{{ $o->name }}{{ $o->active ? 'YES' : 'NO' }}{{ $o->group?->name }}{{ $o->services->count() }}{{ $o->user->name }}
+
+
+
+@endsection + +@section('page-scripts') + @css(datatables,bootstrap4|fixedheader|responsive|rowgroup|select|searchpanes|searchpanes-left) + @js(datatables,bootstrap4|fixedheader|responsive|rowgroup|select|searchpanes) + + +@append \ No newline at end of file diff --git a/resources/views/theme/backend/adminlte/a/product/report.blade.php b/resources/views/theme/backend/adminlte/service/report.blade.php similarity index 98% rename from resources/views/theme/backend/adminlte/a/product/report.blade.php rename to resources/views/theme/backend/adminlte/service/report.blade.php index a9f2fb1..1dacc84 100644 --- a/resources/views/theme/backend/adminlte/a/product/report.blade.php +++ b/resources/views/theme/backend/adminlte/service/report.blade.php @@ -1,14 +1,14 @@ @extends('adminlte::layouts.app') @section('htmlheader_title') - Product List + Service List @endsection @section('page_title') - Product List + Service List @endsection @section('contentheader_title') - Product List + Service List @endsection @section('contentheader_description') @endsection diff --git a/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php b/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php index 13d0ecb..e4df00b 100644 --- a/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php +++ b/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php @@ -119,15 +119,23 @@ -