mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 05:44: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'];
|
$vendor_id = $row['vendor_id'];
|
||||||
|
|
||||||
if($round_trip == 1){
|
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_purpose; ?></td>
|
||||||
<td><?php echo $trip_starting_location; ?></td>
|
<td><?php echo $trip_starting_location; ?></td>
|
||||||
<td><?php echo $trip_destination; ?></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>
|
<td>
|
||||||
<div class="dropdown dropleft text-center">
|
<div class="dropdown dropleft text-center">
|
||||||
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
||||||
|
|||||||
@@ -102,7 +102,9 @@
|
|||||||
$client_id = $row['client_id'];
|
$client_id = $row['client_id'];
|
||||||
|
|
||||||
if($round_trip == 1){
|
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_purpose; ?></td>
|
||||||
<td><?php echo $trip_starting_location; ?></td>
|
<td><?php echo $trip_starting_location; ?></td>
|
||||||
<td><?php echo $trip_destination; ?></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>
|
<td>
|
||||||
<div class="dropdown dropleft text-center">
|
<div class="dropdown dropleft text-center">
|
||||||
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
||||||
|
|||||||
Reference in New Issue
Block a user