55 lines
2.2 KiB
PHP
55 lines
2.2 KiB
PHP
<?php include(realpath(dirname(__FILE__)."/../")."/header.php"); ?>
|
|
|
|
<!-- start page title -->
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box">
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="<?=self::getUrl("Dashboard")?>"><?=MFAPPNAME_SLUG?></a></li>
|
|
<li class="breadcrumb-item"><a href="<?=self::getUrl("Product")?>">Produkte</a></li>
|
|
<li class="breadcrumb-item active">Technologien</li>
|
|
</ol>
|
|
</div>
|
|
<h4 class="page-title">Produkttechnologien</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end page title -->
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
|
|
<div class="card">
|
|
<div class="card-body mb-3">
|
|
<div class="float-left">
|
|
<h4 class="header-title">Liste aller Technologien</h4>
|
|
</div>
|
|
<div class="float-right">
|
|
<a class="btn btn-primary mb-2" href="<?=self::getUrl("Producttech", "add")?>"><i class="fas fa-plus"></i> Neue Technologie anlegen</a>
|
|
</div>
|
|
|
|
<table class="table table-striped table-hover">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Kundentyp</th>
|
|
<th></th>
|
|
</tr>
|
|
<?php foreach($producttechs as $tech): ?>
|
|
<tr>
|
|
<td><?=$tech->name?></td>
|
|
<td><?=__($tech->customer_type)?></td>
|
|
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
|
|
<a href="<?=self::getUrl("Producttech", "edit", ["id" => $tech->id])?>"><i class="far fa-edit" title="Technologie Bearbeiten"></i></a>
|
|
<a href="<?=self::getUrl("Producttech", "delete", ["id" => $tech->id])?>" class="text-danger" onclick="if(!confirm('Technologie wirklich löschen?')) return false;" title="Technologie Löschen"><i class="fas fa-trash"></i></a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<?php include(realpath(dirname(__FILE__)."/../../$mfLayoutPackage")."/footer.php"); ?>
|