<?php $__env->startSection('content'); ?>

<div class="card">
    <div class="card-header">
        <?php echo e(trans('global.show')); ?> <?php echo e(trans('cruds.amcContract.title')); ?>

    </div>

    <div class="card-body">
        <div class="form-group">
            <div class="form-group">
                <a class="btn btn-default" href="<?php echo e(route('admin.amc-contracts.index')); ?>">
                    <?php echo e(trans('global.back_to_list')); ?>

                </a>
            </div>
            <table class="table table-bordered table-striped">
                <tbody>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.id')); ?>

                        </th>
                        <td>
                            <?php echo e($amcContract->id); ?>

                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.client')); ?>

                        </th>
                        <td>
                            <?php echo e($amcContract->client->company_name ?? ''); ?>

                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.asset')); ?>

                        </th>
                        <td>
                            <?php $__currentLoopData = $amcContract->assets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $asset): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <span class="label label-info"><?php echo e($asset->commissioning); ?></span>
                                <br>
                                <?php echo e(trans('cruds.asset.fields.air_compressor_serial_no')); ?>:
                                <b><span class="label label-info"><?php echo e($asset->air_compressor_serial_no); ?></span></b>
                                <br>
                                <?php echo e(trans('cruds.asset.fields.airdryer_serial_no')); ?>:
                                <b><span class="label label-info"><?php echo e($asset->airdryer_serial_no); ?></span></b>
                                <br>
                                <?php echo e(trans('cruds.asset.fields.filter_serial_no')); ?>:
                                <b><span class="label label-info"><?php echo e($asset->filter_serial_no); ?></span></b>
                                <br>
                                <?php echo e(trans('cruds.asset.fields.eco_drain_serial_no')); ?>:
                                <b><span class="label label-info"><?php echo e($asset->eco_drain_serial_no); ?></span></b>
                                <br>
                                <?php echo e(trans('cruds.asset.fields.air_receiver_serial_no')); ?>:
                                <b><span class="label label-info"><?php echo e($asset->air_receiver_serial_no); ?></span></b>
                                <br>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.amc_start_date')); ?>

                        </th>
                        <td>
                            <?php echo e($amcContract->amc_start_date); ?>

                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.amc_expiry_date')); ?>

                        </th>
                        <td>
                            <?php echo e($amcContract->amc_expiry_date); ?>

                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.amc_document')); ?>

                        </th>
                        <td>
                            <?php if($amcContract->amc_document): ?>
                                <a href="<?php echo e($amcContract->amc_document->getUrl()); ?>" target="_blank">
                                    <?php echo e(trans('global.view_file')); ?>

                                </a>
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <?php echo e(trans('cruds.amcContract.fields.assigned_team')); ?>

                        </th>
                        <td>
                            <?php echo e($amcContract->assigned_team->name ?? ''); ?>

                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="form-group">
                <a class="btn btn-default" href="<?php echo e(route('admin.amc-contracts.index')); ?>">
                    <?php echo e(trans('global.back_to_list')); ?>

                </a>
            </div>
        </div>
    </div>
</div>



<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/newrhytha2/public_html/sfm.fusionengg.in/resources/views/admin/amcContracts/show.blade.php ENDPATH**/ ?>