@if (!$isApproved)
{!! BaseHelper::clean(
trans('plugins/marketplace::store.product_approval_notification', [
'vendor' => Html::link($product->createdBy->store->url, $product->createdBy->store->name, [
'target' => '_blank',
]),
'approve_link' => Html::link(
route('products.approve-product', $product->id),
trans('plugins/marketplace::store.approve_here'),
['class' => 'approve-product-for-selling-button'],
),
]),
) !!}
@else
{!! BaseHelper::clean(
trans('plugins/marketplace::store.product_approved_notification', [
'vendor' => Html::link($product->createdBy->store->url, $product->createdBy->store->name, [
'target' => '_blank',
]),
'user' => $product->approvedBy->name,
]),
) !!}
@endif
@push('footer')
@if (!$isApproved)
{!! trans('plugins/marketplace::store.approve_product_confirmation_description', [
'vendor' => Html::link($product->createdBy->store->url, $product->createdBy->store->name, ['target' => '_blank']),
]) !!}
@endif
@endpush