Merge branch 'fronkdev' into 'master'

Fixed not showing linked credits in Contract/Cancelform

See merge request fronk/thetool!552
This commit is contained in:
Frank Schubert
2024-08-01 19:15:29 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
<th>Fertigstellung</th> <th>Fertigstellung</th>
<th>Kündigung</th> <th>Kündigung</th>
</tr> </tr>
<?php foreach($contract->links as $link): ?> <?php foreach($contract->linksWithCredit as $link): ?>
<?php <?php
if($link->contract_id == $contract->id) { if($link->contract_id == $contract->id) {
@@ -9,7 +9,7 @@ class ContractqueueController extends mfBaseController {
$this->me = $me; $this->me = $me;
$this->layout()->set("me",$me); $this->layout()->set("me",$me);
if(!$me->is(["Admin"])) { if(!$me->is(["Admin"]) && !$me->is("Billing")) {
$this->redirect("Dashboard"); $this->redirect("Dashboard");
} }
} }