Made billing_period==0 contracts uncancelable

This commit is contained in:
Frank Schubert
2024-07-11 18:12:41 +02:00
parent 2f2e748910
commit 714c73f905
2 changed files with 10 additions and 0 deletions

View File

@@ -116,6 +116,8 @@
<?php foreach($contract->links as $link): ?>
<?php
if(!$link->billing_period) continue;
if($link->contract_id == $contract->id) {
$linkcontract = $link->origin;
} else {