@extends('admin.layouts.master') @section('content')

{{ trans('app.pending_verifications') }}

@foreach($merchants as $merchant ) @continue(! $merchant->shop) {{-- Skip if shop not avilable --}} @endforeach
{{ trans('app.shop_name') }} {{ trans('app.current_billing_plan') }} {{ trans('app.uploaded_documents') }} {{ trans('app.option') }}
{{ trans('app.logo') }}

@can('view', $merchant->shop) {{ $merchant->shop->name }} @else {{ $merchant->shop->name }} @endcan @if($merchant->shop->isDown()) {{ trans('app.maintenance_mode') }} @endif

{{ $merchant->shop->plan->name }} @foreach($merchant->attachments as $attachment ) {{ $attachment->name }} ({{ get_formated_file_size($attachment->size) }}) {{ $attachment->updated_at->diffForHumans() }} @can('delete', $attachment) {!! Form::open(['route' => ['attachment.delete', $attachment], 'method' => 'delete', 'class' => 'data-form']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent text-muted indent10', 'title' => trans('app.delete'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!} {!! Form::close() !!} @endcan @if(! $loop->last)
@endif @endforeach
@if(auth()->user()->isAdmin()) {{ trans('app.verify') }}    @endif
@endsection