File: /home/armgroup/libs/storage/framework/views/c84a4ba08d203c8b06bd5888fdd5546dd4bec1e8.php
<li style="list-style: none;">
<div class="row">
<div class="col-12 p-0 top-review">
<ul>
<li><?php echo e(jdate($comment->created_at)->format('%A d %B Y - H:i:s')); ?></li>
<li><?php echo e($comment->name); ?></li>
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('frontend.product.comment.feedback', ['comment' => $comment])->html();
} elseif ($_instance->childHasBeenRendered('l2430098534-0')) {
$componentId = $_instance->getRenderedChildComponentId('l2430098534-0');
$componentTag = $_instance->getRenderedChildComponentTagName('l2430098534-0');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('l2430098534-0');
} else {
$response = \Livewire\Livewire::mount('frontend.product.comment.feedback', ['comment' => $comment]);
$html = $response->html();
$_instance->logRenderedChild('l2430098534-0', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
</ul>
</div>
</div>
<div class="row body-revirew">
<div class="col-lg-7 col-12 p-0">
<?php echo e($comment->comment); ?>
<div class="row">
<?php if(is_array($comment->positive_points)): ?>
<div class="col-6">
<small class="text-success">نقاط قوت</small>
<div class="ps-2">
<?php $__currentLoopData = $comment->positive_points; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $positive): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<p style="font-size: small;">
<span class="fa fa-arrow-up text-success"></span>
<b><?php echo e($positive); ?></b>
</p>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<?php endif; ?>
<?php if(is_array($comment->negative_points)): ?>
<div class="col-6">
<small class="text-danger">نقاط ضعف</small>
<div class="ps-3">
<?php $__currentLoopData = $comment->negative_points; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $negative): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<p style="font-size: small;">
<span class="fa fa-arrow-down text-danger"></span>
<b><?php echo e($negative); ?></b>
</p>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php if(isset($comment->scores[0]->items)): ?>
<div class="col-lg-5 col-12 p-0">
<?php $__currentLoopData = $comment->scores[0]->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item => $rate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="rating mx-lg-4">
<?php echo e(\App\Enums\ScoreItems::fromValue($item)->description); ?>
<span class="float-end">
<?php for($i = 5; $i > 0; $i--): ?>
<i class="fa<?php echo e($rate >= $i ? 's' : 'r'); ?> fa-star"></i>
<?php endfor; ?>
</span>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php endif; ?>
</div>
</li>
<?php /**PATH /home/armgroup/libs/resources/views/livewire/frontend/product/comment/single.blade.php ENDPATH**/ ?>