Order: termination status buttons link to workflow
This commit is contained in:
@@ -189,9 +189,9 @@
|
||||
<?php if($order->terminations[0]->status->code >= TT_TERMSTATUS_CONNECTED): ?>
|
||||
<span class="status connected" title="Anschluss connected">CON</span>
|
||||
<?php elseif($order->terminations[0]->building->status->code >= TT_BUILDINGSTATUS_CONNECTED): ?>
|
||||
<span class="status building-connected" title="Tiefbau erledigt">B-C</span>
|
||||
<a href="<?=self::getUrl("Linework", "Index", ["filter" => ["code" => $order->terminations[0]->code]])?>" target="_blank"><span class="status building-connected" title="Tiefbau erledigt">B-C</span></a>
|
||||
<?php else: ?>
|
||||
<span class="status not-connected" title="Tiefbau ausständig">BNC</span>
|
||||
<a href="<?=self::getUrl("Pipework", "Index", ["filter" => ["code" => $order->terminations[0]->building->code]])?>" target="_blank"><span class="status not-connected" title="Tiefbau ausständig">BNC</span></a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user