Added comment as popover in Cpeprovisioning/Index
This commit is contained in:
@@ -179,10 +179,10 @@
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?=($vot || $vo_termin) ? "<i class='fas fa-tools text-purple mr-2' title='Vorortinstallation'></i>" : ""?>
|
||||
<?=($hw) ? "<i class='fas fa-shopping-bag text-purple mr-2' title='Zusatzprodukt vorhanden'></i>" : ""?>
|
||||
<?=($voip) ? "<i class='fas fa-phone text-purple mr-2' title='Voice Produkt vorhanden'></i>" : ""?>
|
||||
<?=($product->order->note) ? "<i class='fas fa-clipboard-list text-purple' title='Kommentar: ".str_replace('"', '"', $product->order->note)."'></i>" : ""?>
|
||||
<?=($vot || $vo_termin) ? "<i class='fas fa-tools text-purple mr-2' data-toggletooltip='tooltip' title='Vorortinstallation'></i>" : ""?>
|
||||
<?=($hw) ? "<i class='fas fa-shopping-bag text-purple mr-2' data-toggletooltip='tooltip' title='Zusatzprodukt vorhanden'></i>" : ""?>
|
||||
<?=($voip) ? "<i class='fas fa-phone text-purple mr-2' data-toggletooltip='tooltip' title='Voice Produkt vorhanden'></i>" : ""?>
|
||||
<?=($product->order->note) ? "<i class='fas fa-clipboard-list text-purple' data-toggle='popover' data-toggletooltip='tooltip' data-placement='top' title='Kommentar' data-content='".str_replace('"', '"', str_replace("\n",'<br />',$product->order->note))."'></i>" : ""?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?=($prov_count % 2 == 0) ? "table-bg-even" : "table-bg-odd"?> bottom-no-border top-no-border">
|
||||
@@ -363,4 +363,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(function () {
|
||||
$('[data-toggle="popover"]').popover({html: true})
|
||||
})
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$('[data-toggletooltip="tooltip"]').tooltip({html: true})
|
||||
})
|
||||
</script>
|
||||
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
|
||||
Reference in New Issue
Block a user