Added responsible company name to unfinished terminations in Order/Index
This commit is contained in:
@@ -641,7 +641,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="building-list-tr <?=($order_count % 2 == 0) ? "table-bg-even" : ""?>" id="order-dates-<?=$order->id?>">
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" colspan="2" class="pt-0" style="border-top: none;"></td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" colspan="2" class="pt-0 text-right text-pink" style="border-top: none;">
|
||||
<?php if($order->terminations[0]->status->code < TT_TERMSTATUS_CONNECTED && $order->terminations[0]->building->status->code >= TT_BUILDINGSTATUS_CONNECTED): ?>
|
||||
<?=$order->terminations[0]->lineworker->getCompanyOrName()?>
|
||||
<?php endif; ?>
|
||||
<?php if($order->terminations[0]->status->code < TT_TERMSTATUS_CONNECTED && $order->terminations[0]->building->status->code < TT_BUILDINGSTATUS_CONNECTED): ?>
|
||||
<?=$order->terminations[0]->building->pipeworker->getCompanyOrName()?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" colspan="7" class="pt-0" style="border-top: none;">
|
||||
<div class="row">
|
||||
<div class="mr-4 order-date-pill <?=($order->terminations[0]->workflowitems["bautermin"]->value->value_string) ? "active" : ""?>">Tiefbau: <span class="text-monospace"><?=($order->terminations[0]->workflowitems["bautermin"]->value->value_string) ? "<span class='text-success'>".$order->terminations[0]->workflowitems["bautermin"]->value->value_string."</span>" : "--.--.----"?></span></div>
|
||||
|
||||
Reference in New Issue
Block a user