* Behoben: Falsche CRM-URL in Buchungs-Service-E-Mail
* Kontaktformular git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3300 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
ff9c159297
commit
353b758bcd
12 changed files with 741 additions and 34 deletions
|
|
@ -0,0 +1,27 @@
|
|||
{# @var contact_request \AppBundle\Entity\ContactRequest
|
||||
#}Neue Kontaktanfrage:
|
||||
|
||||
CRM: {{ crm_url }}
|
||||
|
||||
Anrede: {{ contact_request.salutation == 1 ? 'Herr' : 'Frau' }}
|
||||
Vorname: {{ contact_request.firstName|default('-') }}
|
||||
Nachname: {{ contact_request.lastName|default('-') }}
|
||||
Adresse: {{ contact_request.streetAddress|default('-') }}
|
||||
PLZ: {{ contact_request.zipCode|default('-') }}
|
||||
Ort: {{ contact_request.city|default('-') }}
|
||||
Telefonnummer: {{ contact_request.phone|default('-') }}
|
||||
Fax: {{ contact_request.mobilePhone|default('-') }}
|
||||
E-Mail: {{ contact_request.email|default('-') }}
|
||||
|
||||
Abflugort 1: {{ contact_request.departure0|default('-') }}
|
||||
Abflugort 2: {{ contact_request.departure1|default('-') }}
|
||||
Abflugort 3: {{ contact_request.departure2|default('-') }}
|
||||
|
||||
Reisebeginn: {{ contact_request.start is not empty ? contact_request.start|date }}
|
||||
Reiseende: {{ contact_request.end is not empty ? contact_request.end|date }}
|
||||
Dauer: {{ contact_request.duration|default('-') }} Tage
|
||||
Anzahl d. Reisenden: {{ contact_request.travelerCount|default('-') }}
|
||||
|
||||
Kommentar:
|
||||
|
||||
{{ contact_request.notes }}
|
||||
|
|
@ -4,4 +4,8 @@
|
|||
|
||||
{% block body %}
|
||||
<h1>Vielen Dank für Ihren Buchungsauftrag!</h1>
|
||||
|
||||
<p>
|
||||
<a href="/">Zurück zur Startseite</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
73
trunk/app/Resources/views/default/pages/contact.html.twig
Normal file
73
trunk/app/Resources/views/default/pages/contact.html.twig
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{% extends get_base_template() %}
|
||||
{% form_theme contact_form 'default/form/theme.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<section class="clearfix">
|
||||
|
||||
<h1>Individuelle Reiseplanung</h1>
|
||||
|
||||
<p>
|
||||
Sie haben noch nicht die richtige Reise gefunden? Oder planen Sie einen ganz besonderen Urlaub, den Sie im
|
||||
Katalog nicht finden? Dann teilen Sie uns doch alle relevanten Informationen für Ihre Wunsch-Reise mit. Wir
|
||||
werden uns dann umgehend bei Ihnen melden. Ihre Daten (Name, Telefonnummer etc.) werden ausschließlich zur
|
||||
Bearbeitung Ihrer Anfrage verwendet und nicht an Dritte weitergegeben.
|
||||
</p>
|
||||
|
||||
<div id="contact_form" class="contact_form">
|
||||
|
||||
<form id="contactform" action="/kontakt" name="contactform" method="post">
|
||||
|
||||
<div class="form-box">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h2>Reisedaten</h2>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h3>Abflughafen</h3>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.departure0, 'Abflughafen 1. Wahl') }}</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.departure1, 'Abflughafen 2. Wahl') }}</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.departure2, 'Abflughafen 3. Wahl') }}</div>
|
||||
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h3>Reisetermin</h3>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.start, 'Anreise') }}</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.end, 'Abreise') }}</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.duration, 'Reisedauer in Tagen') }}</div>
|
||||
</div><!-- end form-box -->
|
||||
|
||||
<div class="form-box">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h2>Persönliche Daten</h2>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.salutation) }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.firstName, 'Vorname') }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.lastName, 'Nachname') }}</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.streetAddress, 'Straße, Hausnummer') }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.zipCode, 'Postleitzahl') }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.city, 'Ort') }}</div>
|
||||
<div class="form-group col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.nation) }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.phone, 'Telefon tagsüber') }}</div>
|
||||
<div class="col-md-6 col-sm-6 col-xs-12">{{ form_field_pho(contact_form.mobilePhone, 'Telefon mobil') }}</div>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.email, 'E-Mail-Adresse') }}</div>
|
||||
<div class="form-group col-md-12 col-sm-12 col-xs-12">{{ form_field_pho(contact_form.travelerCount) }}</div>
|
||||
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
{{ form_field_pho(contact_form.notes, 'Bitte Reiseland und Programmwunsch angeben', {attr: {rows: 8}}) }}
|
||||
|
||||
<button type="submit" value="SEND" id="submit" class="aligncenter btn btn-primary btn-lg border-radius">Anfrage absenden</button>
|
||||
</div>
|
||||
</div><!-- end form-box -->
|
||||
|
||||
{{ form_rest(contact_form) }}
|
||||
</form>
|
||||
|
||||
</div><!-- end contact-form -->
|
||||
|
||||
|
||||
</section>
|
||||
{% endblock body %}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block canonical_tag %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Vielen Dank, wir haben Ihre Anfrage erhalten!</h1>
|
||||
|
||||
<p>
|
||||
<a href="/">Zurück zur Startseite</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue