mirror of https://github.com/itflow-org/itflow
Show Puzzle Piece Icon if a Vendor has a base vendor template assigned to it
This commit is contained in:
parent
e7e7272002
commit
0c4a2aedb7
|
|
@ -156,7 +156,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||
}
|
||||
$vendor_account_number = nullable_htmlentities($row['vendor_account_number']);
|
||||
if ($vendor_account_number) {
|
||||
$vendor_account_number_display = "<div><small class='text-secondary'>Account #: $vendor_account_number</small></div>";
|
||||
$vendor_account_number_display = "<div class='text-secondary'>Account #: $vendor_account_number</div>";
|
||||
} else {
|
||||
$vendor_account_number_display = '';
|
||||
}
|
||||
|
|
@ -201,7 +201,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||
<div class="media">
|
||||
<i class="fa fa-fw fa-2x fa-building mr-3"></i>
|
||||
<div class="media-body">
|
||||
<div><?php echo $vendor_name; ?></div>
|
||||
<div><?php echo $vendor_name; ?><?php if ($vendor_template_id) { echo "<i class='fas fa-puzzle-piece text-secondary ml-2' title='Base Template'></i>"; } ?></div>
|
||||
<?php echo $vendor_account_number_display; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue