Added Voicenumber to Contractqueue
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<h4 class="header-title">Fertiggestellte Bestellungen</h4>
|
||||
</div>
|
||||
<div class="float-right">
|
||||
<a class="btn btn-outline-primary mb-2" href="<?=self::getUrl("Contractqueue", "importFinishedOrders")?>"><i class="fas fa-fw fa-file-import"></i> Fertiggestellte Bestellungen importieren</a>
|
||||
<a class="btn btn-outline-danger mb-2" href="<?=self::getUrl("Contractqueue", "deleteOpenOrders")?>"><i class="fas fa-fw fa-file-import"></i> Offene löschen und neu importieren</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -260,7 +260,15 @@
|
||||
<!--i class="fas fa-fw fa-pencil pointer text-primary" onclick="toggleEdit('contract', <?=$contract->id?>, 'product')"></i--> <span class="value"><?=$contract->product_name?></span>
|
||||
<?php if($contract->termination_id && $contract->termination): ?>
|
||||
<br /><small class="text-pink"><?=$contract->termination->code?> - <?= str_replace("\n", " - ", $contract->termination->getAddress())?></small>
|
||||
<?php endif ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $voicenumbers = []; ?>
|
||||
<?php foreach($contract->voicenumbers as $voicenumber): ?>
|
||||
<?php $voicenumbers[] = $voicenumber->number; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if(count($voicenumbers)): ?>
|
||||
<br /><strong><?=implode(", ", $voicenumbers);?></strong>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="edit hidden">
|
||||
<div class="input-group mb-3">
|
||||
|
||||
Reference in New Issue
Block a user