Viewing file: list.blade.php (2.89 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('admin.layouts.app') @section('title') {{ __('seller_report') }} @endsection
@section('content') <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="d-flex align-items-center justify-content-between"> <h3 class="card-title" style="line-height: 36px;">{{ __('seller_report') }}</h3> </div> </div>
<div class="card-body table-responsive p-0 table-bordered"> <table class="table table-hover text-nowrap"> <thead> <tr> <th>{{ __('report_to') }}</th> <th>{{ __('report_from') }}</th> <th>{{ __('reason') }}</th> </tr> </thead> <tbody> @forelse ($reports as $report) {{-- {{dd($report,$report->reportFrom)}} --}} <tr class="text-center"> <td width="20%"> <a href="{{ route('module.customer.show', $report->reportTo->user->username) }}"> <div class="text-capitalize"> {{ $report->reportTo->user->name }} </div> </a> </td> <td width="20%"> <a href="{{ route('module.customer.show', $report->reportFrom->username) }}"> <div class="text-capitalize">{{ $report->reportFrom->name }}</div> </a> </td> <td> {{ $report->report_description }} </td> </tr> @empty <tr> <td colspan="10" class="text-center"> <x-not-found2 /> </td> </tr> @endforelse </tbody> </table> {{ $reports->links() }} </div> </div> </div> </div> </div> @endsection
|