Merge branch 'fronkdev' into 'master'

Preorder/Index: showing R again

See merge request fronk/thetool!1162
This commit is contained in:
Frank Schubert
2025-04-03 13:34:41 +00:00

View File

@@ -505,18 +505,19 @@ $pagination_entity_name = "Vorbestellungen";
<td class="text-nowrap">
<?php if(0): ?>
<?php if(!$me->address->hasPreorderBilling()): ?>
<?php if($preorder->adb_wohneinheit_id && $preorder->adb_wohneinheit->enduser_setup_invoice_date): ?>
<i class="fas fa-euro is-billed-button" title="Herstellungsentgelt verrechnet am <?=(new DateTime($preorder->adb_wohneinheit->enduser_setup_invoice_date))->format("d.m.Y")?>"></i>
<?php else: ?>
<a href="#" class="text-muted" onclick="setBilled(<?=$preorder->id?>)"><i class="fas fa-euro set-billed-button" title="Herstellungsentgelt als verrechnet markieren"></i></a>
<?php if(!$me->address->hasPreorderBilling()): ?>
<?php if($preorder->adb_wohneinheit_id && $preorder->adb_wohneinheit->enduser_setup_invoice_date): ?>
<i class="fas fa-euro is-billed-button" title="Herstellungsentgelt verrechnet am <?=(new DateTime($preorder->adb_wohneinheit->enduser_setup_invoice_date))->format("d.m.Y")?>"></i>
<?php else: ?>
<a href="#" class="text-muted" onclick="setBilled(<?=$preorder->id?>)"><i class="fas fa-euro set-billed-button" title="Herstellungsentgelt als verrechnet markieren"></i></a>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if($preorder->adb_wohneinheit_id && is_array($preorder->adb_wohneinheit->rimo_workorders) && count($preorder->adb_wohneinheit->rimo_workorders)):?>
<i class="fas fa-r p-1" title="Rimo Workorder erstellt"></i>
<?php endif; ?>
<?php endif; ?>
</td>
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
<div class="preorder-campaign-table-actions">