Showing voicenumber in Order/Index
This commit is contained in:
@@ -533,6 +533,16 @@
|
||||
?>
|
||||
<br /><small class="text-pink"><?=$product->termination->code?> - <?= str_replace("\n", " - ", $product->termination->getAddress())?></small>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if(
|
||||
(is_array($product->product->attributes) && count($product->product->attributes))
|
||||
&& (array_key_exists(TT_ATTRIB_VOICENUMBER_REQUIRED_NAME, $product->product->attributes)
|
||||
&& $product->product->attributes[TT_ATTRIB_VOICENUMBER_REQUIRED_NAME]->value == 1)
|
||||
|| $product->voicenumbers
|
||||
):
|
||||
?>
|
||||
<br /><small class="text-pink"><?=implode("\n<br />", $product->voicenumbers)?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?=($product->billing_period == 12) ? "Jährlich" : "Monatlich"?></td>
|
||||
<td class="text-monospace text-right"><?=number_format($product->price, 4, ",", ".")?></td>
|
||||
@@ -994,6 +1004,16 @@
|
||||
?>
|
||||
<br /><small class="text-pink"><?=$product->termination->code?> - <?= str_replace("\n", " - ", $product->termination->getAddress())?></small>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if(
|
||||
(is_array($product->product->attributes) && count($product->product->attributes))
|
||||
&& (array_key_exists(TT_ATTRIB_VOICENUMBER_REQUIRED_NAME, $product->product->attributes)
|
||||
&& $product->product->attributes[TT_ATTRIB_VOICENUMBER_REQUIRED_NAME]->value == 1)
|
||||
|| $product->voicenumbers
|
||||
):
|
||||
?>
|
||||
<br /><small class="text-pink"><?=implode("\n<br />", $product->voicenumbers)?></small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?=($product->billing_period == 12) ? "Jährlich" : "Monatlich"?></td>
|
||||
<td class="text-monospace text-right"><?=number_format($product->price, 4, ",", ".")?></td>
|
||||
|
||||
Reference in New Issue
Block a user