Merge branch 'fronkdev' into 'master'
Fixed not showing linked credits in Contract/Cancelform See merge request fronk/thetool!552
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user