Fixed Voicenumber and Updated Voiceplan
This commit is contained in:
@@ -43,17 +43,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="name">Taktung *</label>
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="name">Standardtaktung *</label>
|
||||
<div class="col-lg-10">
|
||||
<input type="increment" class="form-control" name="increment" id="increment" value="<?=($plan->increment_first && $plan->increment) ? $plan->increment_first."/".$plan->increment : ""?>" placeholder="60/30" />
|
||||
</div>
|
||||
</div-->
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="first">Zonen und Destinationen aus bestehendem Tarifpaket kopieren</label>
|
||||
<label class="col-lg-2 col-form-label" for="copy_from_plan_id">Zonen und Destinationen aus bestehendem Tarifpaket kopieren</label>
|
||||
<div class="col-lg-10">
|
||||
<select name="copy_from_plan_id" class="form-control">
|
||||
<option value=""></option>
|
||||
@@ -65,11 +65,17 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="first">oder Zonen und Destinationen neu importieren</label>
|
||||
<label class="col-lg-2 col-form-label">oder Zonen und Destinationen neu importieren</label>
|
||||
<div class="col-lg-10">
|
||||
Zonen File: <input type="file" class="form-control" name="voiceplanzonefile" />
|
||||
Destinations File: <input type="file" class="form-control" name="voiceplandestinationfile" />
|
||||
<?php if($voiceplan->id): ?><small class="text-danger">ACHTUNG: Bestehende Zonen und Destinationen werden gelöscht!</small><?php endif; ?>
|
||||
<div class="mb-1">
|
||||
Zonenpreis File: <input type="file" class="form-control" name="voiceplanzonefile" />
|
||||
<small>Zone, ZoneID, Zeitzone, ZeitzoneID, Default price, ZZSpr, ZZSprID, Sonderpreis</small>
|
||||
</div>
|
||||
<div>
|
||||
Destinations File: <input type="file" class="form-control" name="voiceplandestinationfile" />
|
||||
<?php if($voiceplan->id): ?><small class="text-danger">ACHTUNG: Bestehende Zonen und Destinationen werden gelöscht!</small><?php endif; ?>
|
||||
<small>ZoneID, Text, Prefix</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
<th>Beschreibung</th>
|
||||
<th>Anzahl Tarifzonen</th>
|
||||
<th>Anzahl Destinations</th>
|
||||
<th>Standardtaktung</th>
|
||||
<th>Erstellt</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -79,6 +80,7 @@
|
||||
<td><?=$plan->description?></td>
|
||||
<td><?=count($plan->zones)?></td>
|
||||
<td><?=count($plan->destinations)?></td>
|
||||
<td><?=($plan->increment_first && $plan->increment) ? $plan->increment_first."/".$plan->increment : ""?></td>
|
||||
<td><?=date("d.m.Y H:i", $plan->create)?> (<?=$plan->creator->name?>)</td>
|
||||
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
|
||||
<a href="<?=self::getUrl("Voiceplan", "view", ["id" => $plan->id])?>"><i class="far fa-eyes" title="Anzeigen"></i></a>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<table class="table table-striped table-hover">
|
||||
<tr>
|
||||
<th>Zone</th>
|
||||
<th>Anzahl Prefixes</th>
|
||||
<th>Destination(s)</th>
|
||||
<th>Taktung</th>
|
||||
<th>Einkaufspreis</th>
|
||||
<th>Verkaufspreis</th>
|
||||
@@ -55,7 +55,7 @@
|
||||
<?php foreach($zones as $zone): ?>
|
||||
<tr>
|
||||
<td><a href="<?=self::getUrl("Voiceplanzone", "view", ["id" => $zone->id])?>"><?=$zone->name?></a></td>
|
||||
<td><?=count($zone->destinations)?></td>
|
||||
<td><?=(count($zone->destinations) > 1) ? count($zone->destinations) : "<spam class='text-monospace'>+".$zone->destinations[0]->prefix."</span>"?></td>
|
||||
<td><?=($zone->increment_first && $zone->increment) ? $zone->increment_first."/".$zone->increment : ""?></td>
|
||||
<td><?=$zone->purchase_price?></td>
|
||||
<td><?=$zone->price?></td>
|
||||
|
||||
Reference in New Issue
Block a user