Added price_setup and billing_delay to Product

This commit is contained in:
Frank Schubert
2021-07-06 15:44:47 +02:00
parent ad4ab58332
commit 7ed8c47374
4 changed files with 26 additions and 13 deletions
+13 -1
View File
@@ -141,7 +141,13 @@
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="price">Verkaufspreis Netto</label>
<label class="col-lg-2 col-form-label" for="price">Setup Preis Netto (Einmalig)</label>
<div class="col-lg-10">
<input type="text" name="price_setup" id="price_setup" class="form-control" value="<?=$this::dotToComma($product->price_setup)?>" />
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="price">Verkaufspreis Netto (Periodisch)</label>
<div class="col-lg-10">
<input type="text" name="price" id="price" class="form-control" value="<?=$this::dotToComma($product->price)?>" />
</div>
@@ -167,6 +173,12 @@
</select>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="billing_delay">Verzögerter Verrechnungsstart (Monate)</label>
<div class="col-lg-10">
<input type="text" name="billing_delay" id="billing_delay" class="form-control" value="<?=$this::dotToComma($product->billing_delay)?>" />
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="ivt_id">IVT Produkt ID</label>
+1 -1
View File
@@ -49,7 +49,7 @@
<td><?=(count($product->networks)) ? array_shift($product->networks)->name . ((count($product->networks) > 1) ? ", ..." : "") : ""?></td>
<td><?=$product->productgroup->name?></td>
<td><?=$product->name?></td>
<td><?=$product->producttech->name?> (<?=$product->producttech->rtrcode?>)</td>
<td><?=$product->producttech->name?> (<?=$product->attributes['rtrcode']->value?>)</td>
<td><?=__($product->producttech->customer_type)?></td>
<td><?=$product->price?></td>
<td><?=$product->billing_period?>x Jährlich</td>