Added customer_number and serice pin

This commit is contained in:
Frank Schubert
2021-08-26 20:33:00 +02:00
parent df127c08d9
commit d77642f9de
9 changed files with 96 additions and 6 deletions

View File

@@ -51,6 +51,7 @@
<table class="table table-striped table-hover">
<tr>
<th>Typ</th>
<th>Kundennummer</th>
<th>Firma</th>
<th>Name</th>
<th>Adresse</th>
@@ -60,7 +61,22 @@
</tr>
<?php foreach($addresses as $address): ?>
<tr>
<td></td>
<?php if(is_array($address->types)):?>
<?php
$types = array_keys($address->types);
$l7d_types = [];
foreach($types as $type):
$l7d_types[] = __($type);
endforeach;
?>
<td title="<?=implode(", ", $l7d_types)?>">
<?=$l7d_types[0]?><?=(count($types)) ? ", ..." : ""?>
</td>
<?php endif; ?>
<td>
<?=$address->customer_number?>
<?=($address->spin) ? "<br /><span class='text-pink'>".$address->spin."</span>" : ""?>
</td>
<td><?=nl2br($address->company)?></td>
<td><?=$address->getFullName()?></td>
<td>