Fixed Roundtrip icon displaying even though a trip wasnt a round trip

This commit is contained in:
johnny@pittpc.com 2021-01-25 22:17:36 -05:00
parent 4f617f2315
commit eb62dacc2a
2 changed files with 8 additions and 4 deletions

View File

@ -106,7 +106,9 @@ $total_pages = ceil($total_found_rows / 10);
$vendor_id = $row['vendor_id'];
if($round_trip == 1){
$round_tip_display = "<i class='fa fa-fw fa-sync-alt text-secondary'></i>";
$round_trip_display = "<i class='fa fa-fw fa-sync-alt text-secondary'></i>";
}else{
$round_trip_display = "";
}
?>
@ -115,7 +117,7 @@ $total_pages = ceil($total_found_rows / 10);
<td><?php echo $trip_purpose; ?></td>
<td><?php echo $trip_starting_location; ?></td>
<td><?php echo $trip_destination; ?></td>
<td><?php echo "$trip_miles $round_tip_display"; ?></td>
<td><?php echo "$trip_miles $round_trip_display"; ?></td>
<td>
<div class="dropdown dropleft text-center">
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">

View File

@ -102,7 +102,9 @@
$client_id = $row['client_id'];
if($round_trip == 1){
$round_tip_display = "<i class='fa fa-fw fa-sync-alt text-secondary'></i>";
$round_trip_display = "<i class='fa fa-fw fa-sync-alt text-secondary'></i>";
}else{
$round_trip_display = "";
}
?>
@ -111,7 +113,7 @@
<td><?php echo $trip_purpose; ?></td>
<td><?php echo $trip_starting_location; ?></td>
<td><?php echo $trip_destination; ?></td>
<td><?php echo "$trip_miles $round_tip_display"; ?></td>
<td><?php echo "$trip_miles $round_trip_display"; ?></td>
<td>
<div class="dropdown dropleft text-center">
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">