<table class="table table-striped">
	<tr>
		<th><?php echo app('translator')->getFromJson('fleet.vehicle'); ?></th>
		<td> <?php echo e($service->vehicle->make); ?>-<?php echo e($service->vehicle->model); ?>-<?php echo e($service->vehicle->license_plate); ?></td>
	</tr>
	<tr>
		<th><?php echo app('translator')->getFromJson('fleet.service_item'); ?></th>
		<td><?php echo e($service->services['description']); ?></td>
	</tr>
	<tr>
		<th><?php echo app('translator')->getFromJson('fleet.next_due'); ?> (<?php echo app('translator')->getFromJson('fleet.meter'); ?>)</th>
		<td>
			<?php if($service->last_meter == 0): ?>
             <?php echo e($service->vehicle->int_mileage + $service->services->overdue_meter); ?> <?php echo e(Hyvikk::get('dis_format')); ?>

	        <?php else: ?>
	            <?php echo e($service->last_meter + $service->services->overdue_meter); ?> <?php echo e(Hyvikk::get('dis_format')); ?>

	        <?php endif; ?>
		</td>
	</tr>
	<tr>
		<th><?php echo app('translator')->getFromJson('fleet.next_due'); ?> (<?php echo app('translator')->getFromJson('fleet.date'); ?>)</th>
		<td>
			<?php ($interval = substr($service->services->overdue_unit,0,-3)); ?>
              <?php ($int = $service->services->overdue_time.$interval); ?>

              <?php if($service->last_date != 'N/D'): ?>
                 <?php ($date = date('Y-m-d', strtotime($int, strtotime($service->last_date)))); ?> 
                <?php else: ?>
                 <?php ($date = date('Y-m-d', strtotime($int, strtotime(date('Y-m-d'))))); ?> 
                <?php endif; ?>
				<?php echo e(date(Hyvikk::get('date_format'),strtotime($date))); ?>

		</td>
	</tr>
	<tr>
		<th> <?php echo app('translator')->getFromJson('fleet.start_date'); ?> / <?php echo app('translator')->getFromJson('fleet.last_performed'); ?></th>
		<td>
          <?php echo app('translator')->getFromJson('fleet.start_date'); ?>: <?php echo e(date(Hyvikk::get('date_format'),strtotime($service->last_date))); ?>

          <br>
          <?php echo app('translator')->getFromJson('fleet.last_performed'); ?> <?php echo app('translator')->getFromJson('fleet.meter'); ?>: <?php echo e($service->last_meter); ?>

        </td>
	</tr>
	<tr>
		<th><?php echo app('translator')->getFromJson('fleet.interval'); ?></th>
		<td>
			<?php echo e($service->services->overdue_time); ?> <?php echo e($service->services->overdue_unit); ?>

			<?php if($service->services->overdue_meter != null): ?>
			<?php echo app('translator')->getFromJson('fleet.or'); ?> <?php echo e($service->services->overdue_meter); ?> <?php echo e(Hyvikk::get('dis_format')); ?>

			<?php endif; ?>
		</td>
	</tr>
</table><?php /**PATH /var/www/html/fleet/framework/resources/views/bookings/service_event.blade.php ENDPATH**/ ?>