Further small changes on roids

This commit is contained in:
Pinga 2024-03-06 01:32:53 +02:00
parent 93f1cd7674
commit e760d41b8a
3 changed files with 3 additions and 3 deletions

View file

@ -249,7 +249,7 @@ try {
foreach ($contacts as $contact) { foreach ($contacts as $contact) {
$xml->startElement('rdeContact:contact'); $xml->startElement('rdeContact:contact');
$xml->writeElement('rdeContact:id', $contact['id']); $xml->writeElement('rdeContact:id', $contact['identifier']);
$xml->writeElement('rdeContact:roid', 'C' . $contact['id'] . '-' . $c['roid']); $xml->writeElement('rdeContact:roid', 'C' . $contact['id'] . '-' . $c['roid']);
$xml->startElement('rdeContact:status'); $xml->startElement('rdeContact:status');
$xml->writeAttribute('s', 'ok'); $xml->writeAttribute('s', 'ok');

View file

@ -26,7 +26,7 @@
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<h3 class="card-title">{{ host.name }}&nbsp;<span class="status status-green">{{ hostStatus.status }}</span>{% if hostLinked is not null %}&nbsp;<span class="status status-info">{{ __('linked') }}</span>{% endif %}</h3> <h3 class="card-title">{{ __('Host') }} {{ host.name }}&nbsp;<span class="status status-green">{{ hostStatus.status }}</span>{% if hostLinked is not null %}&nbsp;<span class="status status-info">{{ __('linked') }}</span>{% endif %}</h3>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="datagrid"> <div class="datagrid">

View file

@ -63,7 +63,7 @@ function processContactInfo($conn, $db, $xml, $trans) {
'svTRID' => $svTRID, 'svTRID' => $svTRID,
'resultCode' => 1000, 'resultCode' => 1000,
'msg' => 'Command completed successfully', 'msg' => 'Command completed successfully',
'id' => $contact['id'], 'id' => $contact['identifier'],
'roid' => 'C' . $contact['id'], 'roid' => 'C' . $contact['id'],
'status' => $statusArray, 'status' => $statusArray,
'postal' => $postalArray, 'postal' => $postalArray,