Show notes on view page (duh, why didn't I notice that?)
This commit is contained in:
parent
6329dc5b84
commit
0e8eac75c1
@ -83,6 +83,22 @@ $machine = new Machine($machineid);
|
||||
<div class="list-group-item">
|
||||
<b><?php $Strings->get("Price"); ?></b>: $<?php echo number_format($machine->getPrice(), 2); ?>
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($machine->getPrivateNotes())) {
|
||||
?>
|
||||
<div class="list-group-item">
|
||||
<b><?php $Strings->get("Private Notes"); ?></b>: <?php echo htmlspecialchars($machine->getPrivateNotes()); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if (!empty($machine->getPublicNotes())) {
|
||||
?>
|
||||
<div class="list-group-item">
|
||||
<b><?php $Strings->get("Public Notes"); ?></b>: <?php echo htmlspecialchars($machine->getPublicNotes()); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user