modifications to use nne/nbe from OrderProduct instead of Product

This commit is contained in:
Frank Schubert
2021-11-25 21:48:35 +01:00
parent 62885816e8
commit a866c9e7c3
4 changed files with 55 additions and 3 deletions
+4
View File
@@ -447,6 +447,7 @@
<input type="number" class="form-control" name="products[<?=$product->id?>][billing_delay]" id="billing_delay-<?=$product->id?>" value="<?=$product->billing_delay?>" placeholder="Freimonate" />
<small>Max. 6 Monate</small>
</div>
<?php if($me->is("Admin")): ?>
<div class="col-1">
<label class="form-label" for="price_nne-<?=$product->id?>">Preis NNE</label>
<input type="text" class="form-control" name="products[<?=$product->id?>][price_nne]" id="price_nne-<?=$product->id?>" value="<?=$this::dotToComma($product->price_nne)?>" placeholder="NNE" />
@@ -455,6 +456,7 @@
<label class="form-label" for="price_nbe-<?=$product->id?>">Preis NBE</label>
<input type="text" class="form-control" name="products[<?=$product->id?>][price_nbe]" id="price_nne-<?=$product->id?>" value="<?=$this::dotToComma($product->price_nbe)?>" placeholder="NBE" />
</div>
<?php endif; ?>
</div>
</div>
@@ -536,6 +538,7 @@
<small>Max. 6 Monate</small>
</div>
<?php if($me->is("Admin")): ?>
<div class="col-1">
<label class="form-label" for="price_nne-new">Preis NNE</label>
<input type="text" class="form-control" name="products[new][price_nne]" id="price_nne-new" value="" placeholder="NNE" />
@@ -544,6 +547,7 @@
<label class="form-label" for="price_nbe-new">Preis NBE</label>
<input type="text" class="form-control" name="products[new][price_nbe]" id="price_nbe-new" value="" placeholder="NBE" />
</div>
<?php endif; ?>
</div>
</div>