<div class="mt-3">
    <strong class="mb-2">اطلاعات وضعیت ها:</strong>
    <table class="step-table">
        <?php if(is_array($RequestInfo->step_info)): ?>
            <?php $__currentLoopData = $RequestInfo->step_info; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $step_info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <th><?php echo e($step_info['action']); ?></th>
                    <td><?php echo e($step_info['date']); ?></td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </table>
</div>

<div class="mt-3">
    <strong class="mb-2">اطلاعات قرارداد:</strong>
    <table class="step-table">
        <?php if(is_array($RequestInfo->contract) && $RequestInfo->contract['isAccepted']): ?>
            <tr>
                <th>توسط کشاورز تایید شد</th>
                <td><?php echo e($RequestInfo->contract['acceptedDate']); ?></td>
            </tr>
        <?php endif; ?>
        <?php if(is_array($RequestInfo->contract) && isset($RequestInfo->contract['priceperunit'])): ?>
            <tr>
                <th>قیمت واحد</th>
                <td><?php echo e($RequestInfo->contract['priceperunit']); ?></td>
            </tr>
        <?php endif; ?>
        <?php if(is_array($RequestInfo->contract) && isset($RequestInfo->contract['pricetotal'])): ?>
            <tr>
                <th>قیمت کل</th>
                <td><?php echo e($RequestInfo->contract['pricetotal']); ?></td>
            </tr>
        <?php endif; ?>
        <?php if(is_array($RequestInfo->transportation) && isset($RequestInfo->transportation['price']) && $RequestInfo->transportation['price'] != ''): ?>
            <tr>
                <th>هزینه حمل و نقل</th>
                <td><?php echo e($RequestInfo->transportation['pricetotal']); ?></td>
            </tr>
        <?php endif; ?>
    </table>
</div>

<div class="mt-3">
    <strong class="mb-2">اطلاعات وزن ها:</strong>
    <table class="step-table">
        <?php if(isset($weightInfo['farmer'])): ?>
        <tr>
            <th>کشاورز</th>
            <td><?php echo e($weightInfo['farmer']); ?></td>
        </tr>
        <?php endif; ?>
        <?php if(isset($weightInfo['transporter'])): ?>
        <tr>
            <th>راننده</th>
            <td><?php echo e($weightInfo['transporter']); ?></td>
        </tr>
        <?php endif; ?>
        <?php if(isset($weightInfo['chief'])): ?>
        <?php $__currentLoopData = $weightInfo['chief']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $weight): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <th>سرتیم: <?php echo e($weight['name']); ?></th>
            <td>کلاله تر <?php echo e($weight['کلاله']); ?> گرم - ریشه <?php echo e($weight['ریشه']); ?>گرم - گل <?php echo e($weight['گل']); ?> گرم</td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
        <?php if(isset($weightInfo['dryer'])): ?>
        <?php if(isset($weightInfo['dryer']['کلاله'])): ?>
        <tr>
            <th>واحد خشک کن</th>
            <td>کلاله تر <?php echo e($weightInfo['dryer']['کلاله']); ?> گرم</td>
        </tr>
        <?php endif; ?>
        <?php if(isset($weightInfo['dryer']['زعفران'])): ?>
        <tr>
            <th>واحد خشک کن</th>
            <td>کلاله خشک <?php echo e($weightInfo['dryer']['زعفران']); ?> گرم</td>
        </tr>
        <?php endif; ?>
        <?php endif; ?>
    </table>
</div><?php /**PATH /home1/zarborji/public_html/resources/views/contractor/info/step.blade.php ENDPATH**/ ?>