HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/punjabcabs/storage/framework/views/8b09bf3109a70f38f9ef06e93874c2cad2ea2b08.php

<?php $__env->startSection('title', 'Pages '); ?>

<?php $__env->startSection('styles'); ?>
<style>
    .viewtable tr{
        margin: 10px 5px;
        display: block;
    }
    .viewtable td:first-child{
        width: 250px;
    }
</style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="content-area py-1">
    <div class="container-fluid">
         <div class="row bg-title">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                <h4 class="page-title">View <?php echo e($service->name); ?> Service</h4><a href="<?php echo e(route('admin.service.index')); ?>" class="btn btn-outline-warning btn-rounded w-min-sm m-l-0-75 waves-effect waves-light"><?php echo app('translator')->get('admin.list_service_types'); ?></a>
            </div>
            <div class="col-lg-6 col-sm-6 col-md-6 col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo app('translator')->get('admin.dashboard'); ?></a></li>
                    <li class="active"><?php echo app('translator')->get('admin.list_service_types'); ?></li>
                </ol>
            </div>
        </div>

        <div class="box box-block bg-white">
            <h5><?php echo e($service->name); ?> Service <span><a href="<?php echo e(route('admin.service.edit', $service->id)); ?>" class="btn btn-info btn-rounded b-a-0 waves-effect waves-light btn-sm">
                                    <i class="fa fa-pencil"></i> Edit
                                </a></span></h5>
            <div class="row">
                <div class="col-xs-6">
                <table class="viewtable">
                    <tr>
                        <td>Service Name</td>
                        <td><?php echo e($service->name); ?></td>
                    </tr>
                     <tr>
                        <td>Peak rate</td>
                        <td><?php if($service->p_enable ==1): ?>
                            Friday, Saturday only
                            <?php elseif($service->p_enable ==2): ?>
                            Special Day
                            <?php else: ?>
                            New Year's Eve
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <td>Description</td>
                        <td><?php if($service->description != null): ?>
                            <?php echo e($service->description); ?>

                            <?php else: ?>
                            -
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <td>Service Image</td>
                        <td><img style="height: 90px; margin-bottom: 15px; border-radius:2em;" src="<?php echo e($service->image); ?>"></td>
                    </tr>
                </table>
                </div>
            </div>
            
            <div class="row">
                <div class="col-xs-8">
                <table class="table table-striped table-bordered">
                    <tr>
                        <th>Tariff</th>
                        <th>Day Time</th>
                        <th>Night Time</th>
                        <th>Peak Time</th>
                    </tr>
                    <tr>
                        <td>Starting Time</td>
                        <td><?php echo e($service->d_stime); ?></td>
                        <td><?php echo e($service->n_stime); ?></td>
                        <td><?php echo e($service->p_stime); ?></td>
                    </tr>
                    <tr>
                        <td>Ending Time</td>
                        <td><?php echo e($service->d_etime); ?></td>
                        <td><?php echo e($service->n_etime); ?></td>
                        <td><?php echo e($service->p_etime); ?></td>
                    </tr>
                    <tr>
                        <td>Flag fall(<?php echo e(currency()); ?>)</td>
                        <td><?php echo e($service->d_flag); ?></td>
                        <td><?php echo e($service->n_flag); ?></td>
                        <td><?php echo e($service->p_flag); ?></td>
                    </tr>
                     <tr>
                        <td>Distance rate (<?php echo e(currency()); ?>)/km</td>
                        <td><?php echo e($service->d_distance); ?></td>
                        <td><?php echo e($service->n_distance); ?></td>
                        <td><?php echo e($service->p_distance); ?></td>
                    </tr>
                    <tr>
                        <td>Booking fee (<?php echo e(currency()); ?>)</td>
                        <td><?php echo e($service->d_booking); ?></td>
                        <td><?php echo e($service->n_booking); ?></td>
                        <td><?php echo e($service->p_booking); ?></td>
                    </tr>
                    <tr>
                        <td>Waiting Cost (<?php echo e(currency()); ?>)/min</td>
                        <td><?php echo e($service->d_waiting); ?></td>
                        <td><?php echo e($service->n_waiting); ?></td>
                        <td><?php echo e($service->p_waiting); ?></td>
                    </tr>
                </table>
                </div>
            </div>
            <br>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout.base', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>