Treating install_date like install product (vot) in cpeprovisioning
This commit is contained in:
@@ -149,6 +149,7 @@
|
||||
<?php
|
||||
|
||||
$vot = false;
|
||||
$vo_termin = false;
|
||||
$hw = false;
|
||||
$voip = false;
|
||||
|
||||
@@ -169,13 +170,16 @@
|
||||
$vot = true;
|
||||
}
|
||||
}
|
||||
if($product->order->install_date) {
|
||||
$vo_termin = $product->order->install_date;
|
||||
}
|
||||
if($hw && $voip_chan) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?=($vot) ? "<i class='fas fa-tools text-purple mr-2' title='Vorortinstallation'></i>" : ""?>
|
||||
<?=($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>" : ""?>
|
||||
@@ -242,7 +246,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($vot): ?>
|
||||
<?php if($vot || $vo_termin): ?>
|
||||
<div class="col-md-5"></div>
|
||||
<?php else: ?>
|
||||
<div class="col-md-1">
|
||||
|
||||
Reference in New Issue
Block a user