
<h1>Travel sheet (day/night)</h1>
<h1 style="background-color:#F00;"> </h1>

<?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data_values): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

<table>
    <thead>
        <tr>
            <th>Object:</th>
            <th><?php echo e($data_values['name']); ?></th>
        </tr>
        <tr>
            <th>Period:</th>
            <th><?php echo e($data_values['period']); ?></th>
        </tr>
    </thead>
</table>


<table>
    <thead>
    <tr>
        <th style="background-color:#C5C5C5; width: 200px;">Object Name</th>
        <th style="background-color:#C5C5C5; width: 200px;">Object Location</th>
        <th style="background-color:#C5C5C5; width: 200px;">Time A (Trip Start)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Position A (Trip Start)</th>
        <th style="background-color:#C5C5C5; width: 200px;">Time B (Trip End)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Position B (Trip End)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Trip Duration</th>
        <th style="background-color:#C5C5C5; width: 100px;">Length (Km)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Fuel consumption</th>
        <th style="background-color:#C5C5C5; width: 100px;">Avg. fuel cons. (100 km)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Fuel cost (€)</th>
        <th style="background-color:#C5C5C5; width: 100px;">Driver</th>
    </tr>
    </thead>
    <tbody>
        <?php $__currentLoopData = $data_values['car_r_eports']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $car_usage_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($data_values['name']); ?></td>
            <td><?php echo e($car_usage_data['trailer']); ?></td>
            <td><?php echo e($car_usage_data['start_time']); ?></td>
            <td><?php echo e($car_usage_data['start_position']); ?></td>
            <td><?php echo e($car_usage_data['end_time']); ?></td>
            <td><?php echo e($car_usage_data['end_position']); ?></td>
            <td><?php echo e($car_usage_data['duration']); ?></td>
            <td><?php echo e($car_usage_data['length']); ?></td>
            <td><?php echo e($car_usage_data['fuel_consumption']); ?></td>
            <td><?php echo e($car_usage_data['avg_fuel_consumption']); ?></td>
            <td><?php echo e($car_usage_data['fuel_cost']); ?></td>
            <td><?php echo e($car_usage_data['driver']); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td style="background-color:#C5C5C5;">Usage during work time (From 07:31-17:29)</td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_during_work_hours']['trip_duration_during_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_during_work_hours']['length_during_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_during_work_hours']['fuel_cons_during_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_during_work_hours']['avg_fuel_cons_during_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_during_work_hours']['fuel_cost_during_work']); ?></td>
            <td style="background-color:#C5C5C5;"></td>
        </tr>
        <tr>
            <td style="background-color:#C5C5C5;">Usage after work time (From 17:30-07:30)</td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_after_work_hours']['trip_duration_after_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_after_work_hours']['length_after_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_after_work_hours']['fuel_cons_after_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_after_work_hours']['avg_fuel_cons_after_work']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_after_work_hours']['fuel_cost_after_work']); ?></td>
            <td style="background-color:#C5C5C5;"></td>
        </tr>
        <tr>
            <td style="background-color:#C5C5C5;">Usage during weekends (Saturday/Sunday)</td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_in_weekends']['trip_duration_on_weekends']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_in_weekends']['length_on_weekends']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_in_weekends']['fuel_cons_on_weekends']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_in_weekends']['avg_fuel_cons_on_weekends']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['usage_in_weekends']['fuel_cost_on_weekends']); ?></td>
            <td style="background-color:#C5C5C5;"></td>
        </tr>
        <tr>
            <td style="background-color:#C5C5C5;">Total Usage</td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['total_usage']['total_duration']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['total_usage']['total_length']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['total_usage']['total_fuel_consumption']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['total_usage']['total_avg_fuel_consumption']); ?></td>
            <td style="background-color:#C5C5C5;"><?php echo e($data_values['total_usage']['total_fuel_cost']); ?></td>
            <td style="background-color:#C5C5C5;"></td>
        </tr>
    </tbody>
</table>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH C:\Projects\import-export-manager\resources\views/report/export.blade.php ENDPATH**/ ?>