 <table class="table">
    <thead class="thead-dark">
        <tr>
        <th scope="col">Location</th>
        <th scope="col"></th>
        <th scope="col"></th>
        <th scope="col">Submitted</th>
        </tr>
    </thead>
    <tbody>
    <?php
            $cp = 0;
        ?>
        @foreach($question_set_jobs_completeds_by_locations as $q)
            <?php
                $cp++;
                $separator = count($question_set_jobs_completeds_by_locations)==$cp?' ':'border-bottom ';
            ?>
            <tr>
                <td>{{$q->name}}</td>
                <td> </td>
                <td> </td>
                <td>{{$q->total}}</td>
            </tr>
        @endforeach
    </tbody>
</table>