Anfrageformular: Tarif-Feld entfernt
- Auswahl "Tarif" aus web/index.html entfernt; der Zeitraum ergibt sich aus Von/Bis, die Tarifberatung gehoert in die Rueckmeldung - app/inquiry.php verarbeitet und mailt kein tariff mehr - Asset-Query auf v=5, Service-Worker-Cache dic-v21
This commit is contained in:
parent
9c1f51539a
commit
b0d90fe191
3 changed files with 3 additions and 15 deletions
|
|
@ -127,7 +127,6 @@ function inquiry_submit(array $input, string $ip): array
|
|||
'email' => inquiry_line($get('email'), 180),
|
||||
'street' => inquiry_line($get('street'), 120),
|
||||
'city' => inquiry_line($get('city'), 120),
|
||||
'tariff' => inquiry_line($get('tariff'), 60),
|
||||
'handover' => inquiry_line($get('handover'), 80),
|
||||
'message' => trim(mb_substr($get('message'), 0, 4000)),
|
||||
];
|
||||
|
|
@ -194,7 +193,6 @@ function inquiry_submit(array $input, string $ip): array
|
|||
. 'PLZ & Ort: ' . $values['city'] . "\n"
|
||||
. 'Miete von: ' . fmt_date($from) . "\n"
|
||||
. 'Miete bis: ' . fmt_date($to) . "\n"
|
||||
. 'Tarif: ' . ($values['tariff'] !== '' ? $values['tariff'] : 'keine Angabe') . "\n"
|
||||
. 'Übergabe: ' . ($values['handover'] !== '' ? $values['handover'] : 'keine Angabe') . "\n";
|
||||
if ($values['message'] !== '') {
|
||||
$body .= "\nNachricht:\n" . $values['message'] . "\n";
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/manrope-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/inter-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="image" imagesrcset="assets/img/hero-800.webp 800w, assets/img/hero-1280.webp 1280w, assets/img/hero-1920.webp 1920w" imagesizes="100vw">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=4">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=5">
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
|
|
@ -613,16 +613,6 @@
|
|||
<label for="f-to">Miete bis <span class="req" aria-hidden="true">*</span></label>
|
||||
<input type="date" id="f-to" name="to" required>
|
||||
</div>
|
||||
<div class="field field--full">
|
||||
<label for="f-tariff">Tarif</label>
|
||||
<select id="f-tariff" name="tariff">
|
||||
<option value="Bitte beraten">Bitte beraten</option>
|
||||
<option value="Tag (85 € netto)">Tag – 85 € netto</option>
|
||||
<option value="Wochenende (140 € netto)">Wochenende – 140 € netto</option>
|
||||
<option value="Langes Wochenende (180 € netto)">Langes Wochenende – 180 € netto</option>
|
||||
<option value="Woche (210 € netto)">Woche – 210 € netto</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field field--full">
|
||||
<span id="deliveryLabel" style="font-size:.8rem;font-weight:600;color:var(--ink)">Übergabe</span>
|
||||
<div class="radio-row" role="radiogroup" aria-labelledby="deliveryLabel">
|
||||
|
|
@ -752,7 +742,7 @@
|
|||
<img id="lightboxImg" alt="">
|
||||
</div>
|
||||
|
||||
<script src="assets/js/main.js?v=4" defer></script>
|
||||
<script src="assets/js/main.js?v=5" defer></script>
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* zwischengespeichert, damit niemand veraltete Buchungen sieht.
|
||||
*/
|
||||
|
||||
const VERSION = 'dic-v20';
|
||||
const VERSION = 'dic-v21';
|
||||
const CACHE = VERSION;
|
||||
const BASE = new URL(self.registration.scope).pathname.replace(/\/$/, '');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue