<?php $__env->startSection('content'); ?>
    <main>
      <section class="sub-header">
        <div class="container">
          <div class="contain">
            <h1>
                <?php echo e(__('messages.tenders')); ?>

            </h1>

            <ul class="list">
                <li>
                    <a href="<?php echo e(route('home')); ?>">
                        <?php echo e(__('messages.home')); ?>

                    </a>
                </li>

              <li>
                <span>
                    <?php echo e(__('messages.tenders')); ?>

                </span>
              </li>
            </ul>
          </div>
        </div>
      </section>

      <section class="product general-section">
        <div class="container">
          <div class="custom-heading">
            <h1>
                <?php echo e(__('messages.tenders')); ?>

            </h1>


          </div>

          <div class="table-responsive">
            <table>
              <thead>
                <tr>
                  <th>
                    <?php echo e(__('messages.number_tender')); ?>

                  </th>

                  <th>
                    <?php echo e(__('messages.tender_name')); ?>

                  </th>

                  <th>
                    <?php echo e(__('messages.publish_date')); ?>

                  </th>

                  <th>
                    <?php echo e(__('messages.close_date')); ?>

                  </th>



                  <th>
                    <?php echo e(__('messages.upload')); ?>

                  </th>
                </tr>
              </thead>

              <tbody>
                <?php $__currentLoopData = $tenders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tender): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                  <td><?php echo e($tender->number); ?></td>
                  <td>
                    <?php if(App::getLocale() == 'ar'): ?>
                        <?php echo $tender->ar_name; ?>

                    <?php else: ?>
                        <?php echo $tender->en_name; ?>

                    <?php endif; ?>
                  </td>
                  <td><?php echo e($tender->publish_date); ?></td>
                  <td><?php echo e($tender->date); ?></td>
                  
                  <td>
                    <?php if($tender->file): ?>
<a href="<?php echo e(asset('uploads/' . $tender->file)); ?>" class="custom-btn primary-color" target="_blank">
    <span><?php echo e(__('messages.upload')); ?></span>


<?php endif; ?>
</td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </tbody>
            </table>
          </div>
        </div>
      </section>
    </main>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/farassaz/icsc.industry.gov.iq/resources/views/monqsat.blade.php ENDPATH**/ ?>