mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Fixed Roundtrip icon displaying even though a trip wasnt a round trip
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user