mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 15:24:51 +00:00
Show Puzzle Piece Icon if a Vendor has a base vendor template assigned to it
This commit is contained in:
@@ -156,7 +156,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
}
|
}
|
||||||
$vendor_account_number = nullable_htmlentities($row['vendor_account_number']);
|
$vendor_account_number = nullable_htmlentities($row['vendor_account_number']);
|
||||||
if ($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 {
|
} else {
|
||||||
$vendor_account_number_display = '';
|
$vendor_account_number_display = '';
|
||||||
}
|
}
|
||||||
@@ -201,7 +201,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
<div class="media">
|
<div class="media">
|
||||||
<i class="fa fa-fw fa-2x fa-building mr-3"></i>
|
<i class="fa fa-fw fa-2x fa-building mr-3"></i>
|
||||||
<div class="media-body">
|
<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; ?>
|
<?php echo $vendor_account_number_display; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user