@can('massDelete', \App\Models\Merchant::class)
|
@endcan
|
{{ $merchant->nice_name }}
@unless ($merchant->active)
{{ trans('app.inactive') }}
@endunless
|
{{ $merchant->name }} |
@if ($merchant->owns->name)
{{ $merchant->owns->name }}
@if ($merchant->owns->deleted_at)
{{ trans('app.in_trash') }}
@endif
@if ($merchant->owns->isDown())
{{ trans('app.maintenance_mode') }}
@elseif(!$merchant->owns->active)
{{ trans('app.inactive') }}
@endif
@endif
|
@if (is_subscription_enabled())
{{ optional($merchant->owns)->plan->name }}
@if ($merchant->owns->onTrial())
{{ trans('app.trialing') }}
@endif
|
@endif
@can('view', $merchant)
@endcan
@can('secretLogin', $merchant)
@endcan
@can('update', $merchant)
@if ($merchant->primaryAddress)
@else
@endif
@endcan
@can('delete', $merchant)
{!! Form::open(['route' => ['admin.vendor.shop.trash', $merchant->owns->id], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endcan
|
@endforeach