@extends('adminlte::layouts.app') ['id','idlink'], 'Signature'=>['signature','signature'], 'File Signature'=>['file_signature','file_signature'], 'Date Created'=>['date_created','datecreatedtext'], 'Filename'=>['filename','filename'], 'Filesize'=>['filesize','filesize'], 'Dimensions'=>['height','dimensions'], 'Duplicate'=>['duplicate','duplicatecheckbox'], 'Flagged'=>['flag','flagcheckbox'], 'Delete'=>['remove','removecheckbox'], ];?> @section('main-content')
Review Duplicate Items
{{ $catalog->links() }}
@if ($catalog->count())
@foreach ($catalog as $o) @php $d=$o->list_duplicates(TRUE); $src=[]; @endphp @foreach($d as $item) @if($src AND $item->id == $src->id) @continue @endif @php($diff=collect($src)->diffAssoc($item)) @endforeach @endforeach
Source Remove
@if($d->where('duplicate',null)->count() > 1) More than 1 source? @elseif($d->count()) @php($src = $d->first()) {!! $src->view() !!} @foreach($data as $k=>$v) @endforeach
{{$k}}{!! $src->{$v[1]} !!}
@endif
{!! $item->view() !!} @foreach($data as $k=>$v) @endforeach
{{$k}}{!! $item->{$v[1]} !!}
{{ csrf_field() }}
@else NONE! @endif
@endsection