optical changes

This commit is contained in:
Frank Schubert
2024-07-10 20:58:23 +02:00
parent 30eb172eb6
commit 171b32fb56
3 changed files with 8 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
<h2 class="text-center mb-3 text-danger">GEKÜNDIGT</h2>
<?php endif; ?>
<?php if(str_contains(strtolower($contract->sla->name), "residential")): ?>
<h2 class="text-center mb-3 text-danger">Privatprodukt</h2>
<h2 class="text-center mb-3 text-dark-red">Privatprodukt</h2>
<?php else: ?>
<h2 class="text-center mb-3 text-primary">Businessprodukt</h2>
<?php endif; ?>
@@ -210,7 +210,7 @@
</td>
</tr><tr>
<th>Kündigungsdatum:</th>
<td class="text-monospace">
<td class="text-monospace <?=($contract->cancel_date) ? "text-danger font-weight-bold" : ""?>">
<?=($contract->cancel_date) ? date('d.m.Y',$contract->cancel_date) : ""?>
<?=($contract->cancel_date_by) ? "(".$contract->canceler->name.")" : ""?>
</td>