Merge branch 'fronkdev' into 'master'

Fronkdev

See merge request fronk/thetool!520
This commit is contained in:
Frank Schubert
2024-07-25 20:33:12 +00:00
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -209,8 +209,10 @@
<label class="col-lg-2 col-form-label" for="billing_period">Verrechnungsperiode *</label> <label class="col-lg-2 col-form-label" for="billing_period">Verrechnungsperiode *</label>
<div class="col-lg-10"> <div class="col-lg-10">
<select class="select2 form-control " name="billing_period" id="billing_period"> <select class="select2 form-control " name="billing_period" id="billing_period">
<option value="12" <?=($product->billing_period == 12) ? "selected='selected'" : ""?>>Jährlich</option> <option value="0" <?=($product->billing_period == 0) ? "selected='selected'" : ""?>>Einmalig</option>
<option value="1" <?=($product->billing_period == 1) ? "selected='selected'" : ""?>>Monatlich</option> <option value="1" <?=($product->billing_period == 1) ? "selected='selected'" : ""?>>Monatlich</option>
<option value="12" <?=($product->billing_period == 12) ? "selected='selected'" : ""?>>Jährlich</option>
</select> </select>
</div> </div>
</div> </div>
+2 -1
View File
@@ -153,7 +153,8 @@
<td><?=$product->producttech->name?><?=(is_array($product->attributes) && array_key_exists(TT_ATTRIB_RTRTECHCODE_NAME, $product->attributes)) ? " (".$product->attributes[TT_ATTRIB_RTRTECHCODE_NAME]->value.")" : "" ?></td> <td><?=$product->producttech->name?><?=(is_array($product->attributes) && array_key_exists(TT_ATTRIB_RTRTECHCODE_NAME, $product->attributes)) ? " (".$product->attributes[TT_ATTRIB_RTRTECHCODE_NAME]->value.")" : "" ?></td>
<td><?=__($product->producttech->customer_type)?></td> <td><?=__($product->producttech->customer_type)?></td>
<td><?=$product->price?></td> <td><?=$product->price?></td>
<td><?=(12 / $product->billing_period)?>x Jährlich</td> <td><?=__($product->billing_period, "billing_period")?>
</td>
<td><?=$product->sla->name?></td> <td><?=$product->sla->name?></td>
<td><?=$product->ivt_id?></td> <td><?=$product->ivt_id?></td>
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;"> <td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">