Fixed billing period in Product
This commit is contained in:
@@ -177,8 +177,8 @@
|
||||
<label class="col-lg-2 col-form-label" for="billing_period">Verrechnungsperiode *</label>
|
||||
<div class="col-lg-10">
|
||||
<select class="select2 form-control " name="billing_period" id="billing_period">
|
||||
<option value="1" <?=($product->billing_period == 1) ? "selected='selected'" : ""?>>Jährlich</option>
|
||||
<option value="12" <?=($product->billing_period == 12) ? "selected='selected'" : ""?>>Monatlich</option>
|
||||
<option value="12" <?=($product->billing_period == 12) ? "selected='selected'" : ""?>>Jährlich</option>
|
||||
<option value="1" <?=($product->billing_period == 1) ? "selected='selected'" : ""?>>Monatlich</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -281,4 +281,4 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<td><?=$product->producttech->name?> (<?=$product->attributes[TT_ATTRIB_RTRTECHCODE_NAME]->value?>)</td>
|
||||
<td><?=__($product->producttech->customer_type)?></td>
|
||||
<td><?=$product->price?></td>
|
||||
<td><?=$product->billing_period?>x Jährlich</td>
|
||||
<td><?=(12 / $product->billing_period)?>x Jährlich</td>
|
||||
<td><?=$product->sla->name?></td>
|
||||
<td><?=$product->ivt_id?></td>
|
||||
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
|
||||
@@ -65,4 +65,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
|
||||
Reference in New Issue
Block a user