Added address attribute rml-fibu-account

This commit is contained in:
Frank Schubert
2025-03-12 13:35:36 +01:00
parent 154ff4283c
commit 2d172e7336
2 changed files with 14 additions and 1 deletions

View File

@@ -320,6 +320,12 @@
<input class="form-control" name="attributes[rtrcode]" id="rtrcode" value="<?=$address->attributes['rtrcode']->value?>">
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="rtrcode">RML FIBU Verrechnungskonto</label>
<div class="col-lg-10">
<input class="form-control" name="attributes[rml-fibu-account]" id="rml-fibu-account" value="<?=$address->attributes['rml-fibu-account']->value?>">
</div>
</div>
</div>
</div>

View File

@@ -180,7 +180,14 @@
</tr><tr>
<th>RTR Code</th>
<td><?=(is_array($address->attributes) && array_key_exists("rtrcode", $address->attributes)) ? $address->attributes['rtrcode']->value : ""?></td>
</tr><tr>
</tr>
<?php if(is_array($address->attributes) && array_key_exists("rtrcode", $address->attributes)): ?>
<tr>
<th>RML FIBU Konto</th>
<td><?=$address->attributes['rml-fibu-account']->value?></td>
</tr>
<?php endif; ?>
<tr>
<th></th>
<td></td>
</tr><tr>