auto generate fibu_num for billingaddresses

This commit is contained in:
Frank Schubert
2024-07-08 17:51:54 +02:00
parent 857a095f16
commit 8e9a9a2e1b
7 changed files with 91 additions and 9 deletions

View File

@@ -176,8 +176,8 @@
<th></th>
</tr>
<?php foreach(TT_ADDRESS_LINK_TYPES as $type): ?>
<?php if(array_key_exists($type, $address->links)): ?>
<?php foreach($address->links[$type] as $link): ?>
<?php if(is_array($address->links_to) && array_key_exists($type, $address->links_to)): ?>
<?php foreach($address->links_to[$type] as $link): ?>
<tr>
<td class="font-weight-bold"><?=__($type)?></td>
<td><a href="<?=self::getUrl("Address", "view", ["id" => $link->address_id])?>"><?=$link->address->company?></a></td>