Added SLA to Products

This commit is contained in:
Frank Schubert
2021-07-05 18:43:03 +02:00
parent 4fae807663
commit 771c0f4bc2
12 changed files with 192 additions and 18 deletions

View File

@@ -10,7 +10,7 @@
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="<?=self::getUrl("Dashboard")?>">the-tool</a></li>
<li class="breadcrumb-item active"><a href="<?=self::getUrl("Product")?>">Produkte</a></li>
<li class="breadcrumb-item active">Produkte</li>
</ol>
</div>
<h4 class="page-title">Produkte</h4>
@@ -37,8 +37,11 @@
<th>Gruppe</th>
<th>Name</th>
<th>Technologie</th>
<th>Kundentyp</th>
<th>Verkaufspreis</th>
<th>Verr. Periode</th>
<th>SLA</th>
<th>IVT ID</th>
<th></th>
</tr>
<?php foreach($products as $product): ?>
@@ -47,8 +50,11 @@
<td><?=$product->productgroup->name?></td>
<td><?=$product->name?></td>
<td><?=$product->producttech->name?></td>
<td><?=__($product->producttech->customer_type)?></td>
<td><?=$product->price?></td>
<td><?=$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;">
<a href="<?=self::getUrl("Product", "edit", ["id" => $product->id])?>"><i class="far fa-edit" title="Produkt Bearbeiten"></i></a>
<a href="<?=self::getUrl("Product", "delete", ["id" => $product->id])?>" class="text-danger" onclick="if(!confirm('Berechtigungen wirklich löschen?')) return false;" title="Produkt Löschen"><i class="fas fa-trash"></i></a>