@extends('admin.layouts.master') @section('content')
{{ trans('app.total_disputes') }}: {{ \App\Helpers\Statistics::dispute_count($dispute->shop_id) }}
{{ trans('app.latest_days', ['days' => 30]) }}: {{ \App\Helpers\Statistics::dispute_count($dispute->shop_id, 30) }}
@if($dispute->shop->owner)
@if($dispute->shop->owner->image)
@else
@endif
@if(Gate::allows('view', $dispute->shop->owner))
{{ $dispute->shop->owner->getName() }}
@else
{{ $dispute->shop->owner->getName() }}
@endif
{{ $dispute->dispute_type->detail }}
@if(count($dispute->attachments)) {{ trans('app.attachments') . ': ' }} @foreach($dispute->attachments as $attachment) @endforeach @endif @if($dispute->description){{ trans('app.total_disputes') }}: {{ \App\Helpers\Statistics::disputes_by_customer_count($dispute->customer_id) }}
{{ trans('app.latest_days', ['days' => 30]) }}: {{ \App\Helpers\Statistics::disputes_by_customer_count($dispute->customer_id, 30) }}
{{ $dispute->created_at->diffForHumans() }}
{{ $dispute->updated_at->diffForHumans() }}