@extends('layout.app') @section('title') Stock Report Details @endsection @push('css') @endpush @section('content')

{{$report->store->name}}

  • Address: {{$report->store->address}}
  • Phone : {{$report->store->contact}}
  • Reporter: {{$report->reporter->name}}
  • Reported At: {{$report->created_at}}

{{$report->note}}

user-avatar

Report details

@if(Auth::user()->is_admin) @endif @if ($report_details->count() > 0) @foreach ($report_details as $key=>$details) @if(Auth::user()->is_admin) @endif {{-- --}} @endforeach @else

No data yet!

@endif
# Product Image Product Name Stock Reported ImagesActions
{{$key+1}} {{$details->product->title ?? ''}} {{$details->stock}}
@php $shown = false; @endphp @for($i=1;$i<=5;$i++) @if ($details->{'image_'.$i}) @endif @endfor
Edit Delete
@csrf @method('DELETE')
{{$report->name}} {{$report->details->count()}} {{$report->note}} {{$report->created_at}} view details
{{$report_details->links()}}
@endsection @push('scripts') @endpush