This commit is contained in:
Thomas Peterson 2025-12-02 13:07:00 +01:00
parent 1021f70a8b
commit 2bc45b89c4
392 changed files with 70174 additions and 2423 deletions

View File

@ -933,7 +933,7 @@ CREATE TABLE `contact_address` (
`email` varchar(255) DEFAULT NULL,
`type` int(1) NOT NULL,
`company` varchar(100) DEFAULT NULL,
`anrede` varchar(100) DEFAULT 1,
`anrede` varchar(100) DEFAULT NULL,
`country` varchar(100) DEFAULT NULL,
`fax` varchar(255) DEFAULT NULL,
`company2` varchar(255) DEFAULT NULL,
@ -1712,7 +1712,7 @@ CREATE TABLE `papierdb` (
`huelsendurchmesser` varchar(60) DEFAULT NULL,
`kleber` varchar(60) DEFAULT NULL,
`abdeckpapier` varchar(60) DEFAULT NULL,
`laufrichtung` varchar(2) DEFAULT NULL,
`laufrichtung` varchar(60) DEFAULT NULL,
`mengenangabe` int(10) DEFAULT NULL,
`mengenangabe_palette` int(10) DEFAULT NULL,
`inhalt` varchar(60) DEFAULT NULL,

File diff suppressed because it is too large Load Diff

View File

@ -1,660 +1,232 @@
{% extends 'backend_base.html.twig' %}
{% extends 'backend_tailwind_base.html.twig' %}
{% block header %}
<div>
<h1 class="text-psc text-2xl font-medium flex flex-row gap-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-8">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z" />
</svg>
Papier <span class="text-gray-500">Anlegen</span>
</h1>
</div>
<div class="flex flex-wrap items-center gap-4 justify-start shrink-0">
<a href="{{ path("psc_system_paper_list") }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-meta-3 hover:bg-meta-3/90 hover:ring-2 hover:ring-meta-3 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
Zurück
</a>
</div>
{% endblock %}
{% block body %}
<div class="header">
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<h3>
<i class="fa-fw fa fa-paper-plane"></i>
Papier <span>>
Detail </span> {{ paper.id }}
</h3>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 text-end">
<a href="{{ path("psc_system_paper_list") }}" class="btn btn-default btn-sm"><i class="fa fa-lg fa-fw fa-arrow-left"></i> Zurück</a>
</div>
</div>
</div>
<div class="body">
{{ form_start(form, { 'attr': {'class': 'smart-form'}}) }}
<div class="rounded-sm border bg-white px-7.5 py-6 shadow-lg dark:border-strokedark dark:bg-boxdark">
{{ form_start(form, { 'attr': {'class': ''}}) }}
{{ form_errors(form) }}
<div class="panel">
<div class="header">
<h5>{{ paper.description1 }}</h5>
</div>
<div class="body">
<div class="row">
<div class="col-md-2">
<ul class="nav nav-pills flex-column" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#all" role="tab">Allgemein</a>
<div class="flex flex-col md:flex-row gap-6">
<div class="w-full md:w-48 shrink-0">
<ul class="flex flex-row md:flex-col gap-2 overflow-x-auto md:overflow-x-visible" role="tablist">
<li class="shrink-0">
<a class="nav-link active block px-4 py-2 rounded-sm bg-psc-500 text-white hover:bg-psc-600" data-bs-toggle="tab" href="#all" role="tab">Allgemein</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#settings" role="tab">Eigenschaften</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#settings" role="tab">Eigenschaften</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#staffel" role="tab">Staffel</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#staffel" role="tab">Staffel</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#papertyp" role="tab">Papiertyp</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#papertyp" role="tab">Papiertyp</a>
</li>
</ul>
</div>
<div class="col-md-10">
<div class="flex-1 min-w-0">
<div class="tab-content">
<div class="tab-pane active" id="all" role="tabpanel">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.artNr) }}
</label>
<div class="col-md-9">
{{ form_widget(form.artNr) }}
<h2 class="text-psc text-xl font-medium mb-6">Allgemeine Informationen</h2>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.artNr) }}</label>
<div class="md:col-span-2">{{ form_widget(form.artNr, {attr: {class:'form-input'}}) }}{{ form_errors(form.artNr) }}</div>
</div>
{{ form_errors(form.artNr) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.description1) }}</label>
<div class="md:col-span-2">{{ form_widget(form.description1, {attr: {class:'form-input'}}) }}{{ form_errors(form.description1) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.description1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.description1) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.description2) }}</label>
<div class="md:col-span-2">{{ form_widget(form.description2, {attr: {class:'form-input'}}) }}{{ form_errors(form.description2) }}</div>
</div>
{{ form_errors(form.description1) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.grammatur) }}</label>
<div class="md:col-span-2">{{ form_widget(form.grammatur, {attr: {class:'form-input'}}) }}{{ form_errors(form.grammatur) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.description2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.description2) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.preis) }}</label>
<div class="md:col-span-2">{{ form_widget(form.preis, {attr: {class:'form-input'}}) }}{{ form_errors(form.preis) }}</div>
</div>
{{ form_errors(form.description2) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.mengeneinheit) }}</label>
<div class="md:col-span-2">{{ form_widget(form.mengeneinheit, {attr: {class:'form-input'}}) }}{{ form_errors(form.mengeneinheit) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.grammatur) }}
</label>
<div class="col-md-9">
{{ form_widget(form.grammatur) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.volume) }}</label>
<div class="md:col-span-2">{{ form_widget(form.volume, {attr: {class:'form-input'}}) }}{{ form_errors(form.volume) }}</div>
</div>
{{ form_errors(form.grammatur) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.preis) }}
</label>
<div class="col-md-9">
{{ form_widget(form.preis) }}
</div>
{{ form_errors(form.preis) }}
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.mengeneinheit) }}
</label>
<div class="col-md-9">
{{ form_widget(form.mengeneinheit) }}
</div>
{{ form_errors(form.mengeneinheit) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.verkaufshinweise) }}</label>
<div class="md:col-span-2">{{ form_widget(form.verkaufshinweise, {attr: {class:'form-input'}}) }}{{ form_errors(form.verkaufshinweise) }}</div>
</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.volume) }}
</label>
<div class="col-md-9">
{{ form_widget(form.volume) }}
</div>
{{ form_errors(form.volume) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.verkaufshinweise) }}
</label>
<div class="col-md-9">
{{ form_widget(form.verkaufshinweise) }}
</div>
{{ form_errors(form.verkaufshinweise) }}
</div>
</div>
<div class="tab-pane" id="settings" role="tabpanel">
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.breite) }}
</label>
<div class="col-md-9">
{{ form_widget(form.breite) }}
<h2 class="text-psc text-xl font-medium mb-6">Eigenschaften</h2>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.breite) }}</label>
<div class="md:col-span-2">{{ form_widget(form.breite, {attr: {class:'form-input'}}) }}{{ form_errors(form.breite) }}</div>
</div>
{{ form_errors(form.breite) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.laenge) }}</label>
<div class="md:col-span-2">{{ form_widget(form.laenge, {attr: {class:'form-input'}}) }}{{ form_errors(form.laenge) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.laenge) }}
</label>
<div class="col-md-9">
{{ form_widget(form.laenge) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.staerke) }}</label>
<div class="md:col-span-2">{{ form_widget(form.staerke, {attr: {class:'form-input'}}) }}{{ form_errors(form.staerke) }}</div>
</div>
{{ form_errors(form.laenge) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.eigenschaften) }}</label>
<div class="md:col-span-2">{{ form_widget(form.eigenschaften, {attr: {class:'form-input'}}) }}{{ form_errors(form.eigenschaften) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staerke) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staerke) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.farbnummer) }}</label>
<div class="md:col-span-2">{{ form_widget(form.farbnummer, {attr: {class:'form-input'}}) }}{{ form_errors(form.farbnummer) }}</div>
</div>
{{ form_errors(form.staerke) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.farbbezeichnung) }}</label>
<div class="md:col-span-2">{{ form_widget(form.farbbezeichnung, {attr: {class:'form-input'}}) }}{{ form_errors(form.farbbezeichnung) }}</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.kleber) }}</label>
<div class="md:col-span-2">{{ form_widget(form.kleber, {attr: {class:'form-input'}}) }}{{ form_errors(form.kleber) }}</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.eigenschaften) }}
</label>
<div class="col-md-9">
{{ form_widget(form.eigenschaften) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.laufrichtung) }}</label>
<div class="md:col-span-2">{{ form_widget(form.laufrichtung, {attr: {class:'form-input'}}) }}{{ form_errors(form.laufrichtung) }}</div>
</div>
{{ form_errors(form.eigenschaften) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.farbnummer) }}
</label>
<div class="col-md-9">
{{ form_widget(form.farbnummer) }}
</div>
{{ form_errors(form.farbnummer) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.farbbezeichnung) }}
</label>
<div class="col-md-9">
{{ form_widget(form.farbbezeichnung) }}
</div>
{{ form_errors(form.farbbezeichnung) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.kleber) }}
</label>
<div class="col-md-9">
{{ form_widget(form.kleber) }}
</div>
{{ form_errors(form.kleber) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.laufrichtung) }}
</label>
<div class="col-md-9">
{{ form_widget(form.laufrichtung) }}
</div>
{{ form_errors(form.laufrichtung) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.etiketten_je_blatt) }}
</label>
<div class="col-md-9">
{{ form_widget(form.etiketten_je_blatt) }}
</div>
{{ form_errors(form.etiketten_je_blatt) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.etiketten_je_blatt) }}</label>
<div class="md:col-span-2">{{ form_widget(form.etiketten_je_blatt, {attr: {class:'form-input'}}) }}{{ form_errors(form.etiketten_je_blatt) }}</div>
</div>
</div>
</div>
<div class="tab-pane" id="staffel" role="tabpanel">
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_1) }}
<h2 class="text-psc text-xl font-medium mb-6">Staffelpreise</h2>
<div class="space-y-6">
{% for i in 1..5 %}
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'staffelmenge_' ~ i)) }}</label>
{{ form_widget(attribute(form, 'staffelmenge_' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'staffelmenge_' ~ i)) }}
</div>
{{ form_errors(form.staffelmenge_1) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_1) }}
</div>
{{ form_errors(form.staffelpreis_1) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_2) }}
</div>
{{ form_errors(form.staffelmenge_2) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_2) }}
</div>
{{ form_errors(form.staffelpreis_2) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_3) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_3) }}
</div>
{{ form_errors(form.staffelmenge_3) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_3) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_3) }}
</div>
{{ form_errors(form.staffelpreis_3) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_4) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_4) }}
</div>
{{ form_errors(form.staffelmenge_4) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_4) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_4) }}
</div>
{{ form_errors(form.staffelpreis_4) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_5) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_5) }}
</div>
{{ form_errors(form.staffelmenge_5) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_5) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_5) }}
</div>
{{ form_errors(form.staffelpreis_5) }}
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'staffelpreis_' ~ i)) }}</label>
{{ form_widget(attribute(form, 'staffelpreis_' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'staffelpreis_' ~ i)) }}
</div>
</div>
{% endfor %}
</div>
</div>
<div class="tab-pane" id="papertyp" role="tabpanel">
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.offsetFix) }}
</label>
<div class="col-md-9">
{{ form_widget(form.offsetFix) }}
</div>
<h2 class="text-psc text-xl font-medium mb-6">Papiertypen</h2>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(form.offsetFix) }}</label>
{{ form_widget(form.offsetFix, {attr: {class:'form-input'}}) }}
{{ form_errors(form.offsetFix) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.offsetVar) }}
</label>
<div class="col-md-9">
{{ form_widget(form.offsetVar) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.offsetVar) }}</label>
{{ form_widget(form.offsetVar, {attr: {class:'form-input'}}) }}
{{ form_errors(form.offsetVar) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.digitalFix) }}
</label>
<div class="col-md-9">
{{ form_widget(form.digitalFix) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.digitalFix) }}</label>
{{ form_widget(form.digitalFix, {attr: {class:'form-input'}}) }}
{{ form_errors(form.digitalFix) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.digitalVar) }}
</label>
<div class="col-md-9">
{{ form_widget(form.digitalVar) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.digitalVar) }}</label>
{{ form_widget(form.digitalVar, {attr: {class:'form-input'}}) }}
{{ form_errors(form.digitalVar) }}
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
{% for i in 1..14 %}
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'papierTyp' ~ i)) }}</label>
{{ form_widget(attribute(form, 'papierTyp' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'papierTyp' ~ i)) }}
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp1) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp1) }}
</div>
{{ form_errors(form.papierTyp1) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp2) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp2) }}
</div>
{{ form_errors(form.papierTyp2) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp3) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp3) }}
</div>
{{ form_errors(form.papierTyp3) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp4) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp4) }}
</div>
{{ form_errors(form.papierTyp4) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp5) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp5) }}
</div>
{{ form_errors(form.papierTyp5) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp6) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp6) }}
</div>
{{ form_errors(form.papierTyp6) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp7) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp7) }}
</div>
{{ form_errors(form.papierTyp7) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp8) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp8) }}
</div>
{{ form_errors(form.papierTyp8) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp9) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp9) }}
</div>
{{ form_errors(form.papierTyp9) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp10) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp10) }}
</div>
{{ form_errors(form.papierTyp10) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp11) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp11) }}
</div>
{{ form_errors(form.papierTyp11) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp12) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp12) }}
</div>
{{ form_errors(form.papierTyp12) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp13) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp13) }}
</div>
{{ form_errors(form.papierTyp13) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp14) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp14) }}
</div>
{{ form_errors(form.papierTyp14) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.umschlagen) }}
</label>
<div class="col-md-5">
{{ form_widget(form.umschlagen) }}
</div>
{% endfor %}
<div>
<label class="font-medium block mb-2">{{ form_label(form.umschlagen) }}</label>
{{ form_widget(form.umschlagen, {attr: {class:'form-input'}}) }}
{{ form_errors(form.umschlagen) }}
</div>
</div>
<div class="col-md-3">
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.happy) }}
</label>
<div class="col-md-5">
{{ form_widget(form.happy) }}
</div>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(form.happy) }}</label>
{{ form_widget(form.happy, {attr: {class:'form-input'}}) }}
{{ form_errors(form.happy) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.eq) }}
</label>
<div class="col-md-5">
{{ form_widget(form.eq) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.eq) }}</label>
{{ form_widget(form.eq, {attr: {class:'form-input'}}) }}
{{ form_errors(form.eq) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.sense) }}
</label>
<div class="col-md-5">
{{ form_widget(form.sense) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.sense) }}</label>
{{ form_widget(form.sense, {attr: {class:'form-input'}}) }}
{{ form_errors(form.sense) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.sky) }}
</label>
<div class="col-md-5">
{{ form_widget(form.sky) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.sky) }}</label>
{{ form_widget(form.sky, {attr: {class:'form-input'}}) }}
{{ form_errors(form.sky) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.glam) }}
</label>
<div class="col-md-5">
{{ form_widget(form.glam) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.glam) }}</label>
{{ form_widget(form.glam, {attr: {class:'form-input'}}) }}
{{ form_errors(form.glam) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.post) }}
</label>
<div class="col-md-5">
{{ form_widget(form.post) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.post) }}</label>
{{ form_widget(form.post, {attr: {class:'form-input'}}) }}
{{ form_errors(form.post) }}
</div>
</div>
<div class="col-md-3">
</div>
</div>
</div>
</div>
</div>
<div class="mt-8 pt-6 border-t border-stroke">
{{ form_widget(form.save, {attr: {class: 'inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]'}}) }}
</div>
<div class="col-md-3">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel">
<div class="body">
<div class="row mb-3">
<div class="col-md-offset-2 col-md-11">
{{ form_widget(form.save, {attr: {class: 'btn btn-primary btn-sm'}}) }}
</div>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
{% endblock %}

View File

@ -1,40 +1,37 @@
{% extends 'backend_base.html.twig' %}
{% extends 'backend_tailwind_base.html.twig' %}
{% block body %}
<div class="header">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<h3>
<i class="fa-fw fa fa-folder"></i>
Papier <span>>
Löschen</span>
</h3>
</div>
</div>
</div>
<div class="body">
<div class="panel">
<div class="header">
<h4>Papier löschen?</h4>
</div>
<div class="body">
<h5>{{ paper.description1 }}</h5>
{{ form_start(form, { 'attr': {'class': ''}}) }}
<div class="row mb-3">
<label class="col-md-1 form-control-label"></label>
<div class="col-md-1">
{{ form_widget(form.yes, {attr: {class: 'btn btn-lg btn-warning btn-sm'}}) }}
</div>
<div class="col-md-1">
{{ form_widget(form.no, {attr: {class: 'btn btn-lg btn-primary btn-sm'}}) }}
</div>
</div>
{{ form_end(form) }}
</div>
{% block header %}
<div>
<h1 class="text-psc text-2xl font-medium flex flex-row gap-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-8">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z" />
</svg>
Papier <span class="text-gray-500">Löschen</span>
</h1>
</div>
<div class="flex flex-wrap items-center gap-4 justify-start shrink-0">
<a href="{{ path("psc_system_paper_list") }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-meta-3 hover:bg-meta-3/90 hover:ring-2 hover:ring-meta-3 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
Zurück
</a>
</div>
{% endblock %}
{% block body %}
<div class="rounded-sm border bg-white px-7.5 py-6 shadow-lg dark:border-strokedark dark:bg-boxdark">
<h2 class="text-psc text-xl font-medium mb-4">Papier löschen?</h2>
<div class="mb-6">
<p class="text-lg font-medium">{{ paper.description1 }}</p>
</div>
{{ form_start(form, { 'attr': {'class': ''}}) }}
<div class="flex gap-4">
{{ form_widget(form.yes, {attr: {class: 'inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-warning hover:bg-warning/90 hover:ring-2 hover:ring-warning hover:ring-offset-2 min-h-[2.25rem]'}}) }}
{{ form_widget(form.no, {attr: {class: 'inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]'}}) }}
</div>
{{ form_end(form) }}
</div>
{% endblock %}

View File

@ -1,660 +1,232 @@
{% extends 'backend_base.html.twig' %}
{% block body %}
<div class="header">
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<h3>
<i class="fa-fw fa fa-paper-plane"></i>
Papier <span>>
Detail </span> {{ paper.id }}
</h3>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 text-end">
<a href="{{ path("psc_system_paper_list") }}" class="btn btn-default btn-sm"><i class="fa fa-lg fa-fw fa-arrow-left"></i> Zurück</a>
</div>
</div>
</div>
{% extends 'backend_tailwind_base.html.twig' %}
<div class="body">
{{ form_start(form, { 'attr': {'class': 'smart-form'}}) }}
{% block header %}
<div>
<h1 class="text-psc text-2xl font-medium flex flex-row gap-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-8">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z" />
</svg>
Papier <span class="text-gray-500">Detail {{ paper.id }}</span>
</h1>
</div>
<div class="flex flex-wrap items-center gap-4 justify-start shrink-0">
<a href="{{ path("psc_system_paper_list") }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-meta-3 hover:bg-meta-3/90 hover:ring-2 hover:ring-meta-3 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
Zurück
</a>
</div>
{% endblock %}
{% block body %}
<div class="rounded-sm border bg-white px-7.5 py-6 shadow-lg dark:border-strokedark dark:bg-boxdark">
{{ form_start(form, { 'attr': {'class': ''}}) }}
{{ form_errors(form) }}
<div class="panel">
<div class="header">
<h5>{{ paper.description1 }}</h5>
</div>
<div class="body">
<div class="row">
<div class="col-md-2">
<ul class="nav nav-pills flex-column" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#all" role="tab">Allgemein</a>
<div class="flex flex-col md:flex-row gap-6">
<div class="w-full md:w-48 shrink-0">
<ul class="flex flex-row md:flex-col gap-2 overflow-x-auto md:overflow-x-visible" role="tablist">
<li class="shrink-0">
<a class="nav-link active block px-4 py-2 rounded-sm bg-psc-500 text-white hover:bg-psc-600" data-bs-toggle="tab" href="#all" role="tab">Allgemein</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#settings" role="tab">Eigenschaften</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#settings" role="tab">Eigenschaften</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#staffel" role="tab">Staffel</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#staffel" role="tab">Staffel</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#papertyp" role="tab">Papiertyp</a>
<li class="shrink-0">
<a class="nav-link block px-4 py-2 rounded-sm bg-slate-100 hover:bg-slate-200" data-bs-toggle="tab" href="#papertyp" role="tab">Papiertyp</a>
</li>
</ul>
</div>
<div class="col-md-10">
<div class="flex-1 min-w-0">
<div class="tab-content">
<div class="tab-pane active" id="all" role="tabpanel">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.artNr) }}
</label>
<div class="col-md-9">
{{ form_widget(form.artNr) }}
<h2 class="text-psc text-xl font-medium mb-6">Allgemeine Informationen</h2>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.artNr) }}</label>
<div class="md:col-span-2">{{ form_widget(form.artNr, {attr: {class:'form-input'}}) }}{{ form_errors(form.artNr) }}</div>
</div>
{{ form_errors(form.artNr) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.description1) }}</label>
<div class="md:col-span-2">{{ form_widget(form.description1, {attr: {class:'form-input'}}) }}{{ form_errors(form.description1) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.description1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.description1) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.description2) }}</label>
<div class="md:col-span-2">{{ form_widget(form.description2, {attr: {class:'form-input'}}) }}{{ form_errors(form.description2) }}</div>
</div>
{{ form_errors(form.description1) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.grammatur) }}</label>
<div class="md:col-span-2">{{ form_widget(form.grammatur, {attr: {class:'form-input'}}) }}{{ form_errors(form.grammatur) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.description2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.description2) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.preis) }}</label>
<div class="md:col-span-2">{{ form_widget(form.preis, {attr: {class:'form-input'}}) }}{{ form_errors(form.preis) }}</div>
</div>
{{ form_errors(form.description2) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.mengeneinheit) }}</label>
<div class="md:col-span-2">{{ form_widget(form.mengeneinheit, {attr: {class:'form-input'}}) }}{{ form_errors(form.mengeneinheit) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.grammatur) }}
</label>
<div class="col-md-9">
{{ form_widget(form.grammatur) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.volume) }}</label>
<div class="md:col-span-2">{{ form_widget(form.volume, {attr: {class:'form-input'}}) }}{{ form_errors(form.volume) }}</div>
</div>
{{ form_errors(form.grammatur) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.preis) }}
</label>
<div class="col-md-9">
{{ form_widget(form.preis) }}
</div>
{{ form_errors(form.preis) }}
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.mengeneinheit) }}
</label>
<div class="col-md-9">
{{ form_widget(form.mengeneinheit) }}
</div>
{{ form_errors(form.mengeneinheit) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.verkaufshinweise) }}</label>
<div class="md:col-span-2">{{ form_widget(form.verkaufshinweise, {attr: {class:'form-input'}}) }}{{ form_errors(form.verkaufshinweise) }}</div>
</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.volume) }}
</label>
<div class="col-md-9">
{{ form_widget(form.volume) }}
</div>
{{ form_errors(form.volume) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.verkaufshinweise) }}
</label>
<div class="col-md-9">
{{ form_widget(form.verkaufshinweise) }}
</div>
{{ form_errors(form.verkaufshinweise) }}
</div>
</div>
<div class="tab-pane" id="settings" role="tabpanel">
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.breite) }}
</label>
<div class="col-md-9">
{{ form_widget(form.breite) }}
<h2 class="text-psc text-xl font-medium mb-6">Eigenschaften</h2>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.breite) }}</label>
<div class="md:col-span-2">{{ form_widget(form.breite, {attr: {class:'form-input'}}) }}{{ form_errors(form.breite) }}</div>
</div>
{{ form_errors(form.breite) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.laenge) }}</label>
<div class="md:col-span-2">{{ form_widget(form.laenge, {attr: {class:'form-input'}}) }}{{ form_errors(form.laenge) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.laenge) }}
</label>
<div class="col-md-9">
{{ form_widget(form.laenge) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.staerke) }}</label>
<div class="md:col-span-2">{{ form_widget(form.staerke, {attr: {class:'form-input'}}) }}{{ form_errors(form.staerke) }}</div>
</div>
{{ form_errors(form.laenge) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.eigenschaften) }}</label>
<div class="md:col-span-2">{{ form_widget(form.eigenschaften, {attr: {class:'form-input'}}) }}{{ form_errors(form.eigenschaften) }}</div>
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staerke) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staerke) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.farbnummer) }}</label>
<div class="md:col-span-2">{{ form_widget(form.farbnummer, {attr: {class:'form-input'}}) }}{{ form_errors(form.farbnummer) }}</div>
</div>
{{ form_errors(form.staerke) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.farbbezeichnung) }}</label>
<div class="md:col-span-2">{{ form_widget(form.farbbezeichnung, {attr: {class:'form-input'}}) }}{{ form_errors(form.farbbezeichnung) }}</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.kleber) }}</label>
<div class="md:col-span-2">{{ form_widget(form.kleber, {attr: {class:'form-input'}}) }}{{ form_errors(form.kleber) }}</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.eigenschaften) }}
</label>
<div class="col-md-9">
{{ form_widget(form.eigenschaften) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.laufrichtung) }}</label>
<div class="md:col-span-2">{{ form_widget(form.laufrichtung, {attr: {class:'form-input'}}) }}{{ form_errors(form.laufrichtung) }}</div>
</div>
{{ form_errors(form.eigenschaften) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.farbnummer) }}
</label>
<div class="col-md-9">
{{ form_widget(form.farbnummer) }}
</div>
{{ form_errors(form.farbnummer) }}
</div>
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.farbbezeichnung) }}
</label>
<div class="col-md-9">
{{ form_widget(form.farbbezeichnung) }}
</div>
{{ form_errors(form.farbbezeichnung) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.kleber) }}
</label>
<div class="col-md-9">
{{ form_widget(form.kleber) }}
</div>
{{ form_errors(form.kleber) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.laufrichtung) }}
</label>
<div class="col-md-9">
{{ form_widget(form.laufrichtung) }}
</div>
{{ form_errors(form.laufrichtung) }}
</div>
</div>
<div class="row">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.etiketten_je_blatt) }}
</label>
<div class="col-md-9">
{{ form_widget(form.etiketten_je_blatt) }}
</div>
{{ form_errors(form.etiketten_je_blatt) }}
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.etiketten_je_blatt) }}</label>
<div class="md:col-span-2">{{ form_widget(form.etiketten_je_blatt, {attr: {class:'form-input'}}) }}{{ form_errors(form.etiketten_je_blatt) }}</div>
</div>
</div>
</div>
<div class="tab-pane" id="staffel" role="tabpanel">
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_1) }}
<h2 class="text-psc text-xl font-medium mb-6">Staffelpreise</h2>
<div class="space-y-6">
{% for i in 1..5 %}
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'staffelmenge_' ~ i)) }}</label>
{{ form_widget(attribute(form, 'staffelmenge_' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'staffelmenge_' ~ i)) }}
</div>
{{ form_errors(form.staffelmenge_1) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_1) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_1) }}
</div>
{{ form_errors(form.staffelpreis_1) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_2) }}
</div>
{{ form_errors(form.staffelmenge_2) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_2) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_2) }}
</div>
{{ form_errors(form.staffelpreis_2) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_3) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_3) }}
</div>
{{ form_errors(form.staffelmenge_3) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_3) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_3) }}
</div>
{{ form_errors(form.staffelpreis_3) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_4) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_4) }}
</div>
{{ form_errors(form.staffelmenge_4) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_4) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_4) }}
</div>
{{ form_errors(form.staffelpreis_4) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelmenge_5) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelmenge_5) }}
</div>
{{ form_errors(form.staffelmenge_5) }}
</div>
</div>
<div class="col-md-6">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.staffelpreis_5) }}
</label>
<div class="col-md-9">
{{ form_widget(form.staffelpreis_5) }}
</div>
{{ form_errors(form.staffelpreis_5) }}
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'staffelpreis_' ~ i)) }}</label>
{{ form_widget(attribute(form, 'staffelpreis_' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'staffelpreis_' ~ i)) }}
</div>
</div>
{% endfor %}
</div>
</div>
<div class="tab-pane" id="papertyp" role="tabpanel">
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.offsetFix) }}
</label>
<div class="col-md-9">
{{ form_widget(form.offsetFix) }}
</div>
<h2 class="text-psc text-xl font-medium mb-6">Papiertypen</h2>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(form.offsetFix) }}</label>
{{ form_widget(form.offsetFix, {attr: {class:'form-input'}}) }}
{{ form_errors(form.offsetFix) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.offsetVar) }}
</label>
<div class="col-md-9">
{{ form_widget(form.offsetVar) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.offsetVar) }}</label>
{{ form_widget(form.offsetVar, {attr: {class:'form-input'}}) }}
{{ form_errors(form.offsetVar) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.digitalFix) }}
</label>
<div class="col-md-9">
{{ form_widget(form.digitalFix) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.digitalFix) }}</label>
{{ form_widget(form.digitalFix, {attr: {class:'form-input'}}) }}
{{ form_errors(form.digitalFix) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.digitalVar) }}
</label>
<div class="col-md-9">
{{ form_widget(form.digitalVar) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.digitalVar) }}</label>
{{ form_widget(form.digitalVar, {attr: {class:'form-input'}}) }}
{{ form_errors(form.digitalVar) }}
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
{% for i in 1..14 %}
<div>
<label class="font-medium block mb-2">{{ form_label(attribute(form, 'papierTyp' ~ i)) }}</label>
{{ form_widget(attribute(form, 'papierTyp' ~ i), {attr: {class:'form-input'}}) }}
{{ form_errors(attribute(form, 'papierTyp' ~ i)) }}
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp1) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp1) }}
</div>
{{ form_errors(form.papierTyp1) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp2) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp2) }}
</div>
{{ form_errors(form.papierTyp2) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp3) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp3) }}
</div>
{{ form_errors(form.papierTyp3) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp4) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp4) }}
</div>
{{ form_errors(form.papierTyp4) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp5) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp5) }}
</div>
{{ form_errors(form.papierTyp5) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp6) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp6) }}
</div>
{{ form_errors(form.papierTyp6) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp7) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp7) }}
</div>
{{ form_errors(form.papierTyp7) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp8) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp8) }}
</div>
{{ form_errors(form.papierTyp8) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp9) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp9) }}
</div>
{{ form_errors(form.papierTyp9) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp10) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp10) }}
</div>
{{ form_errors(form.papierTyp10) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp11) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp11) }}
</div>
{{ form_errors(form.papierTyp11) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp12) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp12) }}
</div>
{{ form_errors(form.papierTyp12) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp13) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp13) }}
</div>
{{ form_errors(form.papierTyp13) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.papierTyp14) }}
</label>
<div class="col-md-5">
{{ form_widget(form.papierTyp14) }}
</div>
{{ form_errors(form.papierTyp14) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.umschlagen) }}
</label>
<div class="col-md-5">
{{ form_widget(form.umschlagen) }}
</div>
{% endfor %}
<div>
<label class="font-medium block mb-2">{{ form_label(form.umschlagen) }}</label>
{{ form_widget(form.umschlagen, {attr: {class:'form-input'}}) }}
{{ form_errors(form.umschlagen) }}
</div>
</div>
<div class="col-md-3">
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.happy) }}
</label>
<div class="col-md-5">
{{ form_widget(form.happy) }}
</div>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div>
<label class="font-medium block mb-2">{{ form_label(form.happy) }}</label>
{{ form_widget(form.happy, {attr: {class:'form-input'}}) }}
{{ form_errors(form.happy) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.eq) }}
</label>
<div class="col-md-5">
{{ form_widget(form.eq) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.eq) }}</label>
{{ form_widget(form.eq, {attr: {class:'form-input'}}) }}
{{ form_errors(form.eq) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.sense) }}
</label>
<div class="col-md-5">
{{ form_widget(form.sense) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.sense) }}</label>
{{ form_widget(form.sense, {attr: {class:'form-input'}}) }}
{{ form_errors(form.sense) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.sky) }}
</label>
<div class="col-md-5">
{{ form_widget(form.sky) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.sky) }}</label>
{{ form_widget(form.sky, {attr: {class:'form-input'}}) }}
{{ form_errors(form.sky) }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.glam) }}
</label>
<div class="col-md-5">
{{ form_widget(form.glam) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.glam) }}</label>
{{ form_widget(form.glam, {attr: {class:'form-input'}}) }}
{{ form_errors(form.glam) }}
</div>
</div>
<div class="col-md-3">
<div class="row mb-3">
<label class="col-md-7 form-control-label">
{{ form_label(form.post) }}
</label>
<div class="col-md-5">
{{ form_widget(form.post) }}
</div>
<div>
<label class="font-medium block mb-2">{{ form_label(form.post) }}</label>
{{ form_widget(form.post, {attr: {class:'form-input'}}) }}
{{ form_errors(form.post) }}
</div>
</div>
<div class="col-md-3">
</div>
</div>
</div>
</div>
</div>
<div class="mt-8 pt-6 border-t border-stroke">
{{ form_widget(form.save, {attr: {class: 'inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]'}}) }}
</div>
<div class="col-md-3">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel">
<div class="body">
<div class="row mb-3">
<div class="col-md-offset-2 col-md-11">
{{ form_widget(form.save, {attr: {class: 'btn btn-primary btn-sm'}}) }}
</div>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
{% endblock %}

View File

@ -1,79 +1,100 @@
{% extends 'backend_base.html.twig' %}
{% extends 'backend_tailwind_base.html.twig' %}
{% do pagination.setSortableTemplate('tailwind_sortable.html.twig') %}
{% do pagination.setPaginationTemplate('tailwind_pagination.html.twig') %}
{% block header %}
<div>
<h1 class="text-psc text-2xl font-medium flex flex-row gap-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-8">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z" />
</svg>
Papier <span class="text-gray-500">Liste</span>
</h1>
</div>
<div class="flex flex-wrap items-center gap-4 justify-start shrink-0">
<a href="{{ path('psc_system_paper_container_settings') }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-meta-3 hover:bg-meta-3/90 hover:ring-2 hover:ring-meta-3 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M20.25 7.5l-.625 10.632a2.25 2.25 0 01-2.247 2.118H6.622a2.25 2.25 0 01-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z" />
</svg>
Papiercontainer
</a>
<a href="{{ path('psc_system_paper_create') }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" />
</svg>
Neues Papier anlegen
</a>
</div>
{% endblock %}
{% block body %}
<div class="header">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<h3>
<i class="fa-fw fa fa-paper-plane"></i>
Papier <span>>
Liste </span>
</h3>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 text-end">
<a class="btn btn-info btn-sm" href="{{ path('psc_system_paper_container_settings') }}">Papiercontainer</a>
</div>
</div>
</div>
<div class="body">
<div class="panel">
<div class="body">
<a class="btn btn-info btn-sm" href="{{ path('psc_system_paper_create') }}">Neues Papier anlegen</a>
</div>
</div>
<div class="panel">
<div class="body">
{{ form_start(form, { 'attr': {'class': 'searchForm'}}) }}
<div class="form-group form-group-sm row">
<label class="col-md-1 form-control-label">
<div class="flex flex-col gap-6">
<div class="rounded-sm border bg-white px-7.5 py-6 shadow-lg dark:border-strokedark dark:bg-boxdark">
<div class="mb-4">
{{ form_start(form, { 'attr': {'class': ''}}) }}
<div class="flex items-center gap-4">
<label class="font-medium text-sm">
Suche
</label>
<div class="col-md-3">
<div class="input-group input-group-sm">
{{ form_widget(form.term, {attr: {class:'form-control'}}) }}
<span class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</span>
<div class="flex-1 max-w-md">
<div class="flex gap-2">
{{ form_widget(form.term, {attr: {class:'form-input'}}) }}
<button type="submit" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" />
</svg>
</button>
</div>
</div>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
<table class="table">
<thead class="thead-dark">
<tr>
<th>{{ knp_pagination_sortable(pagination, 'Uid', 'paper.id') }}</th>
<th>{{ knp_pagination_sortable(pagination, 'ArtNr', 'paper.artNr') }}</th>
<th>{{ knp_pagination_sortable(pagination, 'Grammatur', 'paper.grammatur') }}</th>
<th>{{ knp_pagination_sortable(pagination, 'Name 1', 'paper.description1') }}</th>
<th>{{ knp_pagination_sortable(pagination, 'Name 2', 'paper.description2') }}</th>
<th></th>
</tr>
</thead>
<tbody>
<div class="">
<div class="w-full grid grid-cols-6 border-t border-stroke px-4 bg-slate-100 py-4.5 dark:border-strokedark sm:grid-cols-12 md:px-6 2xl:px-7.5">
<div class="col-span-1 px-2 py-3">
<p class="font-medium">{{ knp_pagination_sortable(pagination, 'Uid', 'paper.id') }}</p>
</div>
<div class="col-span-1 px-2 py-3">
<p class="font-medium">{{ knp_pagination_sortable(pagination, 'ArtNr', 'paper.artNr') }}</p>
</div>
<div class="col-span-1 px-2 py-3">
<p class="font-medium">{{ knp_pagination_sortable(pagination, 'Grammatur', 'paper.grammatur') }}</p>
</div>
<div class="col-span-2 sm:col-span-4 px-2 py-3">
<p class="font-medium">{{ knp_pagination_sortable(pagination, 'Name 1', 'paper.description1') }}</p>
</div>
<div class="hidden sm:block sm:col-span-4 px-2 py-3">
<p class="font-medium">{{ knp_pagination_sortable(pagination, 'Name 2', 'paper.description2') }}</p>
</div>
<div class="col-span-1 px-2 py-3"></div>
</div>
{% for papier in pagination %}
<tr {% if loop.index is odd %}class="color"{% endif %}>
<td>{{ papier.id }}</td>
<td>{{ papier.artNr }}</td>
<td>{{ papier.grammatur }}</td>
<td>{{ papier.description1 }}</td>
<td>{{ papier.description2 }}</td>
<td class="text-end">
<a href="{{ path("psc_system_paper_edit", {uuid: papier.id}) }}" class="btn btn-info btn-sm"><span class="fa fa-edit"></span></a>
<a href="{{ path("psc_system_paper_delete", {uuid: papier.id}) }}" class="btn btn-danger btn-sm"><span class="fa fa-trash"></span></a>
</td>
</tr>
<div class="w-full grid grid-cols-6 border-t border-stroke px-4 py-4.5 dark:border-strokedark sm:grid-cols-12 md:px-6 2xl:px-7.5">
<div class="col-span-1 px-2 py-3">{{ papier.id }}</div>
<div class="col-span-1 px-2 py-3">{{ papier.artNr }}</div>
<div class="col-span-1 px-2 py-3">{{ papier.grammatur }}</div>
<div class="col-span-2 sm:col-span-4 px-2 py-3">{{ papier.description1 }}</div>
<div class="hidden sm:block sm:col-span-4 px-2 py-3">{{ papier.description2 }}</div>
<div class="col-span-1 px-2 py-3 text-end flex flex-row gap-2 justify-end">
<a href="{{ path("psc_system_paper_edit", {uuid: papier.id}) }}" class="">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="table-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" />
</svg>
</a>
<a href="{{ path("psc_system_paper_delete", {uuid: papier.id}) }}" class="">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="table-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" />
</svg>
</a>
</div>
</div>
{% endfor %}
</tbody>
</table>
<div class="navigation">
</div>
<div class="mt-4">
{{ knp_pagination_render(pagination) }}
</div>
</div>
</div>
</div>
</div>
{% endblock %}

View File

@ -1,49 +1,43 @@
{% extends 'backend_base.html.twig' %}
{% block body %}
<div class="header">
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<h3>
<i class="fa-fw fa fa-paper-plane"></i>
Papier <span>>
Container </span>
</h3>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 text-end">
<a href="{{ path("psc_system_paper_list") }}" class="btn btn-default btn-sm"><i class="fa fa-lg fa-fw fa-arrow-left"></i> Zurück</a>
</div>
</div>
</div>
{% extends 'backend_tailwind_base.html.twig' %}
<div class="body">
{{ form_start(form, { 'attr': {'class': 'smart-form'}}) }}
{% block header %}
<div>
<h1 class="text-psc text-2xl font-medium flex flex-row gap-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-8">
<path stroke-linecap="round" stroke-linejoin="round" d="M20.25 7.5l-.625 10.632a2.25 2.25 0 01-2.247 2.118H6.622a2.25 2.25 0 01-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z" />
</svg>
Papier <span class="text-gray-500">Container</span>
</h1>
</div>
<div class="flex flex-wrap items-center gap-4 justify-start shrink-0">
<a href="{{ path("psc_system_paper_list") }}" class="inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-meta-3 hover:bg-meta-3/90 hover:ring-2 hover:ring-meta-3 hover:ring-offset-2 min-h-[2.25rem]">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="button-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
</svg>
Zurück
</a>
</div>
{% endblock %}
{% block body %}
<div class="rounded-sm border bg-white px-7.5 py-6 shadow-lg dark:border-strokedark dark:bg-boxdark">
{{ form_start(form, { 'attr': {'class': ''}}) }}
{{ form_errors(form) }}
<div class="panel">
<div class="body">
<div class="row mb-3">
<label class="col-md-3 form-control-label">
{{ form_label(form.paperContainer) }}
</label>
<div class="col-md-9">
{{ form_widget(form.paperContainer) }}
</div>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
<label class="font-medium">{{ form_label(form.paperContainer) }}</label>
<div class="md:col-span-2">
{{ form_widget(form.paperContainer, {attr: {class:'form-input'}}) }}
{{ form_errors(form.paperContainer) }}
</div>
</div>
</div>
<div class="panel">
<div class="body">
<div class="row mb-3">
<div class="col-md-offset-2 col-md-11">
{{ form_widget(form.save, {attr: {class: 'btn btn-primary btn-sm'}}) }}
</div>
</div>
</div>
<div class="mt-8 pt-6 border-t border-stroke">
{{ form_widget(form.save, {attr: {class: 'inline-flex items-center justify-center py-1 gap-1 font-medium rounded-sm px-4 text-sm text-white shadow-lg bg-psc-500 hover:bg-psc-600 hover:ring-2 hover:ring-psc-500 hover:ring-offset-2 min-h-[2.25rem]'}}) }}
</div>
{{ form_end(form) }}
</div>
</div>
{% endblock %}

View File

@ -5,6 +5,8 @@ namespace PSC\System\SettingsBundle\Service;
use DirectoryIterator;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ORM\EntityManagerInterface;
use horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\ZugferdProfiles;
use PSC\Shop\EntityBundle\Entity\Orderpos;
use PSC\Shop\EntityBundle\Entity\Upload;
use PSC\Shop\OrderBundle\Model\Order;
@ -13,8 +15,6 @@ use Symfony\Component\HttpKernel\KernelInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Twig\Environment;
use ZipArchive;
use horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\ZugferdProfiles;
/**
* Package
@ -62,8 +62,16 @@ class Package
protected $orderObj;
private \PSC\System\PluginBundle\Service\Package $pluginPackageRegistry;
public function __construct(KernelInterface $kernel, EntityManagerInterface $em, TokenStorageInterface $tokenStorage, DocumentManager $mongoManager, Environment $twig, Printing $printing, \PSC\System\PluginBundle\Service\Package $pluginPackageRegistry, PSCOrder $orderService)
{
public function __construct(
KernelInterface $kernel,
EntityManagerInterface $em,
TokenStorageInterface $tokenStorage,
DocumentManager $mongoManager,
Environment $twig,
Printing $printing,
\PSC\System\PluginBundle\Service\Package $pluginPackageRegistry,
PSCOrder $orderService,
) {
$this->entityManager = $em;
$this->tokenStorage = $tokenStorage;
$this->mongoManager = $mongoManager;
@ -114,33 +122,78 @@ class Package
$document = ZugferdDocumentBuilder::CreateNew(ZugferdProfiles::PROFILE_XRECHNUNG_2);
$document
->setDocumentInformation($orderModel->getAlias(), "380", $orderModel->getCreated(), "EUR")
->setDocumentInformation($orderModel->getAlias(), '380', $orderModel->getCreated(), 'EUR')
->addDocumentNote('Rechnung gemäß Bestellung vom ' . $orderModel->getCreated()->format('d.m.Y'))
->setDocumentSupplyChainEvent($orderModel->getCreated())
->setDocumentSeller($orderModel->getSenderAddress()->getCompany() . ' ' . $orderModel->getSenderAddress()->getFirstname() . ' ' . $orderModel->getSenderAddress()->getLastname(), "549910")
->setDocumentSellerAddress($orderModel->getSenderAddress()->getStreet() . ' ' . $orderModel->getSenderAddress()->getHouseNumber(), "", "", $orderModel->getSenderAddress()->getZip(), $orderModel->getSenderAddress()->getCity(), $orderModel->getSenderAddress()->getCountry())
->setDocumentBuyer($orderModel->getInvoiceAddress()->getCompany() . ' ' . $orderModel->getInvoiceAddress()->getFirstname() . ' ' . $orderModel->getInvoiceAddress()->getLastname(), $orderModel->getInvoiceAddress()->getKundenNr())
->setDocumentBuyerAddress($orderModel->getInvoiceAddress()->getStreet() . ' ' . $orderModel->getInvoiceAddress()->getHouseNumber(), "", "", $orderModel->getInvoiceAddress()->getZip(), $orderModel->getInvoiceAddress()->getCity(), $orderModel->getInvoiceAddress()->getCountry());
->setDocumentSeller(
$orderModel->getSenderAddress()->getCompany() .
' ' .
$orderModel->getSenderAddress()->getFirstname() .
' ' .
$orderModel->getSenderAddress()->getLastname(),
'549910',
)
->setDocumentSellerAddress(
$orderModel->getSenderAddress()->getStreet() . ' ' . $orderModel->getSenderAddress()->getHouseNumber(),
'',
'',
$orderModel->getSenderAddress()->getZip(),
$orderModel->getSenderAddress()->getCity(),
$orderModel->getSenderAddress()->getCountry(),
)
->setDocumentBuyer(
$orderModel->getInvoiceAddress()->getCompany() .
' ' .
$orderModel->getInvoiceAddress()->getFirstname() .
' ' .
$orderModel->getInvoiceAddress()->getLastname(),
$orderModel->getInvoiceAddress()->getKundenNr(),
)
->setDocumentBuyerAddress(
$orderModel->getInvoiceAddress()->getStreet() .
' ' .
$orderModel->getInvoiceAddress()->getHouseNumber(),
'',
'',
$orderModel->getInvoiceAddress()->getZip(),
$orderModel->getInvoiceAddress()->getCity(),
$orderModel->getInvoiceAddress()->getCountry(),
);
foreach($orderModel->getTaxes() as $tax) {
$document->addDocumentTax("S", "VAT", $tax->getValue() / 100, $tax->getValue() / 100, $tax->getName() / 100);
foreach ($orderModel->getTaxes() as $tax) {
$document->addDocumentTax(
'S',
'VAT',
$tax->getBasisAmount() / 100,
$tax->getCalculatedAmount() / 100,
$tax->getName() / 100,
);
}
$document
->setDocumentSummation($orderModel->getGross() / 100, $orderModel->getGross() / 100, $orderModel->getNet() / 100, 0.0, 0.0, $orderModel->getNet() / 100, $orderModel->getTaxesSum() / 100, null, 0.0);
$document->setDocumentSummation(
$orderModel->getGross() / 100,
$orderModel->getGross() / 100,
$orderModel->getNet() / 100,
0.0,
0.0,
$orderModel->getNet() / 100,
$orderModel->getTaxesSum() / 100,
null,
0.0,
);
foreach($orderModel->getPositions() as $position) {
foreach ($orderModel->getPositions() as $position) {
$document
->addNewPosition($position->getPos())
->setDocumentPositionProductDetails($position->getProduct()->getTitle())
->setDocumentPositionGrossPrice($position->getPrice()->getGross() / 100)
->setDocumentPositionNetPrice($position->getPrice()->getNet() / 100)
->setDocumentPositionQuantity(1, "H87")
->setDocumentPositionQuantity(1, 'H87')
->addDocumentPositionTax('S', 'VAT', $position->getPrice()->getTax()->getName() / 100)
->setDocumentPositionLineSummation($position->getPrice()->getNet() / 100)
;
->setDocumentPositionLineSummation($position->getPrice()->getNet() / 100);
}
$this->archive->addFromString("factur-x.xml", $document->getContent());
$this->archive->addFromString('factur-x.xml', $document->getContent());
}
/**
* @param string $name
* @param string $content
@ -157,7 +210,6 @@ class Package
/////// Position
/**
* @param Orderpos $pos
*/
@ -193,7 +245,7 @@ class Package
* @throws \Twig_Error_Loader
* @throws \Twig_Error_Syntax
*/
public function addPositionDocument($name, $typ = Printing::JOBTICKET, $orderArchive = false, $path = "")
public function addPositionDocument($name, $typ = Printing::JOBTICKET, $orderArchive = false, $path = '')
{
if ($content = $this->printing->generatePosition($this->position, $typ)) {
if ($orderArchive) {
@ -220,21 +272,29 @@ class Package
* @param bool $orderArchive
* @param string $path
*/
public function addUploadsToPackage($orderpos, $orderArchive = false, $path = "")
public function addUploadsToPackage($orderpos, $orderArchive = false, $path = '')
{
/**
* @var Upload $upload
*/
*/
foreach ($orderpos->getUploads() as $upload) {
if ($orderArchive) {
$this->archive->addFile($upload->getPath(), $path . rand(). '_' . $upload->getTyp() . '_' . $upload->getName());
$this->archive->addFile(
$upload->getPath(),
$path . rand() . '_' . $upload->getTyp() . '_' . $upload->getName(),
);
} else {
$this->archivePosition->addFile($upload->getPath(), $path . $upload->getTyp() . '_' . $upload->getName());
$this->archivePosition->addFile(
$upload->getPath(),
$path . $upload->getTyp() . '_' . $upload->getName(),
);
}
}
if (file_exists('/data/www/old/market/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos())) {
foreach (new DirectoryIterator('/data/www/old/market/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos()) as $fileInfo) {
foreach (new DirectoryIterator(
'/data/www/old/market/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos(),
) as $fileInfo) {
if ($fileInfo->isDot()) {
continue;
}
@ -247,14 +307,22 @@ class Package
}
$orderModel = $this->orderService->getOrderByUuid($this->order->getUuid());
$posModel = $orderModel->getPositionByUuid($orderpos->getUuid());
if($posModel->getProduct()->getUploadProvidedFile() && $posModel->getProduct()->getUploadProvidedFile()->getUrl() != "") {
if (
$posModel->getProduct()->getUploadProvidedFile() &&
$posModel->getProduct()->getUploadProvidedFile()->getUrl() != ''
) {
if ($orderArchive) {
$this->archive->addFile('/data/www/new/web/'. $posModel->getProduct()->getUploadProvidedFile()->getUrl(), $path . $posModel->getProduct()->getUploadProvidedFile()->getTitle());
$this->archive->addFile(
'/data/www/new/web/' . $posModel->getProduct()->getUploadProvidedFile()->getUrl(),
$path . $posModel->getProduct()->getUploadProvidedFile()->getTitle(),
);
} else {
$this->archivePosition->addFile('/data/www/new/web/'. $posModel->getProduct()->getUploadProvidedFile()->getUrl(), $path . $posModel->getProduct()->getUploadProvidedFile()->getTitle());
$this->archivePosition->addFile(
'/data/www/new/web/' . $posModel->getProduct()->getUploadProvidedFile()->getUrl(),
$path . $posModel->getProduct()->getUploadProvidedFile()->getTitle(),
);
}
}
}
public function addPluginFilesToOrderPackage()
@ -264,13 +332,23 @@ class Package
}
}
public function addPluginFilesToPositionPackage($orderArchive = false, $path = "")
public function addPluginFilesToPositionPackage($orderArchive = false, $path = '')
{
foreach ($this->pluginPackageRegistry->getPackageTypes() as $packageType) {
if ($orderArchive) {
$packageType->addFileToPositionArchive($this->archive, $this->orderObj, $this->orderObj->getPositionByUuid($this->position->getUuid()), $path);
$packageType->addFileToPositionArchive(
$this->archive,
$this->orderObj,
$this->orderObj->getPositionByUuid($this->position->getUuid()),
$path,
);
} else {
$packageType->addFileToPositionArchive($this->archivePosition, $this->orderObj, $this->orderObj->getPositionByUuid($this->position->getUuid()), $path);
$packageType->addFileToPositionArchive(
$this->archivePosition,
$this->orderObj,
$this->orderObj->getPositionByUuid($this->position->getUuid()),
$path,
);
}
}
}
@ -280,56 +358,268 @@ class Package
* @param bool $orderArchive
* @param string $path
*/
public function addDesignerFilesToPackage($orderpos, $orderArchive = false, $path = "", $name = "final.pdf")
public function addDesignerFilesToPackage($orderpos, $orderArchive = false, $path = '', $name = 'final.pdf')
{
if ($orderArchive) {
if (file_exists('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/final.pdf')) {
$this->archive->addFile('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/final.pdf', $path . $name);
} elseif (file_exists('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf')) {
$this->archive->addFile('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf', $path . 'preview.pdf');
if (
file_exists(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/final.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/final.pdf',
$path . $name,
);
} elseif (
file_exists(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
$path . 'preview.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf')) {
$this->archive->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf', $path . 'preview.pdf');
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
$path . 'preview.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/production.pdf')) {
$this->archive->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/production.pdf', $path . 'production.pdf');
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/production.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/production.pdf',
$path . 'production.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getUid() . '_' . $orderpos->getPos() . '.pdf')) {
$this->archive->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getUid() . '_' . $orderpos->getPos() . '.pdf', $path . $name);
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getUid() .
'_' .
$orderpos->getPos() .
'.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getUid() .
'_' .
$orderpos->getPos() .
'.pdf',
$path . $name,
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getAlias() . '_' . $orderpos->getPos() . '.pdf')) {
$this->archive->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getAlias() . '_' . $orderpos->getPos() . '.pdf', $path . $name);
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getAlias() .
'_' .
$orderpos->getPos() .
'.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getAlias() .
'_' .
$orderpos->getPos() .
'.pdf',
$path . $name,
);
}
} else {
if (file_exists('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/final.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/final.pdf', $path . $name);
} elseif (file_exists('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/templateprint/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf', $path . 'preview.pdf');
if (
file_exists(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/final.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/final.pdf',
$path . $name,
);
} elseif (
file_exists(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/templateprint/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
$path . 'preview.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/preview.pdf', $path . 'preview.pdf');
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/preview.pdf',
$path . 'preview.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/production.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/production.pdf', $path . 'production.pdf');
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/production.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/production.pdf',
$path . 'production.pdf',
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getUid() . '_' . $orderpos->getPos() . '.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getUid() . '_' . $orderpos->getPos() . '.pdf', $path . $name);
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getUid() .
'_' .
$orderpos->getPos() .
'.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getUid() .
'_' .
$orderpos->getPos() .
'.pdf',
$path . $name,
);
}
if (file_exists('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getAlias() . '_' . $orderpos->getPos() . '.pdf')) {
$this->archivePosition->addFile('/data/www/old/market/steplayouter/basket/' . $orderpos->getOrder()->getUid() . '/' . $orderpos->getPos() . '/' . $orderpos->getOrder()->getAlias() . '_' . $orderpos->getPos() . '.pdf', $path . $name);
if (
file_exists(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getAlias() .
'_' .
$orderpos->getPos() .
'.pdf',
)
) {
$this->archivePosition->addFile(
'/data/www/old/market/steplayouter/basket/' .
$orderpos->getOrder()->getUid() .
'/' .
$orderpos->getPos() .
'/' .
$orderpos->getOrder()->getAlias() .
'_' .
$orderpos->getPos() .
'.pdf',
$path . $name,
);
}
}
}
public function addPositionDocumentFromString($name, $content, $orderArchive = false, $path = "")
public function addPositionDocumentFromString($name, $content, $orderArchive = false, $path = '')
{
if ($orderArchive) {
$this->archive->addFromString($path . $name, $content);
@ -340,8 +630,23 @@ class Package
public function addDesignerFilesToPackageWithCustomPathname($pos, $orderPosDesignPath)
{
if (file_exists('/data/www/old/market/templateprint/basket/' . $pos->getOrder()->getUid() . '/' . $pos->getPos() . '/final.pdf')) {
$this->archive->addFile('/data/www/old/market/templateprint/basket/' . $pos->getOrder()->getUid() . '/' . $pos->getPos() . '/final.pdf', $orderPosDesignPath);
if (
file_exists(
'/data/www/old/market/templateprint/basket/' .
$pos->getOrder()->getUid() .
'/' .
$pos->getPos() .
'/final.pdf',
)
) {
$this->archive->addFile(
'/data/www/old/market/templateprint/basket/' .
$pos->getOrder()->getUid() .
'/' .
$pos->getPos() .
'/final.pdf',
$orderPosDesignPath,
);
}
}

View File

@ -0,0 +1,11 @@
<?php
namespace PSC\System\UpdateBundle\Migrations;
class Version20251124132556 extends Base
{
public function migrateDatabase(): void
{
$this->entityManager->getConnection()->exec('ALTER TABLE papierdb MODIFY laufrichtung varchar(60) null;');
}
}

View File

@ -1,4 +1,5 @@
<?php
/**
* PrintshopCreator Suite
*
@ -14,8 +15,8 @@ namespace Plugin\Custom\PSC\R2_Pitchprint\Controller\Backend;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ORM\EntityManagerInterface;
use PSC\Shop\EntityBundle\Entity\Product;
use Plugin\Custom\PSC\R2_Pitchprint\Api\Design;
use PSC\Shop\EntityBundle\Entity\Product;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
@ -23,40 +24,47 @@ use Symfony\Component\Routing\Annotation\Route;
class DesignController extends AbstractController
{
public function __construct(private Design $designService)
{
}
public function __construct(
private Design $designService,
) {}
#[Template()]
#[Template]
#[Route('/design/edit/{uuid}/{folder}', name: 'psc_plugin_pitchprint_r2_backend_design_edit')]
public function editAction(Request $request, \PSC\System\SettingsBundle\Service\Shop $shopService, DocumentManager $documentManager, EntityManagerInterface $entityManager, Design $design, $uuid, $folder = "")
{
public function editAction(
Request $request,
\PSC\System\SettingsBundle\Service\Shop $shopService,
DocumentManager $documentManager,
EntityManagerInterface $entityManager,
Design $design,
$uuid,
$folder = '',
) {
$selectedShop = $shopService->getSelectedShop();
/**
* @var Product $product
*/
*/
$product = $entityManager
->getRepository('PSC\Shop\EntityBundle\Entity\Product')->findOneBy(array('uuid' => $uuid, 'shop' => $selectedShop));
->getRepository('PSC\Shop\EntityBundle\Entity\Product')
->findOneBy(['uuid' => $uuid, 'shop' => $selectedShop]);
$output = $design->getDesigns($folder);
$data = ['folders' => [], 'designs' => []];
if (isset($output['root']) && isset($output['root']['id']) && $output['root']['id'] == 'root') {
foreach ($output['root']['items'] as $item) {
if (isset($output['root'], $output['root']['id']) && $output['root']['id'] == 'root') {
foreach ($output['root']['__items'] as $item) {
$data = $this->getItems($data, $item);
}
}
if (isset($output['data'])) {
foreach ($output['data']['items'] as $item) {
foreach ($output['data']['__items'] as $item) {
$data = $this->getItems($data, $item);
}
}
return array(
return [
'designs' => $data,
'product' => $product
);
'product' => $product,
];
}
private function getItems($data, $folder): array
@ -70,6 +78,4 @@ class DesignController extends AbstractController
}
return $data;
}
}

View File

@ -31,7 +31,6 @@
const module = {};
</script>
<script type="module">
import $ from 'jquery'
import * as bootstrap from 'bootstrap'
module.choose = function(id, previews)
{

View File

@ -1,6 +1,6 @@
<?php
namespace Plugin\System\PSC\TemplateprintLayouter\Controller;
namespace Plugin\Custom\PSC\TemplateprintLayouter\Controller;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ORM\EntityManagerInterface;
@ -23,24 +23,24 @@ class GalleryController extends AbstractController
$query = $request->get('query', false);
$data = [
"name" => "Main",
"description" => "Main",
"subcategories" => []
'name' => 'Main',
'description' => 'Main',
'subcategories' => [],
];
if($query) {
$query = explode(",", $query);
if ($query) {
$query = explode(',', $query);
foreach($query as $key) {
foreach ($query as $key) {
/** @var Folder $selectedFolder */
$selectedFolder = $documentManager
->getRepository('PSC\Shop\MediaBundle\Document\Folder')
->findOneBy(array('id' => trim($key)));
->findOneBy(['id' => trim($key)]);
$subCat = [
'name' => $selectedFolder->getTitle(),
'description' => $selectedFolder->getTitle(),
'images' => []
'images' => [],
];
$images = [];
@ -48,21 +48,21 @@ class GalleryController extends AbstractController
$medias = $documentManager
->getRepository('PSC\Shop\MediaBundle\Document\Media')
->createQueryBuilder('media')
->field('folder.$id')->equals(new ObjectId($selectedFolder->getId()))
->sort('uid', 'ASC')->getQuery()->execute();
->field('folder.$id')
->equals(new ObjectId($selectedFolder->getId()))
->sort('uid', 'ASC')
->getQuery()
->execute();
/** @var Media $media */
foreach($medias as $media) {
foreach ($medias as $media) {
$images[] = [
'name' => $media->getTitle(),
'id' => $media->getId(),
'description' => $media->getDescription()
'description' => $media->getDescription(),
];
}
$subCat['images'] = $images;
$data['subcategories'][] = $subCat;
@ -93,6 +93,7 @@ class GalleryController extends AbstractController
{
$media = $mediaManager->getMedia($request->get('id'));
return new RedirectResponse('http://web/apps/'.$media->getUrl());
return new RedirectResponse('http://web/apps/' . $media->getUrl());
}
}

View File

@ -13,9 +13,9 @@
namespace Plugin\Custom\PSC\Upload\Controller\Frontend;
use Doctrine\ODM\MongoDB\DocumentManager;
use Plugin\Cusomt\PSC\Upload\Form\Frontend\UploadType;
use Plugin\Custom\PSC\Upload\Document\Upload;
use Plugin\Custom\PSC\Upload\Event\Create;
use Plugin\Custom\PSC\Upload\Form\Frontend\UploadType;
use Plugin\Custom\PSC\Upload\Helper\UploaderHelper;
use PSC\Shop\QueueBundle\Event\Package\Created;
use PSC\Shop\QueueBundle\Service\Event\Manager;
@ -104,4 +104,3 @@ class CreateController extends AbstractController
];
}
}

View File

@ -943,11 +943,6 @@ html {
margin-right: -0.75rem;
}
.-mx-4{
margin-left: -1rem;
margin-right: -1rem;
}
.mx-auto{
margin-left: auto;
margin-right: auto;
@ -958,11 +953,6 @@ html {
margin-bottom: 0.5rem;
}
.my-4{
margin-top: 1rem;
margin-bottom: 1rem;
}
.mb-0{
margin-bottom: 0px;
}
@ -1059,6 +1049,10 @@ html {
margin-top: 1.5rem;
}
.mt-8{
margin-top: 2rem;
}
.block{
display: block;
}
@ -1243,6 +1237,10 @@ html {
width: 100vw;
}
.min-w-0{
min-width: 0px;
}
.max-w-7xl{
max-width: 80rem;
}
@ -1383,6 +1381,10 @@ html {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6{
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid-cols-7{
grid-template-columns: repeat(7, minmax(0, 1fr));
}
@ -1503,6 +1505,12 @@ html {
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]){
--tw-space-y-reverse: 0;
margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]){
--tw-divide-y-reverse: 0;
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
@ -1518,6 +1526,10 @@ html {
overflow: hidden;
}
.overflow-x-auto{
overflow-x: auto;
}
.overflow-y-auto{
overflow-y: auto;
}
@ -1544,10 +1556,6 @@ html {
white-space: nowrap;
}
.break-words{
overflow-wrap: break-word;
}
.break-all{
word-break: break-all;
}
@ -1760,11 +1768,6 @@ html {
background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}
.bg-slate-600{
--tw-bg-opacity: 1;
background-color: rgb(71 85 105 / var(--tw-bg-opacity));
}
.bg-stone-100{
--tw-bg-opacity: 1;
background-color: rgb(245 245 244 / var(--tw-bg-opacity));
@ -1925,6 +1928,10 @@ html {
padding-top: 0.5rem;
}
.pt-6{
padding-top: 1.5rem;
}
.text-left{
text-align: left;
}
@ -2077,11 +2084,6 @@ html {
color: rgb(234 100 27 / var(--tw-text-opacity));
}
.text-red-500{
--tw-text-opacity: 1;
color: rgb(239 68 68 / var(--tw-text-opacity));
}
.text-red-600{
--tw-text-opacity: 1;
color: rgb(220 38 38 / var(--tw-text-opacity));
@ -2122,11 +2124,6 @@ html {
color: rgb(250 204 21 / var(--tw-text-opacity));
}
.text-yellow-600{
--tw-text-opacity: 1;
color: rgb(202 138 4 / var(--tw-text-opacity));
}
.text-yellow-700{
--tw-text-opacity: 1;
color: rgb(161 98 7 / var(--tw-text-opacity));
@ -2580,11 +2577,6 @@ html {
background-color: rgb(107 114 128 / 0.05);
}
.hover\:bg-psc-50:hover{
--tw-bg-opacity: 1;
background-color: rgb(238 180 175 / var(--tw-bg-opacity));
}
.hover\:bg-psc-500:hover{
--tw-bg-opacity: 1;
background-color: rgb(234 100 27 / var(--tw-bg-opacity));
@ -2599,19 +2591,14 @@ html {
background-color: rgb(172 48 37 / var(--tw-bg-opacity));
}
.hover\:bg-red-50:hover{
--tw-bg-opacity: 1;
background-color: rgb(254 242 242 / var(--tw-bg-opacity));
}
.hover\:bg-red-600:hover{
--tw-bg-opacity: 1;
background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}
.hover\:bg-slate-700:hover{
.hover\:bg-slate-200:hover{
--tw-bg-opacity: 1;
background-color: rgb(51 65 85 / var(--tw-bg-opacity));
background-color: rgb(226 232 240 / var(--tw-bg-opacity));
}
.hover\:bg-white:hover{
@ -2639,16 +2626,6 @@ html {
color: rgb(17 24 39 / var(--tw-text-opacity));
}
.hover\:text-psc-600:hover{
--tw-text-opacity: 1;
color: rgb(172 48 37 / var(--tw-text-opacity));
}
.hover\:text-red-600:hover{
--tw-text-opacity: 1;
color: rgb(220 38 38 / var(--tw-text-opacity));
}
.hover\:text-white:hover{
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
@ -2675,11 +2652,6 @@ html {
--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity));
}
.hover\:ring-slate-500:hover{
--tw-ring-opacity: 1;
--tw-ring-color: rgb(100 116 139 / var(--tw-ring-opacity));
}
.hover\:ring-offset-2:hover{
--tw-ring-offset-width: 2px;
}
@ -3102,6 +3074,10 @@ html {
grid-column: span 3 / span 3;
}
.sm\:col-span-4{
grid-column: span 4 / span 4;
}
.sm\:block{
display: block;
}
@ -3114,8 +3090,8 @@ html {
grid-template-columns: repeat(10, minmax(0, 1fr));
}
.sm\:grid-cols-6{
grid-template-columns: repeat(6, minmax(0, 1fr));
.sm\:grid-cols-12{
grid-template-columns: repeat(12, minmax(0, 1fr));
}
.sm\:grid-cols-8{
@ -3145,6 +3121,10 @@ html {
}
@media (min-width: 768px){
.md\:col-span-2{
grid-column: span 2 / span 2;
}
.md\:block{
display: block;
}
@ -3161,8 +3141,8 @@ html {
width: 16.666667%;
}
.md\:w-3\/12{
width: 25%;
.md\:w-48{
width: 12rem;
}
.md\:w-5\/12{
@ -3182,20 +3162,28 @@ html {
max-width: 50%;
}
.md\:max-w-sm{
max-width: 24rem;
.md\:grid-cols-2{
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md\:grid-cols-3{
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.md\:grid-cols-4{
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.md\:flex-row{
flex-direction: row;
}
.md\:items-end{
align-items: flex-end;
.md\:flex-col{
flex-direction: column;
}
.md\:justify-between{
justify-content: space-between;
.md\:overflow-x-visible{
overflow-x: visible;
}
.md\:px-6{

View File

@ -40,13 +40,13 @@ images.accountlogo1.scale.data.direction = "SCALE_BOTH"
;Produktgruppen > Bilder > Images 1
;Produktgruppenbilder Startseite, Produktgruppenseite /templates/article/_articlegrouplistitem.phtml
images.productgrouplist.scale.type = "scaleWidth"
images.productgrouplist.scale.data.width = "165"
images.productgrouplist.scale.data.width = "300"
images.productgrouplist.scale.data.direction = "SCALE_BOTH"
;Produkte > Bilder > Images 1
;Produktbilder Startseite, Produktgruppenseite /templates/article/_articlelistitem_produktuebersicht.phtml
images.productlist.scale.type = "scaleWidth"
images.productlist.scale.data.width = "165"
images.productlist.scale.data.width = "300"
images.productlist.scale.data.direction = "SCALE_BOTH"
;Produktgruppen > Bilder > Images 2

View File

@ -233,7 +233,7 @@ Daten Fehler;Data error
Daten Ok;Data Ok
Preflight wird ausgeführt;Preflight is executed
Preflightcheck Fehler;Preflight check error
Preflight Ok;Preflight Ok
Preflight Ok;Upload Ok
wartet auf Freigabe Einer;Waits for release One
wartet auf Freigabe Alle;Waits for release All
Freigabe ist erfolgt;Release is done

Can't render this file because it contains an unexpected character in line 16 and column 19.

View File

@ -1,4 +1,5 @@
<?php
/**
* /overview/index.phtml
*
@ -12,7 +13,7 @@
?>
<script>
$(document).ready(function(){
setCookie("categorie", '<?php echo $this->articlegroup->title; ?>', 31536000);
setCookie("categorie", '<?php echo $this->articlegroup->url; ?>', 31536000);
});
function DeleteCookie(name) {
document.cookie = name + '=; expires=Thu, 01-Jan-70 00:00:01 GMT;';
@ -45,37 +46,43 @@ function getCookie(cname) {
<?php
if($this->articlegroup && $this->articlegroup->title)
{
if($this->articlegroup->display_title)
{
if ($this->articlegroup && $this->articlegroup->title) {
if ($this->articlegroup->display_title) {
echo '<h1>' . $this->articlegroup->title . '</h1>';
if ($this->articlegroup->image != "")
{
echo '<div id="articlegroup_image_big">' . $this->image()->thumbnailImage($this->articlegroup->title, 'productgrouplist_overview_box1', $this->articlegroup->image_big) . '</div>';
if ($this->articlegroup->image != '') {
echo
'<div id="articlegroup_image_big">' .
$this->image()->thumbnailImage(
$this->articlegroup->title,
'productgrouplist_overview_box1',
$this->articlegroup->image_big,
) .
'</div>'
;
}
/** Vorschaubild-Gross ausgeben **/
if ($this->articlegroup->image != "")
{
echo '<div id="articlegroup_image_big">' . $this->image()->thumbnailImage($this->articlegroup->title, 'productgrouplist_overview_box2', $this->articlegroup->image) . '</div>';
if ($this->articlegroup->image != '') {
echo
'<div id="articlegroup_image_big">' .
$this->image()->thumbnailImage(
$this->articlegroup->title,
'productgrouplist_overview_box2',
$this->articlegroup->image,
) .
'</div>'
;
}
if ($this->articlegroup->text != "") {
echo '<p class="productgrouptxt">'.$this->articlegroup->getTextArt() . '</p>';
echo '<p class="productgrouptxt">'.$this->articlegroup->getTextFormat() . '</p>';
echo '<p class="productgrouptxt">'.$this->articlegroup->getEinleitung() . '</p>';
echo '<p class="productgrouptxt">'.$this->articlegroup->getDescription() . '</p>';
if ($this->articlegroup->text != '') {
echo '<p class="productgrouptxt">' . $this->articlegroup->getTextArt() . '</p>';
echo '<p class="productgrouptxt">' . $this->articlegroup->getTextFormat() . '</p>';
echo '<p class="productgrouptxt">' . $this->articlegroup->getEinleitung() . '</p>';
echo '<p class="productgrouptxt">' . $this->articlegroup->getDescription() . '</p>';
}
}
}; ?>
}
; ?>
</div>
@ -83,16 +90,23 @@ function getCookie(cname) {
<?php
if (count($this->articlegroupss) > 0):
?>
if (count($this->articlegroupss) > 0): ?>
<div class="col-xs-12" id="overview_index-article">
<div class="panel-body">
<?php foreach ($this->articlegroupss as $articlegroup): ?>
<?= $this->partial('article/_articlegrouplistitem.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'articlegroup' => $articlegroup, 'designPath' => $this->designPath, 'shop' => $this->shop)) ?>
<?= $this->partial('article/_articlegrouplistitem.phtml', array(
'basepath' => $this->basepath,
'admin' => $this->admin,
'mode' => $this->mode,
'user' => $this->user,
'currency' => $this->currency,
'articlegroup' => $articlegroup,
'designPath' => $this->designPath,
'shop' => $this->shop,
)) ?>
<?php endforeach; ?>
</div>
@ -105,27 +119,49 @@ function getCookie(cname) {
<?php
/**
* Produkte in dieser Gruppe
*/
if (count($this->articles) > 0 ):
?>
if (count($this->articles) > 0): ?>
<div class="col-xs-12" id="overview_index-article">
<?= $this->partial('doctrinepagination.phtml', array('paginator' => $this->paginator, 'sort' => $this->sort, 'dir' => $this->dir, 'articlegroup' => $this->articlegroup)) ?>
<?php if($this->articlegroup->title): ?>
<div class="panel-heading"><?php echo $this->translate('Produkte in'); ?> <?php echo $this->articlegroup->title ?></div>
<?= $this->partial('doctrinepagination.phtml', array(
'paginator' => $this->paginator,
'sort' => $this->sort,
'dir' => $this->dir,
'articlegroup' => $this->articlegroup,
)) ?>
<?php if ($this->articlegroup->title): ?>
<div class="panel-heading"><?php echo $this->translate('Produkte in'); ?> <?php echo
$this->articlegroup->title
?></div>
<?php endif; ?>
<div class="panel-body">
<?php foreach ($this->articles as $article): ?>
<?=
// $this->partial('article/_articlelistitem.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop))
$this->partial('article/_articlelistitem_produktuebersicht.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop));
$this->partial('article/_articlelistitem_produktuebersicht.phtml', array(
'basepath' => $this->basepath,
'admin' => $this->admin,
'mode' => $this->mode,
'user' => $this->user,
'currency' => $this->currency,
'article' => $article,
'designPath' => $this->designPath,
'shop' => $this->shop,
));
?>
<?php endforeach; ?>
</div>
<?= $this->partial('doctrinepagination.phtml', array('paginator' => $this->paginator, 'sort' => $this->sort, 'dir' => $this->dir, 'articlegroup' => $this->articlegroup)) ?>
<?= $this->partial('doctrinepagination.phtml', array(
'paginator' => $this->paginator,
'sort' => $this->sort,
'dir' => $this->dir,
'articlegroup' => $this->articlegroup,
)) ?>
</div>
<?php endif; ?>
@ -133,26 +169,37 @@ function getCookie(cname) {
<?php
/**
* und "private" / persönliche Artikel
*/
/*
echo 'Zend_Auth::getInstance()->hasIdentity()==true :' . Zend_Auth::getInstance()->hasIdentity()==true ;
echo '<hr>';
echo 'count($this->myarticles):' . count($this->myarticles);
echo '<hr>';
* echo 'Zend_Auth::getInstance()->hasIdentity()==true :' . Zend_Auth::getInstance()->hasIdentity()==true ;
* echo '<hr>';
* echo 'count($this->myarticles):' . count($this->myarticles);
* echo '<hr>';
*/
if(Zend_Auth::getInstance()->hasIdentity()==true AND $this->myarticles AND count($this->myarticles) > 0 ):
?>
if (Zend_Auth::getInstance()->hasIdentity() == true AND ($this->myarticles AND count($this->myarticles) > 0)): ?>
<div class="col-xs-12" id="overview_index-article">
<div class="panel panel-default">
<div class="panel-body">
<?php foreach ($this->myarticles as $article): ?>
<?=
// echo $this->partial('article/_articlelistitem.phtml', array('admin' => $this->admin, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'myarticle' => true, 'designPath' => $this->designPath, 'shop' => $this->shop))
$this->partial('article/_articlelistitem_produktuebersicht.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'myarticle' => true, 'designPath' => $this->designPath, 'shop' => $this->shop));
$this->partial('article/_articlelistitem_produktuebersicht.phtml', array(
'basepath' => $this->basepath,
'admin' => $this->admin,
'mode' => $this->mode,
'user' => $this->user,
'currency' => $this->currency,
'article' => $article,
'myarticle' => true,
'designPath' => $this->designPath,
'shop' => $this->shop,
));
?>
<?php endforeach; ?>
@ -166,5 +213,6 @@ function getCookie(cname) {
<div class="row">
<div class="col-xs-12" id="produktbeschreibung">
<?php echo '<p class="productgrouptxt">'.$this->articlegroup->text . '</p>'; ?>
<?php echo '<p class="productgrouptxt">' . $this->articlegroup->text . '</p>'; ?>
</div></div>

View File

@ -0,0 +1,75 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="col-sm-3">
<?php if(($basketArticle['a6_org_article'] == 0 || $basketArticle['a6_org_article'] == "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php elseif(($basketArticle['a6_org_article'] != 0 && $basketArticle['file'] != "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php else: ?>
<?= $articleObj->generatePreview($basketArticle['id'],$this->article['basketarticle']->getLayouterId()); ?>
<?php endif; ?>
</div>
<div class="col-sm-5"><span class="mobilelabel"><strong>Anzahl:</strong> </span>
<?php if(isset($count)): ?>
<strong><?php echo $count ?></strong>
<?php else: ?>
<strong>Anzahl: <?php echo $this->article['basketarticle']->getAuflage() ?></strong><br /><br />
<?php endif; ?>
<?php if(($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<strong><?php echo $basketArticle['title'] ?></strong><br />
<?php else: ?>
<strong><?php echo $this->layouter()->getTitle($this->article['basketarticle']->getLayouterId()); ?></strong><br />
<?php endif; ?>
<?php if(($this->article['options'])): ?>
<ul>
<?php foreach ($this->article['options'] as $key => $option): ?>
<?php
if(stripos($option, 'Auflage') === 0) {
$count = str_replace('Auflage: ', '', $option);
}else{
?>
<li><?php echo $option ?></li>
<?php } ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<ul>
<?php foreach ($filesOptions as $key => $option): ?>
<li><b><a href="/uploads/<?php echo $this->shop->uid ?>/article/<?php echo $option['value'] ?>" target="_blank"><?php echo $option['name'] ?></a></b></li>
<?php endforeach; ?>
</ul>
<?php if($this->shop->basketposfield1 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield1 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="ref_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getRef(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->shop->basketposfield2 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield2 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="kst_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getKst(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
Gewicht: <?php echo $this->article['basketarticle']->getWeight() ?>
</div>
<div class="col-sm-4" style="text-align: right;">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency($this->article['basketarticle']->getNetto()*$this->article['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;width: 45px;">(Netto)</label><br /><strong><?php echo $this->currency->toCurrency($this->article['basketarticle']->getBrutto()*$this->article['basketarticle']->getCount()) ?></strong> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$basketArticle["mwert"].'% MwSt.)')?></label></label><?php } ?>
<br/><a href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a>
</div>
<div class="clearfix"></div>

View File

@ -0,0 +1,76 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="col-sm-3">
<?php if(($basketArticle['a6_org_article'] == 0 || $basketArticle['a6_org_article'] == "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php elseif(($basketArticle['a6_org_article'] != 0 && $basketArticle['file'] != "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php else: ?>
<?= $articleObj->generatePreview($basketArticle['id'],$this->article['basketarticle']->getLayouterId()); ?>
<?php endif; ?>
</div>
<div class="col-sm-5"><span class="mobilelabel"><strong>Anzahl:</strong> </span>
<?php if(isset($count)): ?>
<strong><?php echo $count ?></strong>
<?php else: ?>
<strong>Anzahl: <?php echo $this->article['basketarticle']->getAuflage() ?></strong><br /><br />
<?php endif; ?>
<?php if(($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<strong><?php echo $basketArticle['title'] ?></strong><br />
<?php else: ?>
<strong><?php echo $this->layouter()->getTitle($this->article['basketarticle']->getLayouterId()); ?></strong><br />
<?php endif; ?>
<?php if(($this->article['options'])): ?>
<ul>
<?php foreach ($this->article['options'] as $key => $option): ?>
<?php
if(stripos($option, 'Auflage') === 0) {
$count = str_replace('Auflage: ', '', $option);
}else{
?>
<li><?php echo $option ?></li>
<?php } ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<ul>
<?php foreach ($filesOptions as $key => $option): ?>
<li><b><a href="/uploads/<?php echo $this->shop->uid ?>/article/<?php echo $option['value'] ?>" target="_blank"><?php echo $option['name'] ?></a></b></li>
<?php endforeach; ?>
</ul>
<?php if($this->shop->basketposfield1 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield1 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="ref_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getRef(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->shop->basketposfield2 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield2 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="kst_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getKst(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
Gewicht: <?php echo $this->article['basketarticle']->getWeight() ?>
</div>
<div class="col-sm-4" style="text-align: right;">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency($this->article['basketarticle']->getNetto()*$this->article['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;width: 45px;">(Netto)</label><br /><strong><?php echo $this->currency->toCurrency($this->article['basketarticle']->getBrutto()*$this->article['basketarticle']->getCount()) ?></strong> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$basketArticle["mwert"].'% MwSt.)')?></label></label><?php } ?>
<br/><a href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a>
</div>
<div class="clearfix"></div>

View File

@ -0,0 +1,75 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="col-sm-3">
<?php if(($basketArticle['a6_org_article'] == 0 || $basketArticle['a6_org_article'] == "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php elseif(($basketArticle['a6_org_article'] != 0 && $basketArticle['file'] != "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php else: ?>
<?= $articleObj->generatePreview($basketArticle['id'],$this->article['basketarticle']->getLayouterId()); ?>
<?php endif; ?>
</div>
<div class="col-sm-5"><span class="mobilelabel"><strong>Anzahl:</strong> </span>
<?php if(isset($count)): ?>
<strong><?php echo $count ?></strong>
<?php else: ?>
<strong>Anzahl: <?php echo $this->article['basketarticle']->getAuflage() ?></strong><br /><br />
<?php endif; ?>
<?php if(($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<strong><?php echo $basketArticle['title'] ?></strong><br />
<?php else: ?>
<strong><?php echo $this->layouter()->getTitle($this->article['basketarticle']->getLayouterId()); ?></strong><br />
<?php endif; ?>
<?php if(($this->article['options'])): ?>
<ul>
<?php foreach ($this->article['options'] as $key => $option): ?>
<?php
if(stripos($option, 'Auflage') === 0) {
$count = str_replace('Auflage: ', '', $option);
}else{
?>
<li><?php echo $option ?></li>
<?php } ?>
<?php endforeach; ?>
</ul>
<ul>
<?php foreach ($filesOptions as $key => $option): ?>
<li><b><a href="/uploads/<?php echo $this->shop->uid ?>/article/<?php echo $option['value'] ?>" target="_blank"><?php echo $option['name'] ?></a></b></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php if($this->shop->basketposfield1 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield1 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="ref_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getRef(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->shop->basketposfield2 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield2 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="kst_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getKst(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
Gewicht: <?php echo $this->article['basketarticle']->getWeight() ?>
</div>
<div class="col-sm-4" style="text-align: right;">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency($this->article['basketarticle']->getNetto()*$this->article['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;width: 45px;">(Netto)</label><br /><strong><?php echo $this->currency->toCurrency($this->article['basketarticle']->getBrutto()*$this->article['basketarticle']->getCount()) ?></strong> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$basketArticle["mwert"].'% MwSt.)')?></label></label><?php } ?>
<br/><a href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a>
</div>
<div class="clearfix"></div>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,245 @@
<script>
function loadFile(link, file, title) {
if(file == "pic") {
$('.thumbnail').html('<a href="' + link + '" data-lightbox="article_detail"><img id="layouter" src="' + link +'" class="articlelistimg " alt="' + title + '" title="' + title + '"></a>');
} else if(file == "youtube") {
$('.thumbnail').html('<iframe style="width:100%;" src="' + link + '" frameborder="0" allowfullscreen=""></iframe>');
}
}
</script>
<div class="row articletemplates-2">
<div class="col-xs-12">
<a class="btn-large pull-right" href="<?php echo $this->backurl ?>"><?php echo $this->translate('Zurück') ?></a>
<h1><?php echo $this->article->title ?></h1>
</div>
<div class="col-xs-12">
<ul class="nav nav-tabs" role="tablist">
<li class="active" role="presentation" ><a href="#details" data-toggle="tab"><?php echo $this->translate('Produkt') ?></a></li>
<?php if(!$this->designsettings()->get('einbetten')): ?><li><a href="#einbetten" data-toggle="tab"><?php echo $this->translate('Einbetten')?></a></li><?php endif; ?>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="details">
<div class="col-md-3">
<div class="thumbnail">
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file, true); ?>" data-lightbox="article_detail"><?php echo $this->image()->thumbnailImage($this->article->title, 'layouter', $this->article->file); ?></a>
<br/>
</div>
<?php if ($this->admin && $this->role->level >= 40): ?>
<a class="btn btn-inverse btn-large pop_over" data-trigger="hover" data-placement="bottom" data-content="Bearbeiten Sie die Eigenschaften des Produkts." data-original-title="Eigenschaften" onclick="javascript:window.open('/admin/article/edit?sid=<?= $this->article->shop_id ?>&uid=<?= $this->article->id ?>&type=<?= $this->article->typ ?>', 'contactWindow', 'width=800,height=600,top=10,left=10,directories=no,toolbar=no,location=no,menubar=no,scrollbars=no,status=no,resizable=yes,dependent=no');return false;" href="/myshop/editarticle/<?= $this->article->uuid ?>">
<span class="glyphicon glyphicon-folder-open"></span> &nbsp; <?php echo $this->translate('Eigenschaften bearbeiten')?>
</a>
<?php endif; ?>
</div>
<?php
/******************************************************************************************************************************************************************************
* Beginn SPalte 2
*/
?>
<div class="col-md-9">
<form method="post" action="">
<dl> <?php echo $this->form->auflage ?></dl> <?php echo $this->form->ajax_calc_id ?>
</form>
<?php
/**
* Produktkonfiguration und Summe:
* Verschachtelte Anzeige: daher: neue Row
*/
?>
<div class="row">
<div class="col-md-8" style="padding:0 2em">
<?php if ($this->article->lager_file_preview != ""): ?>
<a href="<?= $this->image()->thumbnailImage('test', 'test', $this->article->lager_file_preview, true, true) ?>"><?php $this->translate('Vorschau') ?></a>
<?php endif; ?>
<?= $this->article->info ?>
<p><br/></p>
</div>
<div class="col-md-4" style="padding-right: 0px;padding-left: 0px;">
<div class="well wellMobile2 andMobile" style="padding: 10px;">
<?php if(!$this->article->display_no_price): ?>
<?php if($this->article->stock): ?>
<label class="basketstocklabel"><?php echo $this->translate('Aktueller Bestand')?>: <?php echo $this->article->stock_count ?> <?php echo $this->translate('Stk.')?></label><br />
<?php endif; ?>
<?php if(!$this->article->display_no_price and !$this->designsettings()->get('display_no_price')): ?>
<h3><?php echo $this->translate('Summe')?></h3>
<br/>
<?php endif; ?>
<?php endif; ?>
<?php if($this->weight > 0): ?>
<p id="weight_display" class="text-info"><?php echo $this->translate('Gewicht')?>: <span><?php echo $this->weight ?></span>g</p>
<?php endif; ?>
<div class="wellforMobilePrice">
<?php if(!$this->article->display_no_price and !$this->designsettings()->get('display_no_price')): ?>
<table class="table">
<tbody>
<tr>
<td><?php echo $this->translate('Preis (netto)')?>:</td>
<td class="pull-right"><span
id="price_netto"><?= $this->currency->toCurrency($this->netto) ?></span>
</td>
</tr>
<tr>
<td><?= $this->translate('zzgl. ') ?> <?php echo $this->article->mwert; ?>% <?= $this->translate('MwSt.') ?></td>
<td class="pull-right"><span
id="price_steuer"><?= $this->currency->toCurrency(($this->brutto - $this->netto) * 1) ?></span>
</td>
</tr>
<tr>
<td><strong><?php echo $this->translate('Preis (brutto)')?>:</strong></td>
<td class="pull-right"><strong><span
id="price_brutto"><?= $this->currency->toCurrency($this->brutto) ?></span></strong>
</td>
</tr>
</tbody>
</table>
<?php endif; ?>
</div>
<div class="wellforMobileBTN">
<form action="/article/buy/?id=<?= $this->article->id ?>" target="_self" role="form" class="form-horizontal buy" id="buyform" method="POST" style="padding:8px">
<div class="form-group form-group-sm">
<label class="col-sm-3 control-label" for="count"><?php echo $this->translate('Anzahl')?>: </label>
<div class="col-sm-5 col-sm-offset-4">
<input type="text" value="1" class="form-control" name="count">
</div>
</div>
<div class="clearfix"></div>
<?= $this->formHidden('load', $this->load) ?>
<input type="submit" class="btn btn-success btn-large orderbtn"
value="<?= $this->translate('Buy') ?>">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php if(!$this->designsettings()->get('einbetten')): ?>
<div class="tab-pane" id="einbetten">
<h2><?php echo $this->translate('Einbetten') ?></h2>
<p><?php echo $this->translate('Teilen Sie dieses Produkt mit Anderen, bewerben Sie es im eigenen BLOG oder Ihrer Website') ?></p>
<div class="htmlSnippet">
<textarea onclick="this.focus(); this.select();" style="width:99%; height: 180px;">
<?php echo $this->escape($this->htmlsnippet) ?>
</textarea>
</div>
</div>
<?php endif; ?>
</div>
<div class="clearfix"></div>
<div class="col-xs-12">
<!-- vorschau-bilder -->
<?php if($this->article->file1 != "" || $this->article->file2 != "" || $this->article->file3 != "" || $this->article->file4 != "" || $this->article->file5 != ""): ?>
<div class="vorschau-bilder-klein clearfix">
<?php if ($this->article->file1 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file1, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file1, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file2 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file2, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file2, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file3 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file3, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file3, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file4 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file4, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file4, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file5 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file5, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file5, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file6 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file6, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file6, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
<?php if ($this->article->file7 != "") : ?>
<a href="<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file7, true); ?>" data-lightbox="article_detail">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file7, true); ?>" class="img-fluid">
</a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<hr />
<div class="col-md-4" style="padding-left: 0px;padding-right: 0px;">
<?php if($this->article->text_art != ""):?><?php echo $this->article->text_art ?><br/><?php endif; ?>
<?php if($this->article->text_format != ""):?><?php echo $this->article->text_format ?><br/><?php endif; ?>
<?php if($this->article->kostenstelle): ?>
<?= $this->translate('Kostenstelle') ?>: <?php echo $this->article->kostenstelle; ?><br />
<?php endif; ?>
<?php if($this->article->article_nr_extern): ?>
<?= $this->translate('Artikelnummer') ?>: <?php echo $this->article->article_nr_extern; ?><br />
<?php endif; ?>
<?php if($this->weight > 0): ?>
<p id="weight_display" class="text-info"><?= $this->translate('Gewicht') ?>: <span><?php echo $this->weight ?></span>g</p>
<?php endif; ?>
<?php if($this->article->article_nr_extern or $this->article->stock or $this->weight > 0): ?>
<?php endif; ?>
<p>
<br/><?php if($this->shop->install_id == 7):?><a target="_blank" href="/cms/zahlung-versand#lieferzeiten"><?php echo $this->translate('Die Lieferzeiten in der Übersicht')?></a><?php endif; ?>
</p>
</div>
<div class="col-md-5" style="padding-left: 0px;padding-right: 0px;">
<?php /*var_dump($this->article->getAblaufDatum(),"d.m.Y"); if($this->article->getAblaufDatum()) { echo "Ablaufdatum: " . date_format($this->article->getAblaufDatum(),"d.m.Y") . "<br />"; }*/
if($this->article->getZusatzDesigner() != "") {
echo $this->article->getZusatzDesigner() . "<br />";
}
if($this->article->getZusatzAbmessung() != "") {
echo $this->article->getZusatzAbmessung() . "<br />";
}
if($this->article->getZusatzShipping() != "") {
echo $this->article->getZusatzShipping() . "<br />";
}
if($this->article->getAnsprechPartner() != "") {
echo $this->article->getAnsprechPartner() . "<br />";
}
?>
</div>
<div class="clearfix"></div>
<div style="margin-bottom:50px;"><?php echo $this->article->getText() ?></div>
</div> <!-- // row articletemplates-2 -->

View File

@ -0,0 +1,42 @@
<?php
$basketArticle = $this->article['article'];
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="col-sm-4"><?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?></div>
<div class="col-sm-4"><?php echo $this->translate('Anzahl')?>: <?php echo$this->article['basketarticle']->getAuflage() ?><br /><br /><b><?php echo $basketArticle['title'] ?></b>
<br />
<?php if(is_array($this->article['options'])): ?>
<ul>
<?php foreach ($this->article['options'] as $key => $option): ?>
<li><?php echo $option ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<ul>
<?php foreach ($filesOptions as $key => $option): ?>
<li><b><a href="/uploads/<?php echo $this->shop->uid ?>/article/<?php echo $option['value'] ?>" target="_blank"><?php echo $option['name'] ?></a></b></li>
<?php endforeach; ?>
</ul>
</div>
<div class="col-sm-4" style="text-align: right;"> <?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency($this->article['basketarticle']->getNetto()*$this->article['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;width: 45px;"><?php echo $this->translate('(Netto)')?></label><br /><strong><?php echo $this->currency->toCurrency($this->article['basketarticle']->getBrutto()*$this->article['basketarticle']->getCount()) ?></strong> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$basketArticle["mwert"].'% MwSt.)')?></label></label><?php } ?><br />
<a href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a></p></div>
<div class="clearfix"></div>

View File

@ -0,0 +1,66 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions = $this->article['basketarticle']->getFiles();
?>
<div class="col-sm-4">
<?php if(($basketArticle['a6_org_article'] == 0 || $basketArticle['a6_org_article'] == "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php elseif(($basketArticle['a6_org_article'] != 0 && $basketArticle['file'] != "") && ($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?>
<?php else: ?>
<?= $articleObj->generatePreview($basketArticle['id'], $this->article['basketarticle']->getLayouterId()); ?>
<?php endif; ?>
</div>
<div class="col-sm-4"><span class="mobilelabel"><strong>Anzahl:</strong> </span>
<?php if(isset($count)): ?>
<strong><?php echo $count ?></strong>
<?php else: ?>
<strong>Anzahl: <?php echo $this->article['basketarticle']->getAuflage() ?></strong><br /><br />
<?php endif; ?>
<?php if(($this->article['basketarticle']->getLayouterId() == "" || $this->article['basketarticle']->getLayouterId() == false)): ?>
<strong><?php echo $basketArticle['title'] ?></strong><br />
<?php else: ?>
<strong><?php echo $this->layouter()->getTitle($this->article['basketarticle']->getLayouterId()); ?></strong><br />
<?php endif; ?>
<?php if(($this->article['options'])): ?>
<ul id="options_<?= $this->article['uuid'] ?>">
<li>Lade Optionen</li>
</ul>
<script>
$(function () {
loadDetails($("#options_<?= $this->article['uuid'] ?>"), '<?= json_encode(['test' => false, 'product' => $basketArticle['uuid'], 'values' => $this->article['basketarticle']->getOptions()]) ?>');
})
</script>
<ul>
<?php foreach ($filesOptions as $key => $option): ?>
<li><b><a href="/uploads/<?php echo $this->shop->uid ?>/article/<?php echo $option['value'] ?>" target="_blank"><?php echo $option['name'] ?></a></b></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php if($this->shop->basketposfield1 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield1 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="ref_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getRef(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->shop->basketposfield2 != "" && !$this->finish): ?><?php echo $this->shop->basketposfield2 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="span3" style="margin-bottom: 0;" name="kst_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getKst(); ?>"/>
<input type="submit" class="btn vouchersubmit" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->article['basketarticle']->getWeight()): ?>Gewicht: <?php echo number_format($this->article['basketarticle']->getWeight(),0,",",".") ?> g<?php endif; ?>
</div>
<div class="col-sm-4" style="text-align: right;">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency($this->article['basketarticle']->getNetto() * $this->article['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;width: 45px;">(Netto)</label><br /><strong><?php echo $this->currency->toCurrency($this->article['basketarticle']->getBrutto() * $this->article['basketarticle']->getCount()) ?></strong> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$basketArticle["mwert"].'% MwSt.)')?></label></label><?php } ?>
<br/><a href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a>
</div>
<div class="clearfix"></div>

View File

@ -0,0 +1,25 @@
[approval]
; general form metainformation
user.approval.action = "/article/approval"
user.approval.method = "post"
; approval element
user.approval.elements.type.type = "radio"
user.approval.elements.type.options.label = "Freigabe?"
user.approval.elements.type.options.required = true
user.approval.elements.type.options.multiOptions.2 = "freigeben"
user.approval.elements.type.options.multiOptions.1 = "Nicht freigeben"
; approval element
user.approval.elements.text.type = "textarea"
user.approval.elements.text.options.label = "Text"
user.approval.elements.text.options.rows = 20
user.approval.elements.text.options.cols = 20
user.approval.elements.text.options.style = "width: 470px;height: 100px;"
; submit element
user.approval.elements.submit.type = "submit"
user.approval.elements.submit.options.class = "submit"
user.approval.elements.submit.options.label = "Senden"

View File

@ -0,0 +1,12 @@
elements.b2bshop.type = "checkbox"
elements.b2bshop.options.label = "B2B Shop ja/nein"
elements.b2bshop.options.required = false
elements.display_no_language.type = "checkbox"
elements.display_no_language.options.label = "Sprache nicht benutzen?"
elements.display_no_language.options.required = false
elements.einbetten.type = "checkbox"
elements.einbetten.options.label = "Einbetten nicht anzeigen?"
elements.einbetten.options.required = false

View File

@ -0,0 +1,177 @@
[production]
mode = "imagick"
languageDefault = "de_DE"
;PreflightCheck Preview
images.articlelist.scale.type = "scaleWidth"
images.articlelist.scale.data.width = "165"
images.articlelist.scale.data.direction = "SCALE_BOTH"
;Shop Einstellungen > Allgemeines > Allgemein > Logo1
;Startseite Topbannerlogo /layout/default.phtml
images.logo1.scale.type = "scaleWidth"
images.logo1.scale.data.width = "1140"
images.logo1.scale.data.height = ""
images.logo1.scale.data.direction = "SCALE_BOTH"
;Shop Einstellungen > Allgemeines > Allgemein > Logo2
;Startseite Topbannerlogo 2 /layout/default.phtml
images.logo2.scale.type = "scaleWidth"
images.logo2.scale.data.width = "1140"
images.logo2.scale.data.height = ""
images.logo2.scale.data.direction = "SCALE_BOTH"
;Shop Kunde > Info & Branding > Bild
;Startseite Kundenbanner /layout/default.phtml
images.userlogo1.scale.type = "scaleWidth"
images.userlogo1.scale.data.width = "1140"
images.userlogo1.scale.data.height = ""
images.userlogo1.scale.data.direction = "SCALE_BOTH"
;Shop Firmen > Info & Branding > Bild
;Startseite Accountbanner /layout/default.phtml
images.accountlogo1.scale.type = "scaleWidth"
images.accountlogo1.scale.data.width = "1140"
images.accountlogo1.scale.data.height = ""
images.accountlogo1.scale.data.direction = "SCALE_BOTH"
;Produktgruppen > Bilder > Images 1
;Produktgruppenbilder Startseite, Produktgruppenseite /templates/article/_articlegrouplistitem.phtml
images.productgrouplist.scale.type = "scaleWidth"
images.productgrouplist.scale.data.width = "165"
images.productgrouplist.scale.data.direction = "SCALE_BOTH"
;Produkte > Bilder > Images 1
;Produktbilder Startseite, Produktgruppenseite /templates/article/_articlelistitem_produktuebersicht.phtml
images.productlist.scale.type = "scaleWidth"
images.productlist.scale.data.width = "165"
images.productlist.scale.data.direction = "SCALE_BOTH"
;Produktgruppen > Bilder > Images 2
;Produktgruppenseite overview/index.phtml
images.productgrouplist_overview_box1.scale.type = "scaleWidth"
images.productgrouplist_overview_box1.scale.data.width = "1140"
images.productgrouplist_overview_box1.scale.data.height = ""
images.productgrouplist_overview_box1.scale.data.direction = "SCALE_BOTH"
;Produktgruppen > Bilder > Images 1
;Produktgruppenseite overview/index.phtml
images.productgrouplist_overview_box2.scale.type = "scaleWidth"
images.productgrouplist_overview_box2.scale.data.width = "200"
images.productgrouplist_overview_box2.scale.data.height = ""
images.productgrouplist_overview_box2.scale.data.direction = "SCALE_BOTH"
;Produkte > Bilder
;Produktbilder Detailansicht Kalkulationsprodukte /articletemplates/scripts/6.phtml
images.layouter.scale.type = "scaleWidth"
images.layouter.scale.data.width = "298"
images.layouter.scale.data.direction = "SCALE_BOTH"
images.motivelistoverview.scale.type = "scaleWidth"
images.motivelistoverview.scale.data.width = "240"
images.motivelistoverview.scale.data.direction = "SCALE_DOWN"
images.motivelistoverview.render_copyright = "1"
images.motivelistoverviewbig.scale.type = "scaleWidth"
images.motivelistoverviewbig.scale.data.width = "500"
images.motivelistoverviewbig.scale.data.height = "300"
images.motivelistoverviewbig.scale.data.direction = "SCALE_DOWN"
images.motivelistoverviewbig.render_copyright = "1"
images.motivuploadlist.scale.type = "scaleWidth"
images.motivuploadlist.scale.data.width = "250"
images.motivuploadlist.scale.data.direction = "SCALE_BOTH"
images.articlelist_box.scale.type = "scaleWidth"
images.articlelist_box.scale.data.width = "150"
images.articlelist_box.scale.data.direction = "SCALE_BOTH"
images.top_modul_list.scale.type = "scaleWidth"
images.top_modul_list.scale.data.width = "94"
images.top_modul_list.scale.data.height = "94"
images.top_modul_list.scale.data.direction = "SCALE_BOTH"
images.motivelist.scale.type = "scaleWidth"
images.motivelist.scale.data.width = "170"
images.motivelist.scale.data.height = "131"
images.motivelist.scale.data.direction = "SCALE_BOTH"
images.motivelist.render_copyright = "1"
images.sliderbg.scale.type = "scaleWidth"
images.sliderbg.scale.data.width = "700"
images.sliderbg.scale.data.direction = "SCALE_BOTH"
;Sliderbilder
images.sliderbgbig.scale.type = "scaleWidth"
images.sliderbgbig.scale.data.width = "1170"
images.sliderbgbig.scale.data.direction = "SCALE_BOTH"
images.stepcrop.scale.type = "scaleWidth"
images.stepcrop.scale.data.width = "520"
images.stepcrop.scale.data.direction = "SCALE_BOTH"
images.shoplist.scale.type = "scaleWidth"
images.shoplist.scale.data.width = "160"
images.shoplist.scale.data.height = "131"
images.shoplist.scale.data.direction = "SCALE_BOTH"
images.articletop.scale.type = "scaleWidth"
images.articletop.scale.data.width = "20"
images.articletop.scale.data.direction = "SCALE_BOTH"
images.admin.scale.type = "scaleWidth"
images.admin.scale.data.width = "90"
images.admin.scale.data.direction = "SCALE_BOTH"
images.contact.scale.type = "scaleWidth"
images.contact.scale.data.height = "106"
images.contact.scale.data.direction = "SCALE_BOTH"
images.account.scale.type = "scaleWidth"
images.account.scale.data.height = "106"
images.account.scale.data.direction = "SCALE_BOTH"
images.overview.scale.type = "scaleWidth"
images.overview.scale.data.width = "240"
images.overview.scale.data.direction = "SCALE_DOWN"
images.productbarimage.scale.type = "scaleWidth"
images.productbarimage.scale.data.width = "170"
images.productbarimage.scale.data.height = "110"
images.productbarimage.scale.data.direction = "SCALE_BOTH"
images.articlesingle.scale.type = "scaleWidth"
images.articlesingle.scale.data.width = "350"
images.articlesingle.scale.data.direction = "SCALE_BOTH"
images.waren.scale.type = "scaleWidth"
images.waren.scale.data.width = "100"
images.waren.scale.data.direction = "SCALE_BOTH"
images.designer.scale.type = "scaleWidth"
images.designer.scale.data.width = "300"
images.designer.scale.data.direction = "SCALE_BOTH"
images.little.scale.type = "scaleWidth"
images.little.scale.data.width = "50"
images.little.scale.data.direction = "SCALE_BOTH"
images.articlesinglegreater.scale.type = "scaleWidth"
images.articlesinglegreater.scale.data.width = "500"
images.articlesinglegreater.scale.data.direction = "SCALE_BOTH"
[development : production]
[testing : production]

View File

@ -0,0 +1,29 @@
[violation]
violation.action = "/index/violation"
violation.method = "post"
violation.class = "niceform"
violation.elements.what.type = "select"
violation.elements.what.options.label = "Vorauswahl"
violation.elements.what.options.required = true
violation.elements.name.type = "text"
violation.elements.name.options.label = "Name"
violation.elements.name.options.required = true
violation.elements.email.type = "text"
violation.elements.email.options.label = "EMail"
violation.elements.email.options.required = true
violation.elements.text.type = "textarea"
violation.elements.text.options.label = "Text"
violation.elements.text.options.required = true
violation.elements.text.options.rows = 6
violation.elements.text.options.cols = 39
violation.elements.submit.type = "submit"
violation.elements.submit.options.class = "submit"
violation.elements.submit.options.label = "Senden"

View File

@ -0,0 +1,3 @@
title = "Shopdesign"
version = "1.0"
author = "Primabu Presets"

View File

@ -0,0 +1,133 @@
[register]
global.class ="form-horizontal"
; general form metainformation
user.login.action = "/user/register"
user.login.method = "post"
; username element
user.login.legend = "Allgemeines"
user.login.prefixPath.element.prefix = "TP_Form_Element"
user.login.prefixPath.element.path = "TP/Form/Element"
; email element
user.login.elements.self_email.type = "Helptext"
user.login.elements.self_email.options.label = "Email*"
user.login.elements.self_email.options.helptext = "Die Emailadresse dient dem Login. Der Anwender erhält automatisch eine Einladung an diese Emailadresse.."
user.login.elements.self_email.options.required = true
user.login.elements.self_email.options.validators.email.validator = "EmailAddress"
user.login.elements.self_email.options.validators.Db_RecordExists.validator = "Db_NoRecordExistsDoctrine"
user.login.elements.self_email.options.validators.Db_RecordExists.options.table = "Contact"
user.login.elements.self_email.options.validators.Db_RecordExists.options.field = "self_email"
; firstname element
user.rech.legend = "Anschrift"
user.rech.elements.self_anrede.type = "select"
user.rech.elements.self_anrede.options.label = "Anrede"
user.rech.elements.self_anrede.options.required = false
user.rech.elements.self_anrede.options.multiOptions.1 = "Herr"
user.rech.elements.self_anrede.options.multiOptions.2 = "Frau"
user.rech.elements.self_anrede.options.multiOptions.3 = "Firma"
user.rech.elements.self_anrede.options.multiOptions.4 = "Herr Dr."
user.rech.elements.self_anrede.options.multiOptions.5 = "Frau Dr."
user.rech.elements.self_anrede.options.multiOptions.6 = "Herr Prof."
user.rech.elements.self_anrede.options.multiOptions.7 = "Frau Prof."
user.rech.elements.self_anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.rech.elements.self_anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.rech.elements.self_firstname.type = "text"
user.rech.elements.self_firstname.options.label = "Firstname*"
user.rech.elements.self_firstname.options.required = true
; lastname element
user.rech.elements.self_lastname.type = "text"
user.rech.elements.self_lastname.options.label = "Lastname*"
user.rech.elements.self_lastname.options.required = true
; lastname element
user.rech.elements.self_department.type = "text"
user.rech.elements.self_department.options.label = "Company"
; street element
user.rech.elements.self_street.type = "text"
user.rech.elements.self_street.options.label = "Street*"
user.rech.elements.self_street.options.required = true
; housenumber element
user.rech.elements.self_house_number.type = "text"
user.rech.elements.self_house_number.options.label = "Housenumber*"
user.rech.elements.self_house_number.options.required = true
; zip element
user.rech.elements.self_zip.type = "text"
user.rech.elements.self_zip.options.label = "Zip*"
user.rech.elements.self_zip.options.required = true
; city element
user.rech.elements.self_city.type = "text"
user.rech.elements.self_city.options.label = "City*"
user.rech.elements.self_city.options.required = true
; tel element
user.rech.elements.self_phone.type = "Mobile"
user.rech.elements.self_phone.options.label = "LV/Vor./Tel/Durch."
; handy element
user.rech.elements.self_mobile.type = "Mobile"
user.rech.elements.self_mobile.options.label = "LV/Vor./Handy"
; fax element
user.rech.elements.self_fax.type = "Mobile"
user.rech.elements.self_fax.options.label = "LV/Vor./Fax/Durch."
; firstname element
user.liefer.legend = "Lieferanschrift"
user.liefer.elements.firstname.type = "text"
user.liefer.elements.firstname.options.label = "Firstname*"
user.liefer.elements.firstname.options.required = true
; lastname element
user.liefer.elements.lastname.type = "text"
user.liefer.elements.lastname.options.label = "Lastname*"
user.liefer.elements.lastname.options.required = true
; lastname element
user.liefer.elements.company.type = "text"
user.liefer.elements.company.options.label = "Firma"
; street element
user.liefer.elements.street.type = "text"
user.liefer.elements.street.options.label = "Street*"
user.liefer.elements.street.options.required = true
; housenumber element
user.liefer.elements.house_number.type = "text"
user.liefer.elements.house_number.options.label = "Housenumber*"
user.liefer.elements.house_number.options.required = true
; zip element
user.liefer.elements.zip.type = "text"
user.liefer.elements.zip.options.label = "Zip*"
user.liefer.elements.zip.options.required = true
; city element
user.liefer.elements.city.type = "text"
user.liefer.elements.city.options.label = "City*"
user.liefer.elements.city.options.required = true
; tel element
user.liefer.elements.phone.type = "text"
user.liefer.elements.phone.options.label = "Tel"
; submit element
user.submit.elements.submit.type = "submit"
user.submit.elements.submit.options.name = "submit"
user.submit.elements.submit.options.label = "Register"
user.liefersubmit.elements.submit.type = "submit"
user.liefersubmit.elements.submit.options.class = "green"
user.liefersubmit.elements.submit.options.name = "st"
user.liefersubmit.elements.submit.options.label = "Use Delivery"

View File

@ -0,0 +1,145 @@
[register]
global.class ="form-horizontal"
; general form metainformation
user.login.action = "/user/register"
user.login.method = "post"
; username element
user.login.legend = "Allgemeines"
user.login.prefixPath.element.prefix = "TP_Form_Element"
user.login.prefixPath.element.path = "TP/Form/Element"
; email element
user.login.elements.self_email.type = "Helptext"
user.login.elements.self_email.options.label = "Email*"
user.login.elements.self_email.options.helptext = "Die Emailadresse dient dem Login. Der Anwender erhält automatisch eine Einladung an diese Emailadresse.."
user.login.elements.self_email.options.required = true
user.login.elements.self_email.options.validators.email.validator = "EmailAddress"
user.login.elements.self_email.options.validators.Db_RecordExists.validator = "Db_NoRecordExistsDoctrine"
user.login.elements.self_email.options.validators.Db_RecordExists.options.table = "Contact"
user.login.elements.self_email.options.validators.Db_RecordExists.options.field = "self_email"
; firstname element
user.rech.legend = "Anschrift"
user.rech.elements.self_anrede.type = "select"
user.rech.elements.self_anrede.options.label = "Anrede"
user.rech.elements.self_anrede.options.required = false
user.rech.elements.self_anrede.options.multiOptions.1 = "Herr"
user.rech.elements.self_anrede.options.multiOptions.2 = "Frau"
user.rech.elements.self_anrede.options.multiOptions.3 = "Firma"
user.rech.elements.self_anrede.options.multiOptions.4 = "Herr Dr."
user.rech.elements.self_anrede.options.multiOptions.5 = "Frau Dr."
user.rech.elements.self_anrede.options.multiOptions.6 = "Herr Prof."
user.rech.elements.self_anrede.options.multiOptions.7 = "Frau Prof."
user.rech.elements.self_anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.rech.elements.self_anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.rech.elements.self_firstname.type = "text"
user.rech.elements.self_firstname.options.label = "Firstname*"
user.rech.elements.self_firstname.options.required = true
; lastname element
user.rech.elements.self_lastname.type = "text"
user.rech.elements.self_lastname.options.label = "Lastname*"
user.rech.elements.self_lastname.options.required = true
; lastname element
user.rech.elements.self_department.type = "text"
user.rech.elements.self_department.options.label = "Company"
; street element
user.rech.elements.self_street.type = "text"
user.rech.elements.self_street.options.label = "Street*"
user.rech.elements.self_street.options.required = true
; housenumber element
user.rech.elements.self_house_number.type = "text"
user.rech.elements.self_house_number.options.label = "Housenumber*"
user.rech.elements.self_house_number.options.required = true
; zip element
user.rech.elements.self_zip.type = "text"
user.rech.elements.self_zip.options.label = "Zip*"
user.rech.elements.self_zip.options.required = true
; city element
user.rech.elements.self_city.type = "text"
user.rech.elements.self_city.options.label = "City*"
user.rech.elements.self_city.options.required = true
; tel element
user.rech.elements.self_phone.type = "Mobile"
user.rech.elements.self_phone.options.label = "LV/Vor./Tel/Durch."
; handy element
user.rech.elements.self_mobile.type = "Mobile"
user.rech.elements.self_mobile.options.label = "LV/Vor./Handy"
; fax element
user.rech.elements.self_fax.type = "Mobile"
user.rech.elements.self_fax.options.label = "LV/Vor./Fax/Durch."
user.addr2.legend = "Anschrift 2"
user.addr2.elements.department_2.type = "text"
user.addr2.elements.department_2.options.label = "Company"
user.addr2.elements.street_2.type = "text"
user.addr2.elements.street_2.options.label = "Straße"
user.addr2.elements.street_2.options.required = false
user.addr2.elements.house_number_2.type = "text"
user.addr2.elements.house_number_2.options.label = "Hausnummer"
user.addr2.elements.house_number_2.options.required = false
user.addr2.elements.zip_2.type = "text"
user.addr2.elements.zip_2.options.label = "PLZ"
user.addr2.elements.zip_2.options.required = false
user.addr2.elements.city_2.type = "text"
user.addr2.elements.city_2.options.label = "Ort"
user.addr2.elements.city_2.options.required = false
user.addr2.elements.phone_2.type = "Mobile"
user.addr2.elements.phone_2.options.label = "LV/Vor./Tel/Durch."
user.addr2.elements.mobile_2.type = "Mobile"
user.addr2.elements.mobile_2.options.label = "LV/Vor./Handy"
user.addr2.elements.fax_2.type = "Mobile"
user.addr2.elements.fax_2.options.label = "LV/Vor./Fax/Durch."
user.addr2.elements.internet_2.type = "text"
user.addr2.elements.internet_2.options.label = "Web"
user.addr2.elements.internet_2.options.required = false
user.addr3.legend = "Anschrift 3"
user.addr3.elements.department_3.type = "text"
user.addr3.elements.department_3.options.label = "Company"
user.addr3.elements.street_3.type = "text"
user.addr3.elements.street_3.options.label = "Straße"
user.addr3.elements.street_3.options.required = false
user.addr3.elements.house_number_3.type = "text"
user.addr3.elements.house_number_3.options.label = "Hausnummer"
user.addr3.elements.house_number_3.options.required = false
user.addr3.elements.zip_3.type = "text"
user.addr3.elements.zip_3.options.label = "PLZ"
user.addr3.elements.zip_3.options.required = false
user.addr3.elements.city_3.type = "text"
user.addr3.elements.city_3.options.label = "Ort"
user.addr3.elements.city_3.options.required = false
user.addr3.elements.phone_3.type = "Mobile"
user.addr3.elements.phone_3.options.label = "LV/Vor./Tel/Durch."
user.addr3.elements.mobile_3.type = "Mobile"
user.addr3.elements.mobile_3.options.label = "LV/Vor./Handy"
user.addr3.elements.fax_3.type = "Mobile"
user.addr3.elements.fax_3.options.label = "LV/Vor./Fax/Durch."
user.addr3.elements.internet_3.type = "text"
user.addr3.elements.internet_3.options.label = "Web"
user.addr3.elements.internet_3.options.required = false
; submit element
user.submit.elements.submit.type = "submit"
user.submit.elements.submit.options.name = "submit"
user.submit.elements.submit.options.label = "Register"
user.liefersubmit.elements.submit.type = "submit"
user.liefersubmit.elements.submit.options.class = "green"
user.liefersubmit.elements.submit.options.name = "st"
user.liefersubmit.elements.submit.options.label = "Use Delivery"

View File

@ -0,0 +1,115 @@
[add]
global.class ="form-horizontal"
; firstname element
user.id ="register"
user.class ="form-horizontal"
user.legend = "Lieferanschrift"
user.elements.anrede.type = "select"
user.elements.anrede.options.label = "Anrede"
user.elements.anrede.options.required = false
user.elements.anrede.options.multiOptions.1 = "Herr"
user.elements.anrede.options.multiOptions.2 = "Frau"
user.elements.anrede.options.multiOptions.3 = "Firma"
user.elements.anrede.options.multiOptions.4 = "Herr Dr."
user.elements.anrede.options.multiOptions.5 = "Frau Dr."
user.elements.anrede.options.multiOptions.6 = "Herr Prof."
user.elements.anrede.options.multiOptions.7 = "Frau Prof."
user.elements.anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.elements.anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.elements.company.type = "text"
user.elements.company.options.label = "Firma"
user.elements.company2.type = "text"
user.elements.company2.options.label = "Firma Zusatz"
user.elements.firstname.type = "text"
user.elements.firstname.options.label = "Firstname*"
user.elements.firstname.options.required = true
user.elements.firstname.options.attribs.required = true
; lastname element
user.elements.lastname.type = "text"
user.elements.lastname.options.label = "Lastname*"
user.elements.lastname.options.required = true
user.elements.lastname.options.attribs.required = true
; lastname element
user.elements.company.type = "text"
user.elements.company.options.label = "Firma"
; street element
user.elements.street.type = "text"
user.elements.street.options.label = "Street*"
user.elements.street.options.required = true
user.elements.street.options.attribs.required = true
; housenumber element
user.elements.house_number.type = "text"
user.elements.house_number.options.label = "Housenumber*"
user.elements.house_number.options.required = true
user.elements.house_number.options.attribs.required = true
; zip element
user.elements.zip.type = "text"
user.elements.zip.options.label = "Zip*"
user.elements.zip.options.required = true
user.elements.zip.options.attribs.required = true
; city element
user.elements.city.type = "text"
user.elements.city.options.label = "City*"
user.elements.city.options.required = true
user.elements.city.options.attribs.required = true
; city element
user.elements.country.type = "select"
user.elements.country.options.label = "Land*"
user.elements.country.options.required = true
user.elements.country.options.attribs.required = true
; tel element
user.elements.phone.type = "text"
user.elements.phone.options.label = "Telefon"
; mobile phone
user.elements.fax.type = "text"
user.elements.fax.options.label = "Fax"
; mobile phone
user.elements.mobil_phone.type = "text"
user.elements.mobil_phone.options.label = "Handy"
; email phone
user.elements.email.type = "text"
user.elements.email.options.label = "E-Mail"
user.elements.homepage.type = "text"
user.elements.homepage.options.label = "Homepage"
; ustid
user.elements.ustid.type = "text"
user.elements.ustid.options.label = "USt-IdNr."
; what element
user.elements.type.type = "MultiCheckbox"
user.elements.type.options.label = "Anlegen als"
user.elements.type.options.multiOptions.1 = "Rechnungsadresse"
user.elements.type.options.multiOptions.2 = "Lieferadresse"
user.elements.type.options.multiOptions.3 = "Absendeadresse"
; submit element
user.elements.submit.type = "submit"
user.elements.submit.options.class = "btn btn-success btn-large"
user.elements.submit.options.label = "Anlegen"
user.elements.update.type = "submit"
user.elements.update.options.class = "btn btn-success btn-large"
user.elements.update.options.label = "Speichern"
user.elements.del.type = "submit"
user.elements.del.options.class = "btn btn-success btn-large"
user.elements.del.options.label = "Löschen"

View File

@ -0,0 +1,22 @@
[login]
; general form metainformation
user.login.action = "/user/layouterlogin"
user.login.method = "post"
; username element
user.login.elements.name.type = "text"
user.login.elements.name.options.label = "Username"
user.login.elements.name.options.required = true
user.login.elements.name.options.validators.strlen.validator = "StringLength"
user.login.elements.name.options.validators.strlen.options.min = "1"
user.login.elements.name.options.validators.strlen.options.max = "255"
; password element
user.login.elements.password.type = "password"
user.login.elements.password.options.label = "Password"
user.login.elements.password.options.required = true
; submit element
user.login.elements.submit.type = "submit"
user.login.elements.submit.options.class = "submit"
user.login.elements.submit.options.label = "Login"

View File

@ -0,0 +1,25 @@
[login]
; general form metainformation
global.class ="form-horizontal"
user.login.method = "post"
; username element
user.login.elements.name.type = "text"
user.login.elements.name.options.label = "E-Mail"
user.login.elements.name.options.required = true
user.login.elements.name.options.validators.strlen.validator = "StringLength"
user.login.elements.name.options.validators.strlen.options.min = "1"
user.login.elements.name.options.validators.strlen.options.max = "255"
user.login.elements.name.options.class = "required"
; password element
user.login.elements.password.type = "password"
user.login.elements.password.options.label = "Password"
user.login.elements.password.options.required = true
user.login.elements.password.options.class = "required"
; submit element
user.login.elements.submit.type = "submit"
user.login.elements.submit.options.label = "Login"

View File

@ -0,0 +1,73 @@
[mydata]
; general form metainformation
global.class ="form-horizontal"
user.login.action = "/user/mydata"
user.login.method = "post"
; firstname element
user.elements.self_anrede.type = "select"
user.elements.self_anrede.options.label = "Anrede"
user.elements.self_anrede.options.required = false
user.elements.self_anrede.options.multiOptions.1 = "Herr"
user.elements.self_anrede.options.multiOptions.2 = "Frau"
user.elements.self_anrede.options.multiOptions.3 = "Firma"
user.elements.self_anrede.options.multiOptions.4 = "Herr Dr."
user.elements.self_anrede.options.multiOptions.5 = "Frau Dr."
user.elements.self_anrede.options.multiOptions.6 = "Herr Prof."
user.elements.self_anrede.options.multiOptions.7 = "Frau Prof."
user.elements.self_anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.elements.self_anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.elements.self_firstname.type = "text"
user.elements.self_firstname.options.label = "Firstname*"
user.elements.self_firstname.options.required = true
; lastname element
user.elements.self_lastname.type = "text"
user.elements.self_lastname.options.label = "Lastname*"
user.elements.self_lastname.options.required = true
; lastname element
user.elements.self_department.type = "text"
user.elements.self_department.options.label = "Firma"
; street element
user.elements.self_street.type = "text"
user.elements.self_street.options.label = "Street*"
user.elements.self_street.options.required = true
; housenumber element
user.elements.self_house_number.type = "text"
user.elements.self_house_number.options.label = "Housenumber*"
user.elements.self_house_number.options.required = true
; zip element
user.elements.self_zip.type = "text"
user.elements.self_zip.options.label = "Zip*"
user.elements.self_zip.options.required = true
; city element
user.elements.self_city.type = "text"
user.elements.self_city.options.label = "City*"
user.elements.self_city.options.required = true
user.elements.self_country.type = "select"
user.elements.self_country.options.label = "Land*"
user.elements.self_country.options.required = true
; tel element
user.elements.self_phone.type = "text"
user.elements.self_phone.options.label = "Tel*"
; handy element
user.elements.self_phone_mobile.type = "text"
user.elements.self_phone_mobile.options.label = "Handy"
; fax element
user.elements.self_fax_phone.type = "text"
user.elements.self_fax_phone.options.label = "Fax"
; submit element
user.elements.submit.type = "submit"
user.elements.submit.options.class = "submit"
user.elements.submit.options.label = "Aktualisieren"

View File

@ -0,0 +1,64 @@
[register]
; general form metainformation
user.register.action = "/user/registeraccount"
user.register.method = "post"
; username element
user.register.elements.name.type = "text"
user.register.elements.name.options.label = "Username"
user.register.elements.name.options.required = true
; password element
user.register.elements.password.type = "password"
user.register.elements.password.options.label = "Password"
user.register.elements.password.options.required = true
; company element
user.register.elements.company.type = "text"
user.register.elements.company.options.label = "Company"
user.register.elements.company.options.required = true
; firstname element
user.register.elements.self_firstname.type = "text"
user.register.elements.self_firstname.options.label = "Firstname"
user.register.elements.self_firstname.options.required = true
; lastname element
user.register.elements.self_lastname.type = "text"
user.register.elements.self_lastname.options.label = "Lastname"
user.register.elements.self_lastname.options.required = true
; street element
user.register.elements.self_street.type = "text"
user.register.elements.self_street.options.label = "Street"
user.register.elements.self_street.options.required = true
; housenumber element
user.register.elements.self_house_number.type = "text"
user.register.elements.self_house_number.options.label = "Housenumber"
user.register.elements.self_house_number.options.required = true
; zip element
user.register.elements.self_zip.type = "text"
user.register.elements.self_zip.options.label = "Zip"
user.register.elements.self_zip.options.required = true
; city element
user.register.elements.self_city.type = "text"
user.register.elements.self_city.options.label = "City"
user.register.elements.self_city.options.required = true
; tel element
user.register.elements.self_phone.type = "text"
user.register.elements.self_phone.options.label = "Tel"
user.register.elements.self_phone.options.required = true
; email element
user.register.elements.self_email.type = "text"
user.register.elements.self_email.options.label = "Email"
user.register.elements.self_email.options.required = true
; submit element
user.register.elements.submit.type = "submit"
user.register.elements.submit.options.class = "submit"
user.register.elements.submit.options.label = "Register"

View File

@ -0,0 +1,156 @@
[register]
global.class ="form-horizontal"
; general form metainformation
user.login.action = "/user/register"
user.login.method = "post"
; username element
user.login.legend = "Logindaten"
user.login.prefixPath.element.prefix = "TP_Form_Element"
user.login.prefixPath.element.path = "TP/Form/Element"
; email element
user.login.elements.self_email.type = "Helptext"
user.login.elements.self_email.options.label = "Email*"
user.login.elements.self_email.options.helptext = "Die Emailadresse dient dem Login und dem Kontakt zur Nutzung des Marktplates (z.B. Anmeldebestätigung). Die Emailadresse wird ohne Einwilligung nicht für Werbezwecke genutzt, außer Sie erteilen uns ausdrücklich Ihre Einwilligung zum Erhalt unseres Newsletters s.u.."
user.login.elements.self_email.options.required = true
user.login.elements.self_email.options.validators.email.validator = "EmailAddress"
user.login.elements.self_email.options.validators.Db_RecordExists.validator = "Db_NoRecordExistsDoctrine"
user.login.elements.self_email.options.validators.Db_RecordExists.options.table = "Contact"
user.login.elements.self_email.options.validators.Db_RecordExists.options.field = "self_email"
; password element
user.login.elements.password.type = "password"
user.login.elements.password.options.label = "Password*"
user.login.elements.password.options.required = true
user.login.elements.password.options.renderPassword = true
user.login.elements.password_re.type = "password"
user.login.elements.password_re.options.label = "Repeat password*"
user.login.elements.password_re.options.required = true
user.login.elements.password_re.options.renderPassword = true
user.login.elements.password_re.options.validators.1.validator = "CompareToField"
user.login.elements.password_re.options.validators.1.options = "password"
; firstname element
user.rech.legend = "Rechnungsadresse"
user.rech.elements.accountType.type = "select"
user.rech.elements.accountType.options.label = "Typ"
user.rech.elements.accountType.options.multiOptions.1 = "Privat"
user.rech.elements.accountType.options.multiOptions.2 = "Gewerblich"
user.rech.elements.accountType.options.multiOptions.3 = "Verein"
user.rech.elements.self_anrede.type = "select"
user.rech.elements.self_anrede.options.label = "Anrede"
user.rech.elements.self_anrede.options.required = false
user.rech.elements.self_anrede.options.multiOptions.1 = "Herr"
user.rech.elements.self_anrede.options.multiOptions.2 = "Frau"
user.rech.elements.self_anrede.options.multiOptions.3 = "Firma"
user.rech.elements.self_anrede.options.multiOptions.4 = "Herr Dr."
user.rech.elements.self_anrede.options.multiOptions.5 = "Frau Dr."
user.rech.elements.self_anrede.options.multiOptions.6 = "Herr Prof."
user.rech.elements.self_anrede.options.multiOptions.7 = "Frau Prof."
user.rech.elements.self_anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.rech.elements.self_anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.rech.elements.self_firstname.type = "text"
user.rech.elements.self_firstname.options.label = "Firstname*"
user.rech.elements.self_firstname.options.required = true
; lastname element
user.rech.elements.self_lastname.type = "text"
user.rech.elements.self_lastname.options.label = "Lastname*"
user.rech.elements.self_lastname.options.required = true
; lastname element
user.rech.elements.self_department.type = "text"
user.rech.elements.self_department.options.label = "Company"
; street element
user.rech.elements.self_street.type = "text"
user.rech.elements.self_street.options.label = "Street*"
user.rech.elements.self_street.options.required = true
; housenumber element
user.rech.elements.self_house_number.type = "text"
user.rech.elements.self_house_number.options.label = "Housenumber*"
user.rech.elements.self_house_number.options.required = true
; zip element
user.rech.elements.self_zip.type = "text"
user.rech.elements.self_zip.options.label = "Zip*"
user.rech.elements.self_zip.options.required = true
; city element
user.rech.elements.self_city.type = "text"
user.rech.elements.self_city.options.label = "City*"
user.rech.elements.self_city.options.required = true
user.rech.elements.self_country.type = "select"
user.rech.elements.self_country.options.label = "Land*"
user.rech.elements.self_country.options.required = true
; tel element
user.rech.elements.self_phone.type = "text"
user.rech.elements.self_phone.options.label = "Tel"
user.rech.elements.ustid.type = "text"
user.rech.elements.ustid.options.label = "UstId"
user.rech.elements.cp.type = "captcha"
user.rech.elements.cp.options.label = ""
user.rech.elements.cp.options.captcha.captcha = "Image"
; firstname element
user.liefer.legend = "Lieferanschrift"
user.liefer.elements.firstname.type = "text"
user.liefer.elements.firstname.options.label = "Firstname*"
user.liefer.elements.firstname.options.required = true
; lastname element
user.liefer.elements.lastname.type = "text"
user.liefer.elements.lastname.options.label = "Lastname*"
user.liefer.elements.lastname.options.required = true
; lastname element
user.liefer.elements.company.type = "text"
user.liefer.elements.company.options.label = "Firma"
; street element
user.liefer.elements.street.type = "text"
user.liefer.elements.street.options.label = "Street*"
user.liefer.elements.street.options.required = true
; housenumber element
user.liefer.elements.house_number.type = "text"
user.liefer.elements.house_number.options.label = "Housenumber*"
user.liefer.elements.house_number.options.required = true
; zip element
user.liefer.elements.zip.type = "text"
user.liefer.elements.zip.options.label = "Zip*"
user.liefer.elements.zip.options.required = true
; city element
user.liefer.elements.city.type = "text"
user.liefer.elements.city.options.label = "City*"
user.liefer.elements.city.options.required = true
; tel element
user.liefer.elements.phone.type = "text"
user.liefer.elements.phone.options.label = "Tel"
; submit element
user.submit.elements.submit.type = "submit"
user.submit.elements.submit.options.name = "submit"
user.submit.elements.submit.options.label = "Jetzt registrieren"
user.liefersubmit.elements.submit.type = "submit"
user.liefersubmit.elements.submit.options.class = "green"
user.liefersubmit.elements.submit.options.name = "st"
user.liefersubmit.elements.submit.options.label = "Use Delivery"

View File

@ -0,0 +1,169 @@
[register]
global.class ="form-horizontal"
; general form metainformation
user.login.action = "/user/guest"
user.login.method = "post"
user.rech.prefixPath.element.prefix = "TP_Form_Element"
user.rech.prefixPath.element.path = "TP/Form/Element"
user.rech.legend = "Rechnungsanschrift"
; email element
user.rech.elements.self_email.type = "Helptext"
user.rech.elements.self_email.options.label = "Email*"
user.rech.elements.self_email.options.required = true
user.rech.elements.self_email.options.validators.email.validator = "EmailAddress"
user.rech.elements.self_email.options.validators.Db_RecordExists.validator = "Db_NoRecordExistsDoctrine"
user.rech.elements.self_email.options.validators.Db_RecordExists.options.table = "Contact"
user.rech.elements.self_email.options.validators.Db_RecordExists.options.field = "self_email"
; firstname element
; user.rech.legend = "Anschrift"
user.rech.elements.self_anrede.type = "select"
user.rech.elements.self_anrede.options.label = "Anrede"
user.rech.elements.self_anrede.options.required = false
user.rech.elements.self_anrede.options.multiOptions.1 = "Herr"
user.rech.elements.self_anrede.options.multiOptions.2 = "Frau"
user.rech.elements.self_anrede.options.multiOptions.3 = "Firma"
user.rech.elements.self_anrede.options.multiOptions.4 = "Herr Dr."
user.rech.elements.self_anrede.options.multiOptions.5 = "Frau Dr."
user.rech.elements.self_anrede.options.multiOptions.6 = "Herr Prof."
user.rech.elements.self_anrede.options.multiOptions.7 = "Frau Prof."
user.rech.elements.self_anrede.options.multiOptions.8 = "Herr Prof. Dr."
user.rech.elements.self_anrede.options.multiOptions.9 = "Frau Prof. Dr."
user.rech.elements.self_firstname.type = "text"
user.rech.elements.self_firstname.options.label = "Firstname*"
user.rech.elements.self_firstname.options.required = true
; lastname element
user.rech.elements.self_lastname.type = "text"
user.rech.elements.self_lastname.options.label = "Lastname*"
user.rech.elements.self_lastname.options.required = true
; lastname element
user.rech.elements.self_department.type = "text"
user.rech.elements.self_department.options.label = "Company"
; street element
user.rech.elements.self_street.type = "text"
user.rech.elements.self_street.options.label = "Street*"
user.rech.elements.self_street.options.required = true
; housenumber element
user.rech.elements.self_house_number.type = "text"
user.rech.elements.self_house_number.options.label = "Housenumber*"
user.rech.elements.self_house_number.options.required = true
; zip element
user.rech.elements.self_zip.type = "text"
user.rech.elements.self_zip.options.label = "Zip*"
user.rech.elements.self_zip.options.required = true
; city element
user.rech.elements.self_city.type = "text"
user.rech.elements.self_city.options.label = "City*"
user.rech.elements.self_city.options.required = true
user.rech.elements.self_country.type = "select"
user.rech.elements.self_country.options.label = "Land*"
user.rech.elements.self_country.options.required = true
user.rech.elements.self_country.options.multiOptions.ALL = "Bitte wählen"
user.rech.elements.self_country.options.multiOptions.DE = "Deutschland"
user.rech.elements.self_country.options.multiOptions.BE = "Belgien"
user.rech.elements.self_country.options.multiOptions.BA = "Bosnien & Herzegowina"
user.rech.elements.self_country.options.multiOptions.BG = "Bulgarien"
user.rech.elements.self_country.options.multiOptions.DK = "Dänemark"
user.rech.elements.self_country.options.multiOptions.EE = "Estland"
user.rech.elements.self_country.options.multiOptions.FI = "Finnland"
user.rech.elements.self_country.options.multiOptions.FR = "Frankreich"
user.rech.elements.self_country.options.multiOptions.GR = "Griechenland"
user.rech.elements.self_country.options.multiOptions.GB = "Grossbritannien"
user.rech.elements.self_country.options.multiOptions.IE = "Irland"
user.rech.elements.self_country.options.multiOptions.IS = "Island"
user.rech.elements.self_country.options.multiOptions.IT = "Italien"
user.rech.elements.self_country.options.multiOptions.HR = "Kroatien"
user.rech.elements.self_country.options.multiOptions.LV = "Lettland"
user.rech.elements.self_country.options.multiOptions.LI = "Liechtenstein"
user.rech.elements.self_country.options.multiOptions.LT = "Litauen"
user.rech.elements.self_country.options.multiOptions.LU = "Luxemburg"
user.rech.elements.self_country.options.multiOptions.MC = "Monaco"
user.rech.elements.self_country.options.multiOptions.NL = "Niederlande"
user.rech.elements.self_country.options.multiOptions.NO = "Norwegen"
user.rech.elements.self_country.options.multiOptions.AT = "Österreich"
user.rech.elements.self_country.options.multiOptions.PL = "Polen"
user.rech.elements.self_country.options.multiOptions.PT = "Portugal"
user.rech.elements.self_country.options.multiOptions.RO = "Rumänien"
user.rech.elements.self_country.options.multiOptions.GB = "Schottland"
user.rech.elements.self_country.options.multiOptions.SE = "Schweden"
user.rech.elements.self_country.options.multiOptions.CH = "Schweiz"
user.rech.elements.self_country.options.multiOptions.BR = "Serbien"
user.rech.elements.self_country.options.multiOptions.SK = "Slowakei"
user.rech.elements.self_country.options.multiOptions.SI = "Slowenien"
user.rech.elements.self_country.options.multiOptions.ES = "Spanien"
user.rech.elements.self_country.options.multiOptions.CZ = "Tschechische Republik"
user.rech.elements.self_country.options.multiOptions.HU = "Ungarn"
user.rech.elements.self_country.options.multiOptions.GB = "Wales"
user.rech.elements.self_country.options.multiOptions.XX = "anderes Land"
; tel element
user.rech.elements.self_phone.type = "text"
user.rech.elements.self_phone.options.label = "Tel"
;user.rech.elements.cp.type = "captcha"
;user.rech.elements.cp.options.label = "Hier Captcha Code eintragen*"
;user.rech.elements.cp.options.captcha.captcha = "Image"
; firstname element
user.liefer.legend = "Lieferanschrift"
user.liefer.elements.firstname.type = "text"
user.liefer.elements.firstname.options.label = "Firstname*"
user.liefer.elements.firstname.options.required = true
; lastname element
user.liefer.elements.lastname.type = "text"
user.liefer.elements.lastname.options.label = "Lastname*"
user.liefer.elements.lastname.options.required = true
; lastname element
user.liefer.elements.self_department.type = "text"
user.liefer.elements.self_department.options.label = "Firma"
; street element
user.liefer.elements.street.type = "text"
user.liefer.elements.street.options.label = "Street*"
user.liefer.elements.street.options.required = true
; housenumber element
user.liefer.elements.house_number.type = "text"
user.liefer.elements.house_number.options.label = "Housenumber*"
user.liefer.elements.house_number.options.required = true
; zip element
user.liefer.elements.zip.type = "text"
user.liefer.elements.zip.options.label = "Zip*"
user.liefer.elements.zip.options.required = true
; city element
user.liefer.elements.city.type = "text"
user.liefer.elements.city.options.label = "City*"
user.liefer.elements.city.options.required = true
; tel element
user.liefer.elements.phone.type = "text"
user.liefer.elements.phone.options.label = "Tel"
; ustid element
user.rech.elements.ustid.type = "text"
user.rech.elements.ustid.options.label = "UStID"
; submit element
user.submit.elements.submit.type = "submit"
user.submit.elements.submit.options.name = "submit"
user.submit.elements.submit.options.label = "Weiter"
user.liefersubmit.elements.submit.type = "submit"
user.liefersubmit.elements.submit.options.class = "green"
user.liefersubmit.elements.submit.options.name = "st"
user.liefersubmit.elements.submit.options.label = "Use Delivery"

View File

@ -0,0 +1,23 @@
[reset]
; general form metainformation
global.class ="form-horizontal"
user.reset.action = "/user/resetpassword"
user.reset.method = "post"
; username element
user.reset.legend = "Passwort zurücksetzen"
; email element
user.reset.elements.self_email.type = "text"
user.reset.elements.self_email.options.label = "Email"
user.reset.elements.self_email.options.required = true
user.reset.elements.cp.type = "captcha"
user.reset.elements.cp.options.label = ""
user.reset.elements.cp.options.captcha.captcha = "Image"
user.reset.elements.submit.type = "submit"
user.reset.elements.submit.options.class = "submit btn btn-success btn-large"
user.reset.elements.submit.options.label = "Passwort zurücksetzen"

View File

@ -0,0 +1,46 @@
[register]
; general form metainformation
global.class ="form-horizontal"
user.login.action = "/user/mysettng"
user.login.method = "post"
user.login.legend = "Logindaten"
; password element
user.login.elements.password.type = "password"
user.login.elements.password.options.label = "Password"
user.login.elements.password_re.type = "password"
user.login.elements.password_re.options.label = "Repeat password*"
user.login.elements.password_re.options.validators.1.validator = "CompareToField"
user.login.elements.password_re.options.validators.1.options = "password"
; email element
user.login.elements.self_email.type = "text"
user.login.elements.self_email.options.label = "Email"
user.login.elements.self_email.options.required = true
; firstname element
user.rech.legend = "Einstellungen"
user.settings.elements.language.type = "select"
user.settings.elements.language.options.label = "Sprache"
user.settings.elements.language.options.required = false
user.settings.elements.language.options.multiOptions.de_DE = "Deutsch"
user.settings.elements.language.options.multiOptions.en_US = "English"
user.settings.elements.defaultPayment.type = "select"
user.settings.elements.defaultPayment.options.label = "Standard Zahlart"
user.settings.elements.defaultPayment.options.required = false
user.settings.elements.defaultShipment.type = "select"
user.settings.elements.defaultShipment.options.label = "Standard Versandart"
user.settings.elements.defaultShipment.options.required = false
; submit element
user.submit.elements.submit.type = "submit"
user.submit.elements.submit.options.class = "submit"
user.submit.elements.submit.options.label = "Aktualisieren"

View File

@ -0,0 +1,24 @@
[verify]
; general form metainformation
user.verify.action = "/user/verify"
user.verify.method = "post"
; username element
user.verify.elements.name.type = "text"
user.verify.elements.name.options.label = "Username"
user.verify.elements.name.options.required = true
; password element
user.verify.elements.password.type = "password"
user.verify.elements.password.options.label = "Password"
user.verify.elements.password.options.required = true
; hash element
user.verify.elements.hash.type = "text"
user.verify.elements.hash.options.label = "Freischaltcode"
user.verify.elements.hash.options.required = true
; submit element
user.verify.elements.submit.type = "submit"
user.verify.elements.submit.options.class = "submit"
user.verify.elements.submit.options.label = "Freischalten"

View File

@ -0,0 +1,96 @@
<!-- Nav Bootstrap 4.5 ////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?php $designPath = str_replace(array("styles/vorlagen/", "/"), "", $this->designPath); ?>
<nav class="navbar navbar-expand-md navbar-light bg-light">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="/"><i class="fa fa-home"></i> <span class="menu-title"><?php echo $this->translate("Start"); ?></span> <span class="sr-only">(current)</span></a>
</li>
<?php
$articleGroups = $this->Articlegroup()->getTree();
foreach ($articleGroups as $articleGroup) {
$subGroups = $this->Articlegroup()->getSubTree($articleGroup);
if(count($subGroups) > 0) {
?>
<li class="nav-item dropdown">
<?php echo'<a class="nav-link dropdown-toggle" href="/overview/' . $articleGroup->url . '" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">'.$this->translate($articleGroup->title).'</a>'; ?>
<?php echo'<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">'; ?>
<?php echo'<a class="dropdown-item" href="/overview/' . $articleGroup->url . '" id="navbarDropdownMenuLink"><strong>'.$this->translate($articleGroup->title).'</strong></a>'; ?>
<?php
foreach ($subGroups as $subGroup) {
$subSubGroups = $this->Articlegroup()->getSubTree($subGroup);
//echo count($subSubGroups);
if($subSubGroups && count($subSubGroups) > 0) {
?>
<?php /* echo '<li><a class="dropdown-item dropdown-toggle" href="/overview/'.$subGroup->url.'">'.$subGroup->title.'</a></li>'; */ ?>
<?php echo '<li class="dropdown-submenu"><a class="dropdown-item dropdown-toggle" href="/overview/'.$subGroup->url.'">'.$subGroup->title.'</a><ul class="dropdown-menu">'; ?>
<?php foreach ($subSubGroups as $pgd) { ?>
<?php echo'<li class="nav-item"><a class="dropdown-item" href="/overview/'.$pgd->url.'">'.$pgd->title.'</a></li>'; ?>
<?php } ?>
<?php echo'</ul></li>'; ?>
<?php } else { ?>
<?php echo '<li class="nav-item"><a class="dropdown-item" href="/overview/'.$subGroup->url.'">'.$subGroup->title.'</a></li>'; ?>
<?php } } ?>
<?php echo'</ul></li>'; ?>
<?php
}else{
echo ' <li class="nav-item"><a class="nav-link" href="/overview/' . $articleGroup->url . '">' . $this->translate($articleGroup->title).'</a>';
}
echo '</li>';
}
$infonavigation = $this->cms()->getCms('top');
if( $infonavigation && count($infonavigation) > 0) : ?>
<?php foreach($infonavigation as $hp): ?>
<?php if(count($hp->Subs) > 0): ?>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo $this->translate($hp->menu) ?></a>
<ul class="dropdown-menu">
<?php foreach($hp->Subs as $hps): ?>
<li class="nav-item"><a class="dropdown-item" href="/cms/<?php echo $hps->url ?>"><?php echo $this->translate($hps->menu) ?></a></li>
<?php endforeach; ?>
</ul></li>
<?php elseif($hp->modul == 'Redirect'): ?>
<li class="nav-item"><a class="dropdown-item" href="<?php echo $hp->parameter ?>"><?php echo $this->translate($hp->menu) ?></a></li>
<?php else: ?>
<li class="nav-item"><a class="dropdown-item" href="/cms/<?php echo $hp->url ?>"><?php echo $this->translate($hp->menu) ?></a></li>
<?php endif;?>
<?php endforeach; ?>
<?php endif;
?>
<div class="righthidden" style=" border: 1px solid #000; margin-bottom: 10px; "></div>
<li class="righthidden">
<a href="/agb">AGB</a>
</li>
<br />
<li class="righthidden">
<a href="/revocation">Widerrufsbelehrung</a>
</li>
<br />
<li class="righthidden">
<a href="/privacy">Datenschutzerklärung</a>
</li>
<br />
<li class="righthidden">
<a href="/impress">Impressum</a>
</li>
</ul>
<form class="navbar-form navbar-right" role="search" id="search" action="<?= $this->url(array(), 'search') ?>" enctype="multipart/form-data" method="GET">
<div class="form-group">
<input type="text" class="form-control" name="q">
<button class="button-search glyphicon glyphicon-search"></button>
</div> <button type="submit" class="hide">ok</button>
</form>
</div>
</div>
</nav>

View File

@ -0,0 +1,539 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<!-- template version 4 -->
<?php if ($this->page_title != ''): ?>
<title><?= $this->page_title; ?></title>
<?php else: ?>
<title><?= $this->shop->name; ?></title>
<?php endif; ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="/<?php echo $this->designPath ?>/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>bootstrap/css/font-awesome.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>bootstrap/css/style.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>bootstrap/css/yamm.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>lightbox/lb.css" rel="stylesheet">
<?php if ($this->shop->css != ''): ?>
<style type="text/css"><?= $this->shop->css; ?></style>
<?php endif; ?>
<?php if ($this->designsettings()->get('custom_css') != ''): ?>
<style><?= $this->designsettings()->get('custom_css') ?></style>
<?php endif; ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link href="//cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css" rel="stylesheet">
<script src="//cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/js/bootstrap4-toggle.min.js"></script>
<?= $this->headMeta(); ?>
<?php if (
file_exists(substr(
$this->image()->thumbnailImage('browsericon', 'browsericon', $this->shop->browsericon, true, true),
1,
))
): ?>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo
$this->image()->thumbnailImage('browsericon', 'browsericon', $this->shop->browsericon, true, true)
; ?>"/>
<?php else: ?>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<?php endif; ?>
<style>
body {
background-image: url("<?= $this->image()->thumbnailImage(
$this->shop->name,
'logo2',
$this->shop->logo2,
true,
true,
); ?>");
background-repeat: repeat;
background-color: #fff;
}
</style>
</head>
<body>
<div class="overall sticky-top">
<div class="topmenu">
<section id="topbar" class="">
<div class="topbarcenter">
<!-- ********** Dropdown Sprache ************* -->
<div class="topbar">
<div class="pull-right topbannerfixed">
<ul class="pull-right">
<?php if ($this->Rights()->isShopAdmin()): ?>
<li class=""><a href="?no_cache=true">Servercache leeren</a></li>
<?php endif; ?>
<!-- *********** in Bearbeitung ************** -->
<li><a href="/article/inwork/all">
<span class="fa fa-pencil-square-o" title="<?php echo $this->translate('in Bearbeitung') ?> (<?= $this->inworkCount ?>)"></span>
<span class="text-link"><?php echo $this->translate('in Bearbeitung') ?> (<?= $this->inworkCount ?>)</span></a>
</li>
<!-- *********** Warenkorb ************** -->
<li><a href="/basket">
<span class="fa fa-shopping-cart" title="<?php echo $this->translate('Warenkorb') ?>: (<?php echo
$this->Basket()->getCount()
?>) <?php if (!$this->designsettings()->get('display_no_price')) { ?><?= $this->currency->toCurrency($this->Basket()->getBasketSum()); ?><?php } ?>"></span>
<span class="no-text-link"><?php echo $this->translate('Warenkorb') ?>: (<?php echo
$this->Basket()->getCount()
?>) <?php if (!$this->designsettings()->get('display_no_price')) { ?><?= $this->currency->toCurrency($this->Basket()->getBasketSum()); ?><?php } ?></span></a>
</li>
<!-- *********** Abmelden | Registrieren ************** -->
<li class="<?php echo $this->activeNav == '/user/register' ? 'active' : ''; ?>">
<?php if (Zend_Auth::getInstance()->hasIdentity()): ?>
<a href="/user?logout=1">
<span class="fa fa-sign-in" title="<?php echo $this->translate('Abmelden') ?>"></span>
<span class="text-link"><?php echo $this->translate('Abmelden') ?> (<?= $this->user->self_firstname .
' ' .
$this->user->self_lastname ?>)</span></a>
<?php else: ?>
<a href="/user/register">
<span class="fa fa-sign-in" title="<?php echo $this->translate('Registrieren') ?>"></span>
<span class="text-link"><?php echo $this->translate('Registrieren') ?></span></a>
<?php endif; ?>
</li>
<!-- *********** Anmelden | Mein Account ************** -->
<li class="<?php echo
$this->activeNav == '/user/myoverview' || $this->activeNav == '/user/login' ? 'active' : ''
; ?>">
<?php if (Zend_Auth::getInstance()->hasIdentity()): ?>
<a href="/user/myoverview">
<span class="fa fa-user" title="<?php echo $this->translate('Mein Account') ?>"></span>
<span class="text-link"><?php echo $this->translate('Mein Account') ?></span></a>
<?php else: ?>
<a href="/user/login">
<span class="fa fa-user" title="<?php echo $this->translate('Anmelden') ?>"></span>
<span class="text-link"><?php echo $this->translate('Anmelden') ?></span></a>
<?php endif; ?>
</li>
</ul>
</div><!-- // links pull-left -->
<div class="clearfix"></div>
<!-- LOGO -->
</div>
</section><!-- // #topbar -->
<div class="logotopbanner" id="sticky-logo">
<div class="col-xs-12">
<?php if ($this->user->self_foto) { ?>
<!--<a href="/" title="<?= $this->shop->name; ?>: zur Startseite"><?= $this->image()->thumbnailImage(
$this->shop->name,
'userlogo1',
$this->user->self_foto,
); ?></a>-->
<?php }
if ($this->user->Account->logo1) { /* $this->user->self_foto = für Bild vom Kontakt */ ?>
<a href="/" title="<?= $this->shop->name; ?>: zur Startseite" id="main-logo-link"><?= $this->image()->thumbnailImage(
$this->shop->name,
'accountlogo1',
$this->user->Account->logo1,
); ?></a>
<?php }
if ($this->shop->logo1) { ?>
<a href="/" title="<?= $this->shop->name; ?>: zur Startseite" id="main-logo-link"><?= $this->image()->thumbnailImage(
$this->shop->name,
'logo1',
$this->shop->logo1,
); ?></a>
<?php } else { ?>
<h1 class="head_logo" id="main-logo-link"><?= $this->shop->name; ?></h1>
<?php } ?>
<!--<a href="/" title="<?= $this->shop->name; ?>: zur Startseite"><img src="/<?php echo $this->designPath ?>bootstrap/img/topnammer_1110_100.png" alt="<?= $this->shop->name; ?>" id="logo"/></a>-->
</div>
</div>
</div><!-- // <div class="container"><div class="topbar"><div class="row"> -->
</div>
<div class="navibarcontainercolor sticky-top">
<?php
/**
* UrsprC<nglich gab es eine HTML-BE einstellung, um das MenC< oberhalb oder unterhalb des Logos/Banners anzeigen zu kC6nnen
* mC6glich, wir behalten es nur hier wegen der kompatibiliC$t
*
* HTML BE: Shop-Einstellung > Design Hauptnavigation oben ja/nein :: wenn JA -> Naivgation hier & so anzeigen
*/
if ($this->designsettings()->get('display_mainnav_top')) {
include_once '_hauptmenu.phtml';
}
?>
<?php
/**
* HTML BE: Shop-Einstellung > Design Hauptnavigation oben ja/nein :: wenn NEIN -> Naivgation unter dem Logo (hier) anzeigen
*/
if (!$this->designsettings()->get('display_mainnav_top')) {
include_once '_hauptmenu.phtml';
}
?>
</div>
<div class="overall">
<?php
$link = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$str_arr = explode('/', $link);
$linkend = end($str_arr);
?>
<div class="slidercontainer">
<?php
//var_dump($linkend);
if ($linkend == '') {
echo $this->partial('carousel.phtml');
}
?>
</div>
<div class="container contentcontainer">
<section id="layout-main-wrap">
<?php
$PriorityMessenger = $this->PriorityMessenger();
if (count($PriorityMessenger)): ?>
<div class="flashmessages">
<?php
foreach ($PriorityMessenger as $label => $messages) {
if (count($messages)) {
foreach ($messages as $message) {
if ($label == 'error') {
echo
'<div class="alert alert-danger"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">&times;</span></button>' .
$this->translate($message) .
'</div>'
;
} else {
echo
'<div class="alert alert-success"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">&times;</span></button>' .
$this->translate($message) .
'</div>'
;
}
}
}
}
?>
</div>
<?php endif; ?>
<!-- C o n t e n t ******************************************************************************************************* -->
<?= $this->layout()->CONTENT; ?>
</section>
</div>
<div class="footercontainer1">
<div class="container">
<!-- FOOTER 1 & Inhalte aus dem CMS ************************************************************************************** -->
<?php
$link = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$str_arr = explode('/', $link);
$linkend = end($str_arr);
//var_dump($linkend);
if ($linkend == '') { ?>
<section id="footer-customer">
<div class="row clearfix">
<div class="col-md-12">
<div class="panel">
<!--<ul class="nav-list">
<?php if (Zend_Auth::getInstance()->hasIdentity()): ?>
<li style="font-weight:bold"><?php echo $this->translate('Service') ?>:</li>
<li><a href="/user/mysettings"><?php echo $this->translate('Einstellungen') ?></a></li>
<li><a href="/user/myorders"><?php echo $this->translate('Meine Bestellungen') ?></a></li>
<?php if ($this->shop->template_display_user_approval): ?>
<li><a href="/user/myapproval"><?php echo
$this->translate('Freigabebedürftige Bestellungen')
?></a></li>
<?php endif; ?>
<li><a href="/article/mypersarticle"><?php echo $this->translate('Meine Persönlichen Produkte') ?></a></li>
<?php else: ?>
<li><a href="/user/login"><?php echo
$this->translate('Anmelden')
?></a></li>
<?php endif; /* if(Zend_Auth::getInstance()->hasIdentity()): */ ?>
</ul>
<br class="clearfix">-->
<!-- ALLES SOLL raus aus dem Footer - 20.10.2014
<?php if ($this->designsettings()->get('display_tags') == true): ?>
<?php $pc = $this->cloud()->getProductCloud(); ?>
<?php if (count($pc->getItemList())): ?>
<h5><?php echo $this->translate('Produkte') ?> Tags</h5>
<?= $pc ?>
<?php endif; ?>
<?php if ($this->designsettings()->get('display_motive') == true): ?>
<?php $mc = $this->cloud()->getMotivCloud(); ?>
<?php if (count($mc->getItemList())): ?>
<h5><?php echo $this->translate('Motive') ?> Tags</h5>
<?= $mc ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
-->
<?php $news_rows = $this->news()->getShopNews(); ?>
<?php if (count($news_rows)): ?>
<!--<hr>
<br>-->
<h4><a href="/news"><?php echo $this->translate('News') ?></a></h4>
<?php foreach ($news_rows as $news): ?>
<h5><strong><?php echo $this->date($news->sort_date)->toString(Zend_Date::DATE_MEDIUM) ?></strong> <?= $news->title ?></h5><p><?= $news->einleitung ?> <a href="/news/<?= $news['url'] ?>">[<?php echo
$this->translate('mehr')
?>...]</a></p><br />
<?php endforeach; ?>
<?php endif; ?>
</div><!-- // panel -->
</div><!-- // col-md-12 column panel -->
</div><!-- // row -->
<br class="clearfix">
</section>
<?php } ?>
</div>
<div class="footercontainer2">
<!-- FOOTER 2 & Copyright ************************************************************************************** -->
<section id="footer-application">
<div class="col-md-12">
<div class="footer_content">
<div class="footer_copyright">
<div class="bottom_menu">
<div class="col-md-3">
<ul class="nav-list">
<?php if (!$this->designsettings()->get('b2bshop')): ?>
<li><a href="/agb"><?php echo $this->translate('AGB') ?></a></li>
<li><a href="/revocation"><?php echo $this->translate('Widerrufsbelehrung') ?></a></li>
<li><a href="/privacy"><?php echo $this->translate('Datenschutzerklärung') ?></a></li>
<li><a href="/impress"><?php echo $this->translate('Impressum') ?></a></li>
<?php endif; ?>
</ul>
</div>
<div class="col-md-3">
<ul class="nav-list">
<?php
/**
* Links ausgeben für CMS (' bottom ') -->
*/
$help = $this->cms()->getCms('bottom');
foreach ($help as $hp): ?>
<li><a href="/cms/<?php echo $hp->url ?>"><?php echo
$this->translate($hp->menu)
?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div class="col-md-3">
<ul class="nav-list">
<?php
/**
* Links ausgeben für CMS (' bottom ') -->
*/
$help = $this->cms()->getCms('custom1');
foreach ($help as $hp): ?>
<li><a href="/cms/<?php echo $hp->url ?>"><?php echo
$this->translate($hp->menu)
?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div class="col-md-3">
<ul class="nav-list">
<?php
/**
* Links ausgeben für CMS (' bottom ') -->
*/
$help = $this->cms()->getCms('custom2');
foreach ($help as $hp): ?>
<li><a href="/cms/<?php echo $hp->url ?>"><?php echo
$this->translate($hp->menu)
?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
</div>
</div>
</section>
</div>
<section>
<?php
/**
* CMS Text ('contentbottom') ausgeben
*/
$cms = $this->cms()->getCms('contentbottom');
if (count($cms) > 0)/* wenn wir CMS einträge haben... */
{
/* Text ausgeben */
if (!$cms[0]->notinmenu) {
echo $cms[0]->getText();
}
echo '<hr>';
}
?>
</section>
<!-- ******************************************************************************************************************************************************** -->
<!-- 17.09.2014 bis herher - datrunter kann alles so bleiben -->
<!-- ******************************************************************************************************************************************************** -->
<!-- Additional WrapperB4s for Layouter -->
<div id="overlay_frame" class="overlay" style="display: none; position: fixed; top: 0;left: 0;z-index: 5000; background-color: #000000; opacity: 0.4; filter: alpha(opacity = 40);"></div>
<div class="layouter_frame" id="layouter_frame" style="position:fixed; z-index: 9999999; display:none"><iframe frameborder="0" scrolling="no" id="frame" style="overflow: hidden; height: 100%; width: 100%"></iframe></div>
<div style="clear:both"></div>
<!-- /Additional WrapperB4s Layouter -->
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="/<?php echo $this->designPath ?>/assets/uploader/js/vendor/tmpl.min.js"></script>
<script src="/<?php echo $this->designPath ?>/assets/uploader/js/vendor/load-image.min.js"></script>
<script src="/<?php echo $this->designPath ?>/code.js"></script>
<script src="/<?php echo $this->designPath ?>/lightbox/lb.js"></script>
<script>
// Sticky Logo mit Verkleinerung beim Scrollen
$(document).ready(function() {
var logo = $('#sticky-logo');
var navbar = $('.navibarcontainercolor');
var logoInitialTop = logo.offset().top;
var navbarHeight = navbar.outerHeight();
$(window).scroll(function() {
var scrollTop = $(window).scrollTop();
console.log(scrollTop);
console.log(logoInitialTop);
console.log(navbarHeight);
if (scrollTop > logoInitialTop) {
console.log("add");
logo.addClass('shrink');
} else {
console.log("remove");
logo.removeClass('shrink');
}
});
});
</script>
<script>window.cookieconsent_options = {message: 'Cookies erleichtern die Bereitstellung unserer Dienste. Mit der Nutzung unserer Dienste erklären Sie sich damit einverstanden, dass wir Cookies verwenden. ', dismiss: 'Schließen', learnMore: 'Mehr Infos erhalten sie in der Datenschutzerklärung.', link: '/privacy', theme: 'light-bottom'}</script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
<?php if ($this->shop->fullbackground): ?>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-backstretch/2.0.3/jquery.backstretch.min.js"></script>
<script>
$.backstretch("/<?php echo
$this->image()->thumbnailImage('logo', 'logo1', $this->shop->fullbackground, true, true)
; ?>");
</script>
<?php endif; ?>
<?php
$this->headScript()->prependFile('/scripts/templateprint.js');
$this->headLink()->appendStylesheet('/scripts/jquery-loading/css/showLoading.css');
$this->headScript()->prependFile('/scripts/jquery-loading/js/jquery.showLoading.min.js');
$this->headScript()->prependFile('/scripts/jquery-multiselect/js/jquery.multi-select.js');
$this->headLink()->appendStylesheet('/scripts/jquery-multiselect/css/multi-select.css');
?>
<?= $this->headScript(); ?>
<?= $this->headLink(); ?>
<?php if ($this->shop->googleanalyticscode != ''): ?>
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-D4GBCPTBCC"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '<?= $this->shop->googleanalyticscode; ?>'); </script>
<?php endif; ?>
<?php if (isset($this->debug) && count($this->debug) > 0): ?>
<div class="debug">
<?php foreach ($this->debug as $value): ?>
<p><?php echo $value; ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div><!-- container -->
</div><!-- overall -->
</body>
<?php echo TP_Util::getMonitoringkey() ?>
</html>

View File

@ -0,0 +1,203 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title><?= $this->shop->name; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Latest compiled and minified CSS -->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>/bootstrap/css/style.css" rel="stylesheet">
<?php if($this->shop->css != ""): ?>
<style type="text/css"><?= $this->shop->css; ?></style>
<?php endif; ?>
<?php if($this->designsettings()->get('custom_css') != ""): ?>
<style><?= $this->designsettings()->get('custom_css') ?></style>
<?php endif; ?>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]><script src="<?php echo $this->designPath ?>/js/html5shiv.js"><script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script></script><![endif]-->
<?php if(file_exists( substr($this->image()->thumbnailImage('browsericon', 'browsericon', $this->shop->browsericon, true, true), 1))): ?>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->image()->thumbnailImage('browsericon', 'browsericon', $this->shop->browsericon, true, true); ?>"/>
<?php else: ?>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<?php endif;?>
<?php
/**
* *******************************
* jQuery und Bootstrap JS aus CDN
* *******************************
* frühes laden, weil sonst einige JS features nicht funktionieren, die erste später in den templates dazu geladen werden
* hab's vom </body> schon wieder hoch gesetzt :(
*/
?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" ></script>
<?php if($this->shop->private): ?><meta name='robots' content='noindex,nofollow' /><?php endif; ?>
<?= $this->headMeta(); ?>
<!-- Le styles -->
<?php if(!$this->designsettings()->get('preset') || $this->designsettings()->get('preset') == 1): ?>
<link href="/<?php echo $this->designPath ?>/bootstrap/css/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 2): ?>
<link href="/<?php echo $this->designPath ?>/design/united/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 3): ?>
<link href="/<?php echo $this->designPath ?>/design/spruce/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 4): ?>
<link href="/<?php echo $this->designPath ?>/design/cyborg/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 5): ?>
<link href="/<?php echo $this->designPath ?>/design/journal/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 6): ?>
<link href="/<?php echo $this->designPath ?>/design/spacelab/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 7): ?>
<link href="/<?php echo $this->designPath ?>/design/simplex/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 8): ?>
<link href="/<?php echo $this->designPath ?>/design/slate/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 9): ?>
<link href="/<?php echo $this->designPath ?>/design/superhero/bootstrap.css" rel="stylesheet">
<?php endif; ?>
<?php if($this->designsettings()->get('preset') == 10): ?>
<link href="/<?php echo $this->designPath ?>/design/bluegreen/blueandgreen.css" rel="stylesheet">
<?php endif; ?>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row clearfix" id="topbanner">
<div class="col-xs-12">
<?php if($this->shop->logo1): ?>
<a href="/" title="<?= $this->shop->name; ?>: zur Startseite"><img src="<?php echo $this->image()->thumbnailImage('logo', 'logo1', $this->shop->logo1, true, false); ?>" alt="<?= $this->shop->name; ?>" id="logo"/></a>
<?php else: ?>
<h1 class="head_logo"><?= $this->shop->name; ?></h1>
<?php endif;?>
</div>
</div>
<section id="layout-main-wrap">
<?php
$PriorityMessenger = $this->PriorityMessenger();
if(count($PriorityMessenger)): ?>
<div class="flashmessages">
<?php
foreach ($PriorityMessenger as $label => $messages) {
if (count($messages)) {
foreach ($messages as $message) {
if($label == 'error') {
echo '<div class="alert alert-danger"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">&times;</span></button>'.$this->translate($message).'</div>';
}else{
echo '<div class="alert alert-success"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">&times;</span></button>'.$this->translate($message).'</div>';
}
}
}
}
?>
</div>
<?php endif; ?>
<?= $this->layout()->CONTENT; ?>
</section>
<section>
<div class="copyright pull-right"><?= $this->shop->name ?> is powered by <a href="http://www.printshopcreator.de" target="_blank">printshopcreator</a></div>
</section>
<!-- Additional Wrapper´s for Layouter -->
<div id="overlayl" class="overlayl" style="display: none; position: fixed; top: 0;left: 0;z-index: 5000; background-color: #000000; opacity: 0.4; filter: alpha(opacity = 40);"></div>
<div class="layouter" id="layouter" style="position:fixed; z-index: 9999999; display:none"><iframe frameborder="0" scrolling="no" id="frame" style="overflow: hidden; height: 100%; width: 100%"></iframe></div>
<div style="clear:both"></div>
<!-- /Additional Wrapper´s Layouter -->
<script src="/<?php echo $this->designPath ?>/assets/js/tabs.js"></script>
<script src="/<?php echo $this->designPath ?>/assets/js/modal.js"></script>
<script src="/<?php echo $this->designPath ?>/assets/js/tooltip.js"></script>
<script src="/<?php echo $this->designPath ?>/assets/js/popover.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.gears.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.silverlight.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.flash.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.browserplus.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.html4.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/plupload.html5.js"></script>
<script type="text/javascript" src="/scripts/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js"></script>
<script type="text/javascript" src="/scripts/plupload/src/javascript/i18n/de.js"></script>
<link type="text/css" rel="stylesheet" href="/scripts/plupload/js/jquery.plupload.queue/css/jquery.plupload.queue.css"></link>
<link href="/scripts/SmartWizard/styles/smart_wizard.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/scripts/SmartWizard/js/jquery.smartWizard-2.0.js"></script>
<script src="/<?php echo $this->designPath ?>/code.js"></script>
<link href="/<?php echo $this->designPath ?>/style.css" rel="stylesheet">
<?php
$this->headScript()->prependFile('/scripts/jquery-achtung/ui.achtung.js');
$this->headLink()->appendStylesheet('/scripts/jquery-achtung/ui.achtung.css');
?>
<?php
$this->headScript()->prependFile('/scripts/jquery-multiselect/js/jquery.multi-select.js');
$this->headLink()->appendStylesheet('/scripts/jquery-multiselect/css/multi-select.css');
?>
<?= $this->headScript(); ?>
<?= $this->headLink(); ?>
<script type="text/javascript">
$(document).ready(function() {
<?php
$PriorityMessenger = $this->PriorityMessenger();
if(count($PriorityMessenger)): ?>
<?php
foreach ($PriorityMessenger as $label => $messages) {
if (count($messages)) {
foreach ($messages as $message) {
if($label == 'error') {
echo '$.achtung({className: "achtungFail", message: "'.$this->translate($message).'", timeout: 0});';
}else{
echo '$.achtung({className: "achtungSuccess", message: "'.$this->translate($message).'", timeout: 0});';
}
}
}
}
?>
<?php endif; ?>
});
</script>
</div>
</body>
</html>
<?php echo TP_Util::getMonitoringkey() ?>

View File

@ -0,0 +1 @@
<?= $this->layout()->CONTENT; ?>

View File

@ -0,0 +1,132 @@
Start;Home
Suche;Search
Anmelden;Login
Registrieren;Registrieren
Sprache;Language
Buy;Bestellen
Calc;Berechnen
recordFound;Ein Benutzer %value% wurde gefunden
Value is required and can't be empty;Wert ist erforderlich und kann nicht leer sein
Captcha value is wrong;Captcha-Wert ist falsch
Order created;Bestellung abgeschickt
Article;Artikel
Please fill out the Form;
Forget password;Passwort vergessen
Articlegroups;Produktgruppen
User;Kunde
Resetmail successfull;Passwort zurücksetzen Aktion erfolgreich durchgeführt
Logout Success;Abmelden erfolgreich
Password;Passwort
Password*;Passwort*
Repeat password*;Passwort wiederholen*
Anrede;Anrede
Firstname*;Vorname*
Lastname*;Nachname*
Company;Firma
Street*;Strasse*
Housenumber*;Hausnummer*
Zip*;PLZ*
City*;Ort*
Land*;Land*
Tel;Telefon
Handy;Mobil
Fax;Fax
Register successfull;Registrierung erfolgreich
My Settings;Meine Einstellungen
My Address;Meine Adressen
My Orders;Meine Bestellungen
printess;Printess Layouter
status10;Neue Bestellung
status50;Upload abgeschlossen
status140;Wartet auf Zahlungseingang
status145;Zahlungseingang erfolgt
status210;abgeschlossen
org_status10;new order
org_status20;new request
org_status30;wait for upload
org_status40;files uploaded
org_status50;upload finshed
org_status60;upload in prove
org_status70;upload error
org_status80;preflightcheck error
org_status90;wait for approval one
org_status100;wait for approval all
org_status110;approval accepted
org_status120;approval non-accepted
org_status130;open offer
org_status140;wait for payment
org_status145;payment received
org_status150;downloadable
org_status160;In process
org_status170;canceled
org_status173;produced
org_status175;readyforpickup
org_status180;export to Hotfolder
org_status190;ready for shipping
org_status200;shipped
org_status210;finished
org_status220;request for payment
posstatus30;Datenupload offen/noch nicht abgeschlossen
posstatus50;Datenupload abgeschlossen
posstatus60;Daten werden geprüft
posstatus75;Daten OK
posstatus80;Daten Error
posstatus90;Wartet auf Entwurf
posstatus100;Entwurf wartet auf Freigabe
posstatus105;Freigabe durch Kunde abgelehnt
posstatus110;Korrektur wartet auf Freigabe
posstatus120;Freigabe durch Kunde erteilt
posstatus130;In Produktion
posstatus140;Im Transit
posstatus150;In der Weiterverarbeitung
posstatus155;im Grafikreview
posstatus158;in der Vorstufe
posstatus160;in Produktion
posstatus170;abgebrochen oder storniert
posstatus173;produziert
posstatus175;Zur Abholung bereit
posstatus177;in Versand
posstatus180;in Bearbeitung
posstatus190;wartet auf Versand
posstatus200;versendet
posstatus210;abgeschlossen
posstatus500;warted auf Entwurf
posstatus510;Entwurf wartet auf freigabe
posstatus520;Entwurf abgelehnt
posstatus530;Entwurf angenommen
org_posstatus30;wait for upload
org_posstatus40;files uploaded
org_posstatus50;upload finshed
org_posstatus60;upload in prove
org_posstatus70;upload error
org_posstatus80;preflightcheck error
org_posstatus160;In process
org_posstatus173;produced
org_posstatus175;readyforpickup
org_posstatus180;export to Hotfolder
org_posstatus190;ready for shipping
org_posstatus200;shipped
org_posstatus210;finished
custom_posstatus500;Wartet auf Datenupload
custom_posstatus550;Upload erfolgt
custom_posstatus600;Daten werden geprüft
custom_posstatus650;Daten OK
custom_posstatus700;Daten Error
custom_posstatus730;Wartet auf Zahlungseingang
custom_posstatus750;Wartet auf Entwurf
custom_posstatus800;Entwurf wartet auf Freigabe
custom_posstatus850;Korrektur wartet auf Freigabe
custom_posstatus900;Freigabe durch Kunde erteilt
custom_posstatus950;in Produktion
custom_posstatus1000;im Transit
custom_posstatus1050;in der Weiterverarbeitung
custom_posstatus1100;versendet
custom_posstatus1150;abgeschlossen
Can't render this file because it has a wrong number of fields in line 73.

View File

@ -0,0 +1,263 @@
Start;Home
Suche;Search
Anmelden;Login
Registrieren;Register
Sprache;Language
Buy;Order
Zurück;Back
Calc;Calc
Auswählen;"Select"
weiter einkaufen;continue shopping
Zur Kasse gehen;continue to order
Artikelnummer;"Article number"
in Bearbeitung;"in process"
Warenkorb;"Shopping cart"
Sprache;"Sprache"
Impressum;"Imprint"
Datenschutzerklärung;"Privacy statement"
AGB;"GTC"
Widerrufsbelehrung;"Cancellation policy"
Mein Account;"My account"
Anmelden;"Log in"
Abmelden;"Log out"
Bestellen;Order
Produkte in;"Products in"
Auswählen;"Select"
PRODUKT;"PRODUCT"
KONFIGURATION;"CONFIGURATION"
Angebot drucken;Print offer
Summe;Total
Aktueller Bestand;Current stock
Preis (netto);Price (net)
Preis (brutto);Price (gross)
MwSt.;VAT
gestalten/hochladen;design/upload
Typ;Typ
Auflage;Count
Anzahl der Seiten;Number of pages
Material;Material
Binden;Bind
Deckeldruck;Cover print
Datenformat;Data format
Musterdruck;Sample print
Produktionszeit;Production time
Zusatzangaben...;Additional details
Dateivorgaben;File defaults
Produkt;Product
Gutscheincode;"Voucher code"
Ändern;Change
Weiter;"Next"
Logindaten;"Login data"
Gleich wie Rechnungsadresse;"Same as billing address"
Produkte ändern;"change products"
Gewählte Versandart;"Selected shipping method"
Gewählte Zahlungsart;"Selected payment method"
Rechnungsadresse;"Invoice address"
Rechnungsadressen;"Invoice addresses"
Lieferadresse;"Delivery address"
Lieferadressen;"Delivery addresses"
Absenderadresse;"Sender address"
Absendeadressen;"Sender addresses"
Adressdaten;"Address data"
Meine Adressen;"My Addresses"
Absenderadressen auf Paketschein;Sender addresses on parcel label
Übersicht;"Overview"
Freigabebedürftige Bestellungen;"Orders requiring approval"
Schritt;"Step"
Übersicht über Ihre Bestellung;"Overview of your order"
Rechnungs- und Lieferadresse angeben;"Specify billing and delivery address"
Bestätigen und bestellen;"Confirm and order"
Produktbild;"Product image"
Produkt/Optionen;"Product/Options"
Anzahl;"Quantity"
Preis;"Price"
Produktpreis (inkl. MwSt.);"Product price (incl. VAT)"
zzgl. Versand;"plus packing & shipment"
zzgl. Zahlart;"Payment method"
enth. MwSt.;"VAT included"
Gesamtsumme Brutto;"Gross total"
Die <a href="/agb" target="_blank">AGBs</a> habe ich zur Kenntnis genommen und akzeptiere diese.;"I have taken note of the General Terms and Conditions (<a href='/agb' target='_blank'>GTC</a>) and accept them."
Die <a href="/revocation" target="_blank">Widerrufsbelehrung</a> habe ich zur Kenntnis genommen.;"I have taken note of the revocation declaration."
Die <a href="/privacy" target="_blank">Datenschutzerklärung</a> habe ich zur Kenntnis genommen.;"I have taken note of the privacy policy."
kostenpflichtig bestellen;"Order with costs"
Vielen Dank für Ihre Bestellung;Thank you for your order
Sie erhalten in Kürze eine Bestätigungsmail Ihrer Bestellung.;You will receive a confirmation email of your order shortly.
Zu meinen Aufträgen;To my orders
Meine Bestellungen;"My orders"
Hier erhalten Sie eine Übersicht über alle Ihre Bestellungen und des jeweiligen Auftragsstatus.;"Here you get an overview of all your orders and the respective order status."
Meine Logindaten;"My login details"
Hier können Sie Ihre Zugangs- und Benutzerdaten sowie Ihre Kontoeinstellungen bearbeiten.;"Here you can edit your access and user data as well as your account settings."
Zur Startseite;"To the home page"
Los geht's;"Let's go"
Hallo;"Hello"
verwalten Sie hier Ihr Benutzerkonto;"Manage your user account here"
Persönliche Produkte;"Personal products"
Hier gelangen Sie zu den "privatisierten" Produkten, für deren Bestellung Sie ein Sonderrecht haben.;Here you can access the "privatized" products for which you have a special right to order.
ab;"from"
Wenn Sie bereits Kunde sind;"If you are already a customer"
Wenn Sie noch kein Kunde sind;"If you are not yet a customer"
Nutzen Sie die Vorteile eines registrierten Accounts!;"Use the advantages of a registered account!"
Registrieren Sie sich jetzt als Neukunde;"Register now as a new customer"
Als Gast bestellen;"Order as guest"
Bestellen Sie hier auch ganz bequem ohne Registrierung.;"You can also order here conveniently without registration."
Weiter als Gast;"Next as guest"
Passwort vergessen?;"Password forgotten?"
Dann sind Sie hier richtig!;"Then you are right here!"
Geben Sie bitte die Email-Adresse Ihres registrierten Accounts an und fahren Sie mit "Passwort zurücksetzen" fort. <br><br>Anschließend erhalten Sie eine Bestätigungs-Email.;Please enter the email address of your registered account and continue with "Reset password"<br /><br />You will then receive a confirmation email.
Passwort zurücksetzen;"Reset password"
Bitte geben Sie Ihre Daten ein!;Please enter your data!
Mit * gekennzeichnete Felder sind Pflichtfelder!;Fields marked with * are required!
Anschrift;Address
Jetzt Registrieren!;Register Now!
Gestalten Sie per Drag & Drop Ihr Wunschprodukt im Online-Designer. Nutzen Sie eigene Grafiken und Fotos oder wählen Sie aus unserer Motiv-Galerie. Sie können Schriften wählen, Größen anpassen, Farben definieren uvm.;Design your desired product in the online designer using drag & drop. Use your own graphics and photos or choose from our motif gallery. You can choose fonts, adjust sizes, define colors and much more.
Jetzt online Gestalten;Design online now
Übertragen Sie uns Ihre <strong>fertige</strong> Druckdatei jetzt.;Transfer your <strong>ready</strong> print file to us now.
Mehr zu unseren Druckvorgaben finden Sie unter;You can find more about our printing specifications at
Hilfe/Druckdaten;Help/Printing data
Wie möchten Sie Ihr Produkt gestalten?;How would you like to design your product?
Übertragen Sie uns Ihre <strong>fertige</strong> Druckdatei später.;Transfer your <strong>ready</strong> print file to us later.
Gestalten Sie Ihre Druckdaten jetzt Online.;Design your print data online now.
Druckdaten Jetzt hochladen;Upload print data now
Druckdaten später hochladen;Upload print data later
Empfänger;Receiver
Per Post;By post
Druckdaten der letzten Bestellung verwenden;Use print data from the last order
aus der letzten Bestellung;from last order
Senden Sie Ihre Druckdaten an;Send your print data to
Per Mail;Per Mail
Online gestalten (Sammelbestellung);Design online (collective order)
Aufrufen;Call
Druckdaten aus dem Produkt verwenden;Use print data from the product
aus dem Produkt;from the product
Versandpreis hat sich geändert;Shipping price has changed
Benutzer nicht gefunden;User not found - please contact us or create a new user profile
Register;Register as a new customer now
Use the benefit features of a registered Account;Benefit from the advantages of a registered account!
Place for more information ...;Take a moment and register in our shop.
Order created;Order submitted
Article;Article
Please fill out the Form;Please enter your access data!
Thank you for register;Thank you for registering
Value is required and can't be empty; Value is required and can't be empty
Captcha value is wrong; Captcha value is wrong
Forget password;"Request password?"
Articlegroups;article groups
User;customer
Resetmail successfull;Reset password - action successfully performed
Logout Success;Logout successful
Password;Password
Password*;Password*
Repeat password*;Repeat password*
A record matching '%value%' was found;We have already registered a customer under the e-mail '%value%'.
Neue Adresse anlegen;Create new address
Adresse bearbeiten;Edit address
Adresse hinzufügen;Add address
Anrede;Salutation
Adresse;Address
Firstname*;First name*
Lastname*;Family name*
Company;Company / Association
Firma;Company / Association
Name;"Name"
Street*;Street*
Housenumber*;House number*
Zip*;Postcode*
City*;City*
Land*;Country*
Land;Country
Tel*;Phone number*
Tel;Phone number*
Handy;Mobile phone
Fax;Fax number
Telefon;Phone
Register successfull;Registration successful
My Settings;My settings
My Address;My addresses
My Orders;My orders
Login successfull;Successfully registered
Your Account;Your user account
Speichern;Save
Anlegen;Create
Auftragsnummer;Order number
Datum;Date
Wert; Value
Referenz;Reference
Auftragsstatus;Order status
Zahlart;Payment method
Preis;Price
Positionsstatus;Position status
Dateien;Files
Vorkasse;Prepayment
Nachbestellen;Re-order
Preis Netto;Price net
Preis Brutto;Price gross
Lieferzeit;Delivery time
hochladen;upload
Schließen;Close
Hoch-/Querformat;Portrait/Landscape format
Ausführung;Version
Auftragserfassung;Order entry
übernehmen;take over
Produkte in Bearbeitung;Products in process
Keine Produkte in der Bearbeitungsliste vorhanden;No products in the edit list
Konfigurieren/Bestellen;Configure/Order
Alle löschen;Delete all
(Brutto inkl. 19% MwSt.);(Gross incl. 19% VAT)
(Brutto inkl. 7% MwSt.);(Gross incl. 7% VAT)
(Netto);(Net)
Gesamtbetrag;Total amount
Produktpreis (Netto);Product price (net)
WK Custom Text 1 aus Shopeinstellung;WK Custom Text 1 from Shop Setting
WK Custom Text 2 aus Shopeinstellung;WK Custom Text 2 from Shop Setting
Löschen;delete
Bearbeiten;edit
Vielleicht möchten Sie einfach auf der Startseite beginnen?;Maybe you just want to start on the home page?
Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.;You have no items in your shopping cart. No order possible.
Bitte prüfen Sie die von Ihnen eingegebenen Daten sorgfältig auf Richtigkeit. Mit der Bestellung erteilen Sie automatisch die Druckfreigabe für Ihr Produkt. Diese entbindet uns von jeder Haftung für evtl. stehengebliebene Fehler.;Please check the data you have entered carefully for correctness. With the order you automatically give the print release for your product. This releases us from any liability for any errors that may have occurred.
*inkl. MwSt. zzgl.;*inkl. MwSt. zzgl.
*inkl. MwSt. zzgl.;Shipping
Einem Freund empfehlen:;Recommend to a friend:
k5gh8e;k5gh8e
###########from here - basket and positions status
neue Bestellung;New order
neue Anfrage;new request
Upload offen;wait for upload
Daten hochgeladen;Data uploaded
Upload abgeschlossen;Upload completed
Daten werden überprüft;Data are verified
Daten Fehler;Data error
Daten Ok;Data Ok
Preflight wird ausgeführt;Preflight is executed
Preflightcheck Fehler;Preflight check error
Preflight Ok;Preflight Ok
wartet auf Freigabe Einer;Waits for release One
wartet auf Freigabe Alle;Waits for release All
Freigabe ist erfolgt;Release is done
Freigabe abgelehnt;Release rejected
Angebot abgegeben;Offer submitted
wartet auf Zahlungseingang;Waiting for payment
Zahlung erhalten;Payment received
Download steht bereit;Download is ready
in Produktion;In production
abgebrochen oder storniert;Aborted or canceled
produziert;produces
Zur Abholung bereit;Ready for pickup
in Bearbeitung;in process
wartet auf Versand;Waiting for shipment
versendet;shipped
abgeschlossen;completed
###########from here - basket-positions status
Druckdaten aus der letzten Bestellung übernehmen;Take over print data from the last order
in Grafikabteilung;in graphic department
in Druckvorstufe;in prepress
in Produktionsabteilung;in production department
in Versandabteilung;in shipping department
Wartet auf Entwurf;Waiting for design
Entwurf wartet auf Freigabe;design awaits approval
Entwurf durch Kunde abgelehnt;Design rejected by customer
Entwurf durch Kunde freigegeben;Design approved by customer
Can't render this file because it contains an unexpected character in line 16 and column 19.

View File

@ -0,0 +1,300 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 -->
<!-- 2018-01-05T13:54:09 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" pageWidth="595" pageHeight="842" columnWidth="525" leftMargin="0" rightMargin="70" topMargin="0" bottomMargin="70" uuid="fe54c4b9-6fad-46ee-a3fc-b465fffdf60d">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<style name="Table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<subDataset name="Dataset1" uuid="7ba2dbe4-a1a7-414d-9f36-aaf54d0b4e1f">
<queryString>
<![CDATA[]]>
</queryString>
</subDataset>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="306">
<staticText>
<reportElement x="63" y="284" width="90" height="20" uuid="163a4209-64a0-4524-b64c-58dcb9cbbf64"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[Lieferschein Nr. ]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="151" y="284" width="156" height="20" uuid="7faca665-a425-4e4c-b8a3-4daf6704d454"/>
<textElement>
<font size="10" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA['L-'.$P{order}{alias}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="416" y="159" width="108" height="12" uuid="b8622653-39b6-4b7e-839c-0305b52b0da2"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="354" y="159" width="62" height="12" uuid="03a09b72-9ab8-41ee-990e-6e6b1f79d7ca"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="354" y="147" width="62" height="12" uuid="f39cfb1f-23ac-4e56-890d-936eb759bbbc"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Bestellung vom:]]></text>
</staticText>
<staticText>
<reportElement x="354" y="135" width="62" height="12" uuid="f68ce87d-66b4-4b8a-be94-69344c5b42a6"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ihre Kunden-Nr:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="416" y="135" width="108" height="12" uuid="5539d1d1-f224-4ed8-9a7c-b57e778cada4"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="416" y="147" width="108" height="12" uuid="8827656b-b1d9-472f-88f4-726803963d23"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{order}{created}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="140" width="205" height="15" uuid="fa529790-4c45-4792-94c5-b4dfdcec7ae4"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{invoiceAddress}{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="355" y="206" width="205" height="15" uuid="e7796b6a-6a92-4f14-ae05-e89eff92c120"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryAddress}{firstname}.' '.$P{deliveryAddress}{lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="170" width="205" height="15" uuid="4de95d7b-e085-4377-ac2a-ae60b0a02518"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{invoiceAddress}{street}.' '.$P{invoiceAddress}{house_umber}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="355" y="236" width="205" height="15" uuid="1ad6bbf5-672c-417c-bb5a-d532ded2a09d"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryAddress}{zip}.' '.$P{deliveryAddress}{city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="355" y="191" width="205" height="15" uuid="febc074f-db9c-4f1e-b442-7c6597627eab"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryAddress}{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="155" width="205" height="15" uuid="2ec1e089-3eb8-45cd-a079-9b3a2191c090"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{invoiceAddress}{firstname}.' '.$P{invoiceAddress}{lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="355" y="221" width="205" height="15" uuid="d29a48b9-761b-4865-89a7-98dfcebe6b5b"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryAddress}{street}.' '.$P{deliveryAddress}{house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="185" width="205" height="15" uuid="eaadeb81-59dc-40e6-bc6d-4657c4251b8f"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{invoiceAddress}{zip}.' '.$P{invoiceAddress}{city}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="355" y="178" width="62" height="12" uuid="6c056d0c-3f44-46e2-858a-8d908688ea43"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Lieferadresse:]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band/>
</pageHeader>
<columnHeader>
<band height="16">
<staticText>
<reportElement x="63" y="0" width="67" height="12" uuid="e6dcf4f6-2a41-4ea6-b788-a2f5089e8df7"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Produkt]]></text>
</staticText>
<line>
<reportElement x="63" y="12" width="462" height="1" uuid="a5ecd096-ea03-4422-9caa-da4205f92e61"/>
</line>
</band>
</columnHeader>
<detail>
<band height="38">
<textField>
<reportElement x="63" y="0" width="334" height="15" uuid="2caec86e-6587-4978-84bb-8fdb09d68055"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement key="table" x="63" y="19" width="500" height="13" uuid="1baf44df-8284-4bed-99e8-a151e37dafdb"/>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="Table Dataset 1" uuid="173b4576-dfa6-4934-9c41-5593a25b8145">
<dataSourceExpression><![CDATA[$F{optionsAsArray}]]></dataSourceExpression>
</datasetRun>
<jr:column width="150" uuid="1ed7ebd0-b9d8-4f5d-9836-d465fe4103fe">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="0" y="0" width="150" height="13" uuid="3b5f0287-440f-48e1-ac18-713ba438ffc6"/>
<textElement textAlignment="Left">
<font fontName="Trebuchet MS" size="8" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$key]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column width="350" uuid="a8b6949d-94fe-47b2-8ff2-e4a695628003">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="71" y="0" width="350" height="13" uuid="63adb0b8-5d2c-4e69-806d-5fe7974cb0ca"/>
<textElement textAlignment="Left">
<font fontName="Trebuchet MS" size="8" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$wert]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
</band>
</detail>
<columnFooter>
<band height="34">
<staticText>
<reportElement x="193" y="11" width="59" height="12" uuid="d571a749-e127-42e8-a4af-6caa04dc328c"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Versandart:]]></text>
</staticText>
<textField>
<reportElement x="412" y="11" width="100" height="12" uuid="b5c0fccf-059c-457d-aa37-cc20db16d819"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{paymenttype}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="352" y="11" width="59" height="12" uuid="3bb034e0-a203-44a5-9b69-7e4376ebb215"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Zahlungsart:]]></text>
</staticText>
<textField>
<reportElement x="243" y="11" width="100" height="12" uuid="ec6fae9a-56a7-4bfe-ab26-d0dd8fc92ad2"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{shippingtype}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="63" y="10" width="59" height="12" uuid="c967325f-9681-4e35-b6d5-25fc2c2a7ef2"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Gewicht:]]></text>
</staticText>
<textField>
<reportElement x="113" y="10" width="100" height="12" uuid="6d79fd0f-3d62-4dce-b915-cf9da77bc42f"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[str_replace(".",",",($P{weight}/1000)).' kg']]></textFieldExpression>
</textField>
</band>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</band>
</lastPageFooter>
<summary>
<band>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</band>
</summary>
</jasperReport>

View File

@ -0,0 +1,384 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" pageWidth="595" pageHeight="842" columnWidth="525" leftMargin="0" rightMargin="70" topMargin="0" bottomMargin="70">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="325">
<staticText>
<reportElement x="338" y="132" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ihre Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="338" y="144" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Bestellung vom:]]></text>
</staticText>
<staticText>
<reportElement x="338" y="156" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Bestellt von:]]></text>
</staticText>
<staticText>
<reportElement x="338" y="180" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Lieferdatum:]]></text>
</staticText>
<staticText>
<reportElement x="338" y="192" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Paketinfo:]]></text>
</staticText>
<staticText>
<reportElement x="338" y="204" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="63" y="294" width="80" height="20"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[Rechnung Nr. ]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="132" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="144" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$P{order}{created}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="338" y="168" width="186" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{name}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="180" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="204" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="192" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{package}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="144" y="294" width="156" height="20"/>
<textElement>
<font size="10" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA['R-'.$P{order}{alias}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="147" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_department}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="162" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_firstname}.' '.$P{self_lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="177" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_street}.' '.$P{self_house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="192" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_zip}.' '.$P{self_city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="338" y="267" width="186" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{zip}.' '.$P{liefer}{city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="338" y="255" width="186" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{street}.' '.$P{liefer}{house_number}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="338" y="219" width="62" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Lieferadresse:]]></text>
</staticText>
<textField>
<reportElement x="338" y="231" width="186" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="338" y="243" width="186" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{firstname}.' '.$P{liefer}{lastname}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="338" y="120" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ref.:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="120" width="124" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield2}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band/>
</pageHeader>
<columnHeader>
<band height="18">
<staticText>
<reportElement x="63" y="0" width="67" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Produkt]]></text>
</staticText>
<line>
<reportElement x="63" y="12" width="462" height="1"/>
</line>
<staticText>
<reportElement x="422" y="0" width="50" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Anzahl]]></text>
</staticText>
<staticText>
<reportElement x="483" y="0" width="41" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Preis]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="68">
<textField>
<reportElement x="63" y="-1" width="334" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="11" width="369" height="19"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{options}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="432" y="0" width="36" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{count}]]></textFieldExpression>
</textField>
<line>
<reportElement x="63" y="66" width="462" height="1"/>
</line>
<textField>
<reportElement x="484" y="0" width="40" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{priceall}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="89">
<textField>
<reportElement x="485" y="17" width="40" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{netto}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="485" y="32" width="40" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{steuer}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="485" y="50" width="40" height="15"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{brutto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="425" y="17" width="53" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Netto-Betrag:]]></text>
</staticText>
<staticText>
<reportElement x="424" y="32" width="53" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[MwSt-Betrag:]]></text>
</staticText>
<staticText>
<reportElement x="417" y="51" width="60" height="15"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Brutto-Betrag:]]></text>
</staticText>
<line>
<reportElement x="63" y="50" width="462" height="1"/>
</line>
<line>
<reportElement x="63" y="68" width="462" height="1"/>
</line>
<staticText>
<reportElement x="63" y="71" width="59" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Versandart:]]></text>
</staticText>
<textField>
<reportElement x="285" y="71" width="100" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{paymenttype}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="222" y="71" width="59" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Zahlungsart:]]></text>
</staticText>
<textField>
<reportElement x="121" y="71" width="100" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{shippingtype}{title}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="486" y="2" width="40" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{sp}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="417" y="2" width="58" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Versandkosten:]]></text>
</staticText>
</band>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="26"/>
</lastPageFooter>
<summary>
<band height="96"/>
</summary>
</jasperReport>

View File

@ -0,0 +1,297 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="212">
<staticText>
<reportElement x="300" y="34" width="100" height="15"/>
<textElement/>
<text><![CDATA[Ihre Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="300" y="49" width="100" height="15"/>
<textElement/>
<text><![CDATA[Bestellung vom:]]></text>
</staticText>
<staticText>
<reportElement x="300" y="64" width="100" height="15"/>
<textElement/>
<text><![CDATA[Bestellt von:]]></text>
</staticText>
<staticText>
<reportElement x="300" y="116" width="100" height="15"/>
<textElement/>
<text><![CDATA[Lieferdatum:]]></text>
</staticText>
<staticText>
<reportElement x="300" y="134" width="100" height="15"/>
<textElement/>
<text><![CDATA[Paketinfo:]]></text>
</staticText>
<staticText>
<reportElement x="300" y="151" width="100" height="15"/>
<textElement/>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="100" y="3" width="119" height="20"/>
<textElement>
<font fontName="Arial" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Jobtiket Nr.]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="34" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="49" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[$P{order}{created}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="300" y="80" width="233" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{name}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="116" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d H:i:s',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="151" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d H:i:s',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="400" y="134" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{package}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="225" y="3" width="134" height="20"/>
<textElement>
<font size="14" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA['J-'.$P{order}{alias}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="52" width="205" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_department}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="67" width="205" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_firstname}.' '.$P{self_lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="82" width="205" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_street}.' '.$P{self_house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="97" width="205" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_zip}.' '.$P{self_city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="133" width="299" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="148" width="299" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{firstname}.' '.$P{liefer}{lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="163" width="299" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{street}.' '.$P{liefer}{house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="178" width="299" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{zip}.' '.$P{liefer}{city}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="34" width="100" height="15"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Rechnungsadresse]]></text>
</staticText>
<staticText>
<reportElement x="0" y="117" width="100" height="15"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Lieferadresse]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="300" y="95" width="233" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_phone}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="400" y="166" width="134" height="15"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{brutto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="300" y="166" width="100" height="15"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Brutto-Betrag:]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band/>
</pageHeader>
<columnHeader>
<band height="25">
<staticText>
<reportElement x="1" y="0" width="100" height="17"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Produkt]]></text>
</staticText>
<line>
<reportElement x="0" y="18" width="530" height="1"/>
</line>
<staticText>
<reportElement x="442" y="0" width="91" height="17"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Anzahl]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="114">
<textField>
<reportElement x="1" y="2" width="440" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="17" width="529" height="19"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{options}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="441" y="0" width="52" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{count}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="106" width="530" height="1"/>
</line>
<textField>
<reportElement x="1" y="88" width="529" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{files}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="74">
<staticText>
<reportElement x="255" y="12" width="59" height="12"/>
<textElement>
<font size="10"/>
</textElement>
<text><![CDATA[Zahlungsart:]]></text>
</staticText>
<staticText>
<reportElement x="1" y="12" width="59" height="12"/>
<textElement>
<font size="10"/>
</textElement>
<text><![CDATA[Versandart:]]></text>
</staticText>
<textField>
<reportElement x="62" y="12" width="193" height="12"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{shippingtype}{title}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="318" y="12" width="211" height="12"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{paymenttype}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="24" width="32" height="15"/>
<textElement/>
<text><![CDATA[Infos:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="33" y="24" width="497" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="39" width="32" height="15"/>
<textElement/>
<text><![CDATA[Ref.:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="33" y="39" width="497" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield2}]]></textFieldExpression>
</textField>
</band>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="40"/>
</lastPageFooter>
<summary>
<band/>
</summary>
</jasperReport>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="label" language="groovy" pageWidth="295" pageHeight="210" columnWidth="275" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10">
<background>
<band/>
</background>
<title>
<band height="0"/>
</title>
<pageHeader>
<band height="0"/>
</pageHeader>
<columnHeader>
<band height="0"/>
</columnHeader>
<detail>
<band height="155" splitType="Stretch">
<textField isBlankWhenNull="false">
<reportElement key="textField" x="5" y="0" width="270" height="25"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="22" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield2}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="5" y="55" width="270" height="25"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="20" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield1}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="5" y="95" width="270" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[' _______ Stück']]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="5" y="125" width="270" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{city}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="0" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="0" splitType="Stretch"/>
</pageFooter>
<lastPageFooter>
<band height="0" splitType="Stretch"/>
</lastPageFooter>
<summary>
<band height="0" splitType="Stretch"/>
</summary>
</jasperReport>

View File

@ -0,0 +1,302 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="374">
<staticText>
<reportElement x="282" y="114" width="100" height="15"/>
<textElement/>
<text><![CDATA[Ihre Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="282" y="129" width="100" height="15"/>
<textElement/>
<text><![CDATA[Bestellung vom:]]></text>
</staticText>
<staticText>
<reportElement x="282" y="144" width="100" height="15"/>
<textElement/>
<text><![CDATA[Bestellt von:]]></text>
</staticText>
<staticText>
<reportElement x="282" y="159" width="100" height="15"/>
<textElement/>
<text><![CDATA[Lieferdatum:]]></text>
</staticText>
<staticText>
<reportElement x="282" y="193" width="100" height="15"/>
<textElement/>
<text><![CDATA[Paketinfo:]]></text>
</staticText>
<staticText>
<reportElement x="282" y="236" width="100" height="15"/>
<textElement/>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="291" width="156" height="20"/>
<textElement>
<font fontName="Arial" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Lieferschein Nr.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="321" width="156" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Unsere Auftrags-Nummer: ]]></text>
</staticText>
<staticText>
<reportElement x="0" y="354" width="535" height="20"/>
<textElement/>
<text><![CDATA[Wir liefern Ihnen gemäß unseren allgemeinen Geschäftsbedingungen:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="114" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="129" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[$P{order}{created}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="144" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{name}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="159" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d H:i:s',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="236" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d H:i:s',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="193" width="134" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{package}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="156" y="291" width="134" height="20"/>
<textElement>
<font size="14" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA['L-'.$P{order}{alias}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="114" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(0)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_department}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="129" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(0)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_firstname}.' '.$P{self_lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="144" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(0)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_street}.' '.$P{self_house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="159" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(0)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_zip}.' '.$P{self_city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="114" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="129" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{firstname}.' '.$P{liefer}{lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="144" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{street}.' '.$P{liefer}{house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="159" width="205" height="15">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{zip}.' '.$P{liefer}{city}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="1"/>
</pageHeader>
<columnHeader>
<band height="25">
<staticText>
<reportElement x="1" y="0" width="100" height="17"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Produkt]]></text>
</staticText>
<line>
<reportElement x="0" y="18" width="530" height="1"/>
</line>
<staticText>
<reportElement x="442" y="0" width="91" height="17"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Anzahl]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="43">
<textField>
<reportElement x="1" y="2" width="146" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="17" width="484" height="19"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{options}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="441" y="0" width="52" height="15"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{count}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="39" width="530" height="1"/>
</line>
</band>
</detail>
<columnFooter>
<band height="20"/>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="273">
<staticText>
<reportElement x="0" y="126" width="485" height="15"/>
<textElement>
<font fontName="Arial" isBold="true"/>
</textElement>
<text><![CDATA[Bitte kontrollieren Sie die Ware sofort nach Erhalt auf einwandfreien Zustand und vollständiger]]></text>
</staticText>
<line>
<reportElement x="0" y="85" width="535" height="1"/>
</line>
<staticText>
<reportElement x="0" y="171" width="485" height="15"/>
<textElement>
<font fontName="Arial"/>
</textElement>
<text><![CDATA[Vielen Dank für Ihren Auftrag, den wir gerne für Sie ausgeführt haben. ]]></text>
</staticText>
<staticText>
<reportElement x="0" y="209" width="535" height="15"/>
<textElement>
<font fontName="Arial"/>
</textElement>
<text><![CDATA[Ihr]]></text>
</staticText>
<staticText>
<reportElement x="0" y="68" width="150" height="12"/>
<textElement>
<font fontName="Arial" isBold="true"/>
</textElement>
<text><![CDATA[Ware geprüft und erhalten:]]></text>
</staticText>
<staticText>
<reportElement x="428" y="85" width="106" height="12"/>
<textElement textAlignment="Left">
<font fontName="Arial"/>
</textElement>
<text><![CDATA[Datum und Unterschrift]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="535" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Die Lieferung besteht aus _________ Pakete(n) / Karton(s) à _________ Exemplare,]]></text>
</staticText>
<staticText>
<reportElement x="0" y="20" width="400" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[ sowie aus _________ Pakete(n) / Karton(s) à _________ Exemplare.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="141" width="457" height="15"/>
<textElement/>
<text><![CDATA[Menge, da wir spätere Reklamationen nicht anerkennen können!]]></text>
</staticText>
<staticText>
<reportElement x="0" y="187" width="485" height="15"/>
<textElement>
<font fontName="Arial"/>
</textElement>
<text><![CDATA[Wir würden uns freuen, bald wieder für Sie tätig sein zu dürfen.]]></text>
</staticText>
<staticText>
<reportElement x="1" y="224" width="281" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Druckteam]]></text>
</staticText>
</band>
</lastPageFooter>
<summary>
<band height="1"/>
</summary>
</jasperReport>

View File

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" printOrder="Horizontal" pageWidth="595" pageHeight="842" columnWidth="525" leftMargin="0" rightMargin="70" topMargin="0" bottomMargin="70" uuid="ce4278e5-879a-44e5-b02f-a813994e4dfd">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#FFBFBF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<subDataset name="Table Dataset 1" uuid="df22c7d2-bc3a-4df8-a179-eea401fe007f"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_anrede" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="383">
<staticText>
<reportElement x="344" y="184" width="60" height="14" uuid="d82c084f-2ef3-44f9-b9a9-36d21675e01c"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="344" y="169" width="60" height="15" uuid="19809d7c-77a7-48f1-b87e-2e000b45cf98"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="74" y="254" width="80" height="20" uuid="4897ede6-a494-453d-9874-930b32731dcb"/>
<textElement>
<font fontName="Trebuchet MS" size="11" isBold="true" pdfFontName="trebucbd.ttf" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Angebot]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="404" y="184" width="75" height="14" uuid="8cef944e-9d13-4f6b-98e8-39d28bc620be"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="404" y="169" width="76" height="15" uuid="3a437699-27ef-4a33-98ff-32689bcf1075"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="75" y="325" width="69" height="13" uuid="836df0c6-80dc-4854-9b3b-cd86a25e4595"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Sehr geehrte Damen und Herren,]]></text>
</staticText>
<staticText>
<reportElement x="75" y="342" width="405" height="14" uuid="816c65d6-c6af-4e8e-91e5-4a3fb4f8b800"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[vielen Dank für Ihr Interesse. Hiermit erhalten Sie eine Übersicht über Ihr gewünschtes Produkt:]]></text>
</staticText>
<textField pattern="">
<reportElement x="74" y="136" width="270" height="18" uuid="5b14d88b-ba01-42e1-8032-9f5707d1fcba"/>
<textElement>
<font fontName="Trebuchet MS" size="11" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="75" y="373" width="150" height="12" uuid="b6cc361a-479e-44cd-bd52-9e183a831052"/>
<textElement verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{article}{title}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band/>
</pageHeader>
<columnHeader>
<band/>
</columnHeader>
<detail>
<band height="12" splitType="Stretch">
<textField>
<reportElement x="75" y="15" width="150" height="12" uuid="b6cc361a-479e-44cd-bd52-9e183a831052"/>
<textElement verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="75" y="15" width="342" height="12" uuid="4c959596-e686-4869-8f45-49070fb0960f"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{value}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band/>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="116">
<staticText>
<reportElement x="326" y="20" width="126" height="15" backcolor="#CCCCCC" uuid="1ab9a96e-2694-4cfa-a35f-40db78c35ed8"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Gesamtpreis (Netto):]]></text>
</staticText>
<textField>
<reportElement x="461" y="20" width="58" height="15" backcolor="#CCCCCC" uuid="075c4ed6-fb31-4643-b76e-120dd667c2d0"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" isStrikeThrough="false" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{netto}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="456" y="53" width="63" height="15" uuid="0b1a44ec-d6da-4358-8521-87de1219106e"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" isBold="true" pdfFontName="trebucbd.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{brutto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="326" y="53" width="122" height="15" uuid="c555b4aa-02f2-4c2b-a0a4-195836bf9676"/>
<textElement>
<font fontName="Trebuchet MS" size="10" isBold="true" pdfFontName="trebucbd.ttf" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Brutto-Betrag:]]></text>
</staticText>
<line>
<reportElement x="326" y="53" width="200" height="1" uuid="8b420ec0-1bfa-486a-b842-5df81581d2f4"/>
<graphicElement>
<pen lineWidth="0.75"/>
</graphicElement>
</line>
<line>
<reportElement x="326" y="74" width="200" height="1" uuid="a82d5392-362c-4862-972e-71b998fbf457"/>
<graphicElement>
<pen lineWidth="0.75" lineStyle="Double"/>
</graphicElement>
</line>
<componentElement>
<reportElement key="table" x="326" y="35" width="192" height="13" uuid="e11473c4-2037-40b5-af4d-8ea21561b6bd"/>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="Table Dataset 1" uuid="96540e59-3c1f-42a2-aff9-4f48f28a7b05">
<dataSourceExpression><![CDATA[$P{mwerttable}]]></dataSourceExpression>
</datasetRun>
<jr:column width="100" uuid="1247fafa-e818-4936-8907-ecb03779e710">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="0" y="0" width="100" height="13" uuid="29e123f5-7acd-494a-93dc-1da93e256d40"/>
<textElement textAlignment="Left">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA['MwSt-Betrag ' .$key. '%']]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column width="92" uuid="584e2532-ab8f-41fe-ad9a-390092be8318">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="71" y="0" width="92" height="13" uuid="2e16e53c-8896-4319-9a51-4958c424f65c"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$wert]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
<staticText>
<reportElement x="75" y="95" width="118" height="16" uuid="300791d0-6668-4fbb-8f0f-ad9af0ee5427"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Mit freundlichen Grüßen]]></text>
</staticText>
<staticText>
<reportElement x="75" y="113" width="118" height="15" uuid="db439406-1193-49d0-8ca0-589978463864"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Ihr Druck-Team]]></text>
</staticText>
</band>
</lastPageFooter>
<summary>
<band/>
</summary>
</jasperReport>

View File

@ -0,0 +1,271 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" printOrder="Horizontal" pageWidth="595" pageHeight="842" columnWidth="525" leftMargin="0" rightMargin="70" topMargin="0" bottomMargin="70" uuid="76f99c1f-9ebf-4ac5-96d1-7a9cc68b4bed">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="82"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#FFBFBF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<subDataset name="Table Dataset 1" uuid="3e14c47d-8b04-400c-8f16-9334a102a379"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_anrede" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="410">
<staticText>
<reportElement x="344" y="184" width="60" height="14" uuid="1f192dc1-96b1-4b90-b5fd-4f65ebb1f58e"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="344" y="169" width="60" height="15" uuid="b41f9ca6-08fc-4ca2-8354-0fe5f6cbf711"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Datum:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="404" y="184" width="75" height="14" uuid="30e732de-f6c2-4a59-8ef3-35685bea58c9"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="404" y="169" width="76" height="15" uuid="39b225a1-f00f-4eb6-a832-3d312d4a3867"/>
<textElement>
<font fontName="Trebuchet MS" size="9" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<textField>
<reportElement x="74" y="154" width="270" height="15" uuid="c2f7147a-0178-4713-8ba7-91e534be5bdc"/>
<textElement>
<font fontName="Trebuchet MS" size="11" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{self_firstname}. ' '.$P{self_lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="74" y="169" width="270" height="15" uuid="6567010a-0922-4cf2-967b-b6a02a6dff98"/>
<textElement>
<font fontName="Trebuchet MS" size="11" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{self_street}. ' '.$P{self_house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="74" y="184" width="270" height="15" uuid="37e14927-30b8-4ad3-9b0d-b248b11f0b7f"/>
<textElement>
<font fontName="Trebuchet MS" size="11" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{self_zip}. ' '.$P{self_city}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="75" y="282" width="269" height="14" uuid="c3e03fe2-2b71-41f6-b32c-7a0ec5cca27b"/>
<textElement>
<font fontName="Trebuchet MS" size="12" isBold="true" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA['Konfigurationsübersicht für ' . $P{article}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="75" y="325" width="69" height="13" uuid="25dd0c4d-8bb3-4c42-9dc9-6bc46fbcc11c"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Sehr geehrte Damen und Herren,]]></text>
</staticText>
<staticText>
<reportElement x="75" y="342" width="405" height="14" uuid="7c195572-8a6c-453a-b902-a4334426aa53"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[vielen Dank für Ihr Interesse. Hiermit erhalten Sie eine Übersicht über Ihr gewünschtes Produkt:]]></text>
</staticText>
<staticText>
<reportElement x="75" y="357" width="405" height="14" uuid="1535ce4e-e03e-4e3d-aa8a-6b04d249a22c"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Diese Konfigurationsübersicht ist kein bindendes Angebot. Es spiegelt den Preis Ihrer Konfiguration]]></text>
</staticText>
<staticText>
<reportElement x="75" y="372" width="405" height="14" uuid="67444f81-310e-49c7-9ec5-4422a0516faf"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[zum Erstellungszeitpunkt wieder. Hierfür bitten wir um Verständnis.]]></text>
</staticText>
<textField pattern="">
<reportElement x="74" y="136" width="270" height="18" uuid="fd173098-6e85-46e1-bc06-7c148c029447"/>
<textElement>
<font fontName="Trebuchet MS" size="11" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$P{company}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="75" y="383" width="150" height="12" uuid="b6cc361a-479e-44cd-bd52-9e183a831052"/>
<textElement verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{article}{title}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band/>
</pageHeader>
<columnHeader>
<band/>
</columnHeader>
<detail>
<band height="12" splitType="Stretch">
<textField>
<reportElement x="75" y="0" width="150" height="12" uuid="d2114ec0-3664-4657-b639-e5e0fa6a9b3a"/>
<textElement verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="75" y="0" width="329" height="12" uuid="18fe7bbc-3649-4fe1-9779-6d6760c3e635"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{value}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band/>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="116">
<staticText>
<reportElement x="326" y="20" width="126" height="15" backcolor="#CCCCCC" uuid="8551462f-ae0c-4fe6-9692-5f259e8de2f6"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Gesamtpreis (Netto):]]></text>
</staticText>
<textField>
<reportElement x="461" y="20" width="58" height="15" backcolor="#CCCCCC" uuid="09330015-894c-4a54-b665-ff752d7a5f6a"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" isStrikeThrough="false" pdfFontName="trebuc.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{netto}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="456" y="53" width="63" height="15" uuid="37d6ee34-98d7-4655-85ca-72def18865dc"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" isBold="true" pdfFontName="trebucbd.ttf" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{brutto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="326" y="53" width="122" height="15" uuid="20b77184-7a9f-409f-933d-e2933af73088"/>
<textElement>
<font fontName="Trebuchet MS" size="10" isBold="true" pdfFontName="trebucbd.ttf" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Brutto-Betrag:]]></text>
</staticText>
<line>
<reportElement x="326" y="53" width="200" height="1" uuid="c82d32e7-46db-40f5-a1aa-0d5cc7d14b2e"/>
<graphicElement>
<pen lineWidth="0.75"/>
</graphicElement>
</line>
<line>
<reportElement x="326" y="74" width="200" height="1" uuid="2a5db688-abfe-49ee-a42b-4958ce096b0b"/>
<graphicElement>
<pen lineWidth="0.75" lineStyle="Double"/>
</graphicElement>
</line>
<componentElement>
<reportElement key="table" x="326" y="35" width="192" height="13" uuid="1baf44df-8284-4bed-99e8-a151e37dafdb"/>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="Table Dataset 1" uuid="173b4576-dfa6-4934-9c41-5593a25b8145">
<dataSourceExpression><![CDATA[$P{mwerttable}]]></dataSourceExpression>
</datasetRun>
<jr:column width="100" uuid="1ed7ebd0-b9d8-4f5d-9836-d465fe4103fe">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="0" y="0" width="100" height="13" uuid="3b5f0287-440f-48e1-ac18-713ba438ffc6"/>
<textElement textAlignment="Left">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA['MwSt-Betrag ' .$key. '%']]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column width="92" uuid="a8b6949d-94fe-47b2-8ff2-e4a695628003">
<jr:detailCell height="13" rowSpan="1">
<textField>
<reportElement x="71" y="0" width="92" height="13" uuid="63adb0b8-5d2c-4e69-806d-5fe7974cb0ca"/>
<textElement textAlignment="Right">
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<textFieldExpression><![CDATA[$wert]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
<staticText>
<reportElement x="75" y="95" width="118" height="16" uuid="248d0614-ffa5-4430-b8d0-201a8f44c486"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Mit freundlichen Grüßen]]></text>
</staticText>
<staticText>
<reportElement x="75" y="113" width="118" height="15" uuid="b32c33d5-b6a3-4c5c-959b-69399a7df536"/>
<textElement>
<font fontName="Trebuchet MS" size="10" pdfFontName="trebuc.ttf"/>
</textElement>
<text><![CDATA[Ihr Druck-Team]]></text>
</staticText>
</band>
</lastPageFooter>
<summary>
<band/>
</summary>
</jasperReport>

View File

@ -0,0 +1,442 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angebot" pageWidth="595" pageHeight="842" columnWidth="525" leftMargin="0" rightMargin="70" topMargin="0" bottomMargin="70">
<property name="ireport.scriptlethandling" value="2"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="self_firstname" class="java.lang.String" isForPrompting="false"/>
<parameter name="logo" class="java.lang.String" isForPrompting="false"/>
<parameter name="netto" class="java.lang.String" isForPrompting="false"/>
<parameter name="brutto" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_lastname" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_zip" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_city" class="java.lang.String" isForPrompting="false"/>
<parameter name="self_street" class="java.lang.String" isForPrompting="false"/>
<field name="count" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="priceone" class="java.lang.String"/>
<field name="priceall" class="java.lang.String"/>
<background>
<band/>
</background>
<title>
<band height="377">
<staticText>
<reportElement x="63" y="294" width="122" height="20"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[Auftragsbestätigung Nr. ]]></text>
</staticText>
<staticText>
<reportElement x="63" y="318" width="420" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Sehr geehrte Damen und Herren,]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="191" y="294" width="156" height="20"/>
<textElement>
<font size="10" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA['A-'.$P{order}{alias}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="147" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_department}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="162" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_firstname}.' '.$P{self_lastname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="177" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_street}.' '.$P{self_house_number}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="192" width="158" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{self_zip}.' '.$P{self_city}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="63" y="333" width="418" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[vielen Dank für die Erteilung Ihres Auftrages, dessen Ausführung wir im einzelnen auf der Grundlage unserer Ihnen]]></text>
</staticText>
<staticText>
<reportElement x="63" y="348" width="413" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[bekannten Geschäftsbedingungen wie folgt bestätigen:]]></text>
</staticText>
<textField>
<reportElement x="320" y="280" width="118" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{zip}.' '.$P{liefer}{city}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="217" width="140" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<textField>
<reportElement x="320" y="268" width="118" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{street}.' '.$P{liefer}{house_number}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="320" y="218" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Datum:]]></text>
</staticText>
<staticText>
<reportElement x="320" y="156" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Bestellung vom:]]></text>
</staticText>
<staticText>
<reportElement x="320" y="144" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ihre Kunden-Nr:]]></text>
</staticText>
<staticText>
<reportElement x="320" y="168" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Bestellt von:]]></text>
</staticText>
<textField>
<reportElement x="320" y="256" width="118" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{firstname}.' '.$P{liefer}{lastname}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="193" width="140" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[date('Y-m-d',time())]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="320" y="180" width="202" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{name}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="205" width="140" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{package}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="320" y="232" width="62" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Lieferadresse:]]></text>
</staticText>
<staticText>
<reportElement x="320" y="193" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Lieferdatum:]]></text>
</staticText>
<textField>
<reportElement x="320" y="244" width="118" height="12">
<printWhenExpression><![CDATA[$P{lieferissame}.equals(1)]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{liefer}{company}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="144" width="140" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{id}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="320" y="205" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Paketinfo:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="156" width="140" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$P{order}{created}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="320" y="132" width="62" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ref.:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="382" y="132" width="141" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{order}{basketfield2}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="1"/>
</pageHeader>
<columnHeader>
<band height="16">
<staticText>
<reportElement x="63" y="0" width="67" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Produkt]]></text>
</staticText>
<line>
<reportElement x="63" y="12" width="462" height="1"/>
</line>
<staticText>
<reportElement x="422" y="0" width="50" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Anzahl]]></text>
</staticText>
<staticText>
<reportElement x="483" y="0" width="41" height="12"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Preis]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="60">
<textField>
<reportElement x="63" y="0" width="334" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="63" y="12" width="369" height="19"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{options}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="432" y="0" width="36" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{count}]]></textFieldExpression>
</textField>
<line>
<reportElement x="63" y="57" width="462" height="1"/>
</line>
<textField>
<reportElement x="484" y="0" width="40" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{priceall}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="86">
<textField>
<reportElement x="485" y="17" width="41" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{netto}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="485" y="32" width="41" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{steuer}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="485" y="50" width="40" height="15"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{brutto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="425" y="17" width="53" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Netto-Betrag:]]></text>
</staticText>
<staticText>
<reportElement x="424" y="32" width="53" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[MwSt-Betrag:]]></text>
</staticText>
<staticText>
<reportElement x="417" y="51" width="60" height="15"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Brutto-Betrag:]]></text>
</staticText>
<line>
<reportElement x="63" y="50" width="462" height="1"/>
</line>
<line>
<reportElement x="63" y="68" width="462" height="1"/>
</line>
<staticText>
<reportElement x="63" y="71" width="59" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Versandart:]]></text>
</staticText>
<textField>
<reportElement x="282" y="71" width="100" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{paymenttype}{title}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="222" y="71" width="59" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Zahlungsart:]]></text>
</staticText>
<textField>
<reportElement x="111" y="71" width="100" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{shippingtype}{title}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="485" y="2" width="41" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{sp}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="417" y="2" width="58" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Versandkosten:]]></text>
</staticText>
</band>
</columnFooter>
<pageFooter>
<band/>
</pageFooter>
<lastPageFooter>
<band height="132">
<staticText>
<reportElement x="63" y="22" width="347" height="10"/>
<textElement>
<font fontName="Arial" size="6" isBold="true"/>
</textElement>
<text><![CDATA[und wird abweichend berechnet. Aufwendungen außerhalb unseres Angebotes werden gesondert berechnet.
]]></text>
</staticText>
<staticText>
<reportElement x="63" y="56" width="394" height="10"/>
<textElement>
<font fontName="Arial" size="8"/>
</textElement>
<text><![CDATA[Die sorgfältige und termingerechte Ausführung Ihres Auftrages (ungestörte Produktion vorausgesetzt)]]></text>
</staticText>
<staticText>
<reportElement x="63" y="88" width="444" height="10"/>
<textElement>
<font fontName="Arial" size="8"/>
</textElement>
<text><![CDATA[Mit freundlichen Grüßen]]></text>
</staticText>
<staticText>
<reportElement x="63" y="34" width="211" height="12"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Die Preise verstehen sich zuzüglich Mehrwertsteuer.]]></text>
</staticText>
<staticText>
<reportElement x="63" y="66" width="394" height="10"/>
<textElement>
<font fontName="Arial" size="8"/>
</textElement>
<text><![CDATA[sichern wir Ihnen zu und verbleiben]]></text>
</staticText>
</band>
</lastPageFooter>
<summary>
<band height="96"/>
</summary>
</jasperReport>

View File

@ -0,0 +1,25 @@
<div class="col-xs-6 col-sm-6 col-md-4 col-lg-3">
<div class="thumbnail motivliste">
<header>
<h5><?php echo $this->Text()->truncate_text($this->escape($this->motiv->title),25) ?></h5>
</header>
<article>
<a rel="<?= $this->motiv->uuid ?>" class="" href="javascript:void(0);">
<?php echo $this->image()->thumbnailMotiv($this->motiv->title, 'motivelistoverviewbig', $this->motiv->file_mid, false, $this->motiv, $this->designsettings()->get('motiv_copyright')); ?>
</a>
<span class="thumbnail" style="height: auto; display: none; position: absolute; margin-left: 120px; margin-top: -20px;">
<?php echo $this->image()->thumbnailMotiv($this->motiv->title, 'motivelistoverviewbig', $this->motiv->file_mid, false, $this->motiv, $this->designsettings()->get('motiv_copyright')); ?>
</span>
</article>
<footer>
<div>
<?php if($this->motiv->copyright != "" && $this->designsettings()->get('motiv_copyright')): ?>&copy; <?php echo $this->Text()->truncate_text($this->escape($this->motiv->copyright),15) ?><?php endif; ?>
&nbsp;
</div>
</footer>
</div>
</div>

View File

@ -0,0 +1,56 @@
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-3 articlegrouplistitem">
<div class="thumbnail">
<a href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?>" class="produkt_image_overview">
<?php
if((($this->article->typ == 6 && $this->article->a6_org_article != 0) || $this->article->typ == 8 ) && $this->article->file == ""):
echo $this->image()->thumbnailFop($this->article->title, 'articlelist_overview_box', $this->article->getMarketFile(), false, $this->article->id);
else:
echo $this->image()->thumbnailImage($this->article->title, 'articlelist_overview_box', $this->article->file);
endif;
?>
</a>
<div class="caption">
<p class="produkttitel"><?php echo $this->Text()->truncate_text($this->escape($this->article->getTitle()),40) ?></p>
<?php
if(!$this->designsettings()->get('b2bshop') &&
($this->article->a4_abpreis_calc != 0 ||
$this->article->OrgArticle->a4_abpreis_calc ||
($this->article->a6_org_article != 0 && $this->article->sum*1+($this->article->sum/100*$this->article->mwert) != 0) ||
(($this->article->a4_abpreis + $this->article->a6_resale_price)*1+(($this->article->a4_abpreis + $this->article->a6_resale_price)/100*$this->article->mwert) != 0))):
?>
<p>
<h6 class="abpreis">
<?php if($this->article->typ != 2 && $this->article->a4_abpreis_calc || $this->article->OrgArticle->a4_abpreis_calc):?>
<?php echo $this->translate('ab') ?> <span class="badge badge-info"><?php echo $this->currency->toCurrency($this->article->a4_abpreis) ?>
<?php elseif($this->article->typ == 2): ?>
<?php echo $this->translate('ab') ?> <span class="badge badge-info"><?php echo $this->currency->toCurrency($this->article->preis*1+($this->article->preis/100*$this->article->mwert)) ?>
<?php elseif($this->article->a6_org_article != 0):?>
<?php echo $this->translate('ab') ?> <span class="badge badge-info"><?php echo $this->currency->toCurrency($this->article->sum*1+($this->article->sum/100*$this->article->mwert)) ?>
<?php else:?>
<?php echo $this->translate('ab') ?> <span class="badge badge-info"><?php echo $this->currency->toCurrency(($this->article->a4_abpreis + $this->article->a6_resale_price)*1+(($this->article->a4_abpreis + $this->article->a6_resale_price)/100*$this->article->mwert)) ?>
<?php endif;?>
</span>
</h6>
</p>
<?php endif; ?>
<p>
<a class="btn btn-primary produkt-config-btn center-block" data-hover="Bestellen" href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?>"><span><?php echo $this->translate('Bestellen')?></span></a>
</p>
</div>
</div>
</div>

View File

@ -0,0 +1,47 @@
<?php
/**
* /bootstrap3/templates/article/_articlegrouplistitem.phtml
*
* Stellt die einezlnen Produktgruppen als div dar
* #articlegrouplistitem wird im CSS angesprochen
*
* @see /index/sliderproductsnosidenav.phtml
*
*/
?>
<style>
.einleitung {
font-size: 12px;
font-weight: 100;
height: 80px;
width: 250px;
}
.formattxt {
font-weight: 100;
height: 20px;
width: 250px;
font-size: 12px;
}
.grouptumpheader h5 {
font-weight: 700;
}
</style>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-3 articlegrouplistitem">
<div class="thumbnail productgroupboxheight">
<header class="productgroupboxtxt">
<label class="grouptumpheader"><h5 style="
margin-left: 10px;
"><?php echo $this->Text()->truncate_text($this->escape($this->articlegroup->title),40) ?></h5></label>
</header>
<article>
<a href="<?= $this->url(array('id' => $this->articlegroup->url), 'overview') ?>" class="produkt_image_overview">
<?= $this->image()->thumbnailImage($this->articlegroup->title, 'productgrouplist', $this->articlegroup->image); ?>
</a>
</article>
<footer>
<a class="btn btn-success" href="<?= $this->url(array('id' => $this->articlegroup->url), 'overview') ?>">
<span class="glyphicon glyphicon-ok"></span> <?php echo $this->translate('Auswählen')?>
</a>
</footer>
</div>
</div>

View File

@ -0,0 +1,49 @@
<?php
/**
*
*/
?>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-3 articlegrouplistitem">
<div class="thumbnail">
<a href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?>" class="produkt_image_overview">
<?php
if((($this->article->typ == 6 && $this->article->a6_org_article != 0) || $this->article->typ == 8 ) && $this->article->upload_steplayouter_data != ""):
echo $this->image()->thumbnailSteplayouter2Article($this->article->title, '', $this->article, false);
else:
echo $this->image()->thumbnailImage($this->article->title, '', $this->article->file);
endif;
?>
</a>
<div class="caption">
<p class="produkttitel"><?php echo $this->Text()->truncate_text($this->escape($this->article->getTitle()),40) ?></p>
<p>
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php
if(!$this->designsettings()->get('b2bshop') &&
($this->article->a4_abpreis_calc != 0 ||
$this->article->OrgArticle->a4_abpreis_calc ||
($this->article->a6_org_article != 0 && $this->article->sum*1+($this->article->sum/100*$this->article->mwert) != 0) ||
(($this->article->a4_abpreis + $this->article->a6_resale_price)*1+(($this->article->a4_abpreis + $this->article->a6_resale_price)/100*$this->article->mwert) != 0))): ?>
<h6 class="abpreis"><span class="badge badge-info"><?php echo $this->translate('ab') ?>
<?php if($this->article->typ != 2 && $this->article->a4_abpreis_calc || $this->article->OrgArticle->a4_abpreis_calc):?>
<?php echo $this->currency->toCurrency($this->article->a4_abpreis) ?>
<?php elseif($this->article->typ == 2): ?>
<?php echo $this->currency->toCurrency($this->article->preis*1+($this->article->preis/100*$this->article->mwert)) ?>
<?php elseif($this->article->a6_org_article != 0):?>
<?php echo $this->currency->toCurrency($this->article->sum*1+($this->article->sum/100*$this->article->mwert)) ?>
<?php else:?>
<?php echo $this->currency->toCurrency(($this->article->a4_abpreis + $this->article->a6_resale_price)*1+(($this->article->a4_abpreis + $this->article->a6_resale_price)/100*$this->article->mwert)) ?>
<?php endif;?>
</span>
</h6>
<?php endif; ?><?php } ?>
<p>
<a class="btn btn-primary produkt-config-btn" href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?>"><?php echo $this->translate('Bestellen')?></a>
</p>
</div>
</div>
</div>

View File

@ -0,0 +1,58 @@
<?php
/**
* /templates/article/_articlelistitem_produktuebersicht.phtml
*
* Formatierungsvariante für die ausgabe in /overview/index.phtml
* - Abfangen leerer Bilder
*
*/
?>
<style>
.artikelnr {
font-size: 12px;
font-weight: 100;
height: 80px;
}
.product-img {
height: 200px;
overflow: hidden;
}
a.btn.btn-primary.produkt-config-btn {
font-weight: 700;
}
.pricepro{
font-size: 12px;
}
</style>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-3 articlegrouplistitem">
<div class="thumbnail productboxheight">
<div class="product-img">
<a href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?><?php if($this->articlegroup): ?>/<?php echo $this->articlegroup ?><?php endif; ?>" class="produkt_image_overview">
<?php
if((($this->article->typ == 6 && $this->article->a6_org_article != 0) || $this->article->typ == 8) && $this->article->file == ""):
$_img_tmp = $this->image()->thumbnailFop($this->article->title, 'productlist', $this->article->getMarketFile(), false, $this->article->id);
else:
$_img_tmp = $this->image()->thumbnailImage($this->article->title, 'productlist', $this->article->file);
endif;
empty($_img_tmp) ? print '<div style="width:100%; height:100%; min-height:200px; background:silver">&nbsp;</div>' : print str_replace('id=""', '', $_img_tmp);
?>
</a>
</div>
<div class="caption productboxtxt">
<label class="produkttitel" style="
height: 40px;
overflow: hidden;margin-bottom: 0px;
"><?php echo $this->Text()->truncate_text($this->escape($this->article->getTitle()), 80) ?></label><br />
<p>
<a class="btn btn-primary produkt-config-btn" href="<?php echo $this->url(array('article' => $this->article->url), 'article'); ?>"><?php echo $this->translate('Bestellen')?></a>
</p>
</div>
</div>
</div>

View File

@ -0,0 +1,101 @@
<?php
$this->headScript()->prependFile('/scripts/underscore183.js');
$this->headScript()->prependFile('/scripts/list.js');
?>
<div class="modal fade" tabindex="-1" role="dialog" id="myCollectingOrders" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<button class="searchBtn btn btn-sm btn-success" style="float: right;margin-right: 50px;padding: 5px;font-weight: 500;line-height: 15px;">Suche</button><input class="search" placeholder="Search" style="float: right;margin-right: 50px;" />
<h4 class="modal-title"><?php echo $this->translate('Sammelbestellung')?></h4>
</div>
<div class="modal-body" style="max-height: 260px;overflow: auto;">
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#list" data-toggle="tab">Liste</a></li>
<li><a href="#selectedList" data-toggle="tab">Ausgewählte (<span class="selectContactsCount">0</span>)</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="list">
<table class="table " id="collecting_data">
<tbody class="list">
</tbody>
</table>
</div>
<div class="tab-pane" id="selectedList">
<form id="collecting_data_form">
<table class="table " id="collecting_data_selected">
<tbody class="list">
</tbody>
</table>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<span></span>
<?php if($this->article->isCollectingOrdersNewContact()): ?><select class="btn btn-default" id="addContactAccount">
</select>
<a rel="#addContact" class="btn btn-primary"><?php echo $this->translate('Adresse für Standort hinzufügen')?></a><?php endif; ?>
<a href="#" id="generate_orders" class="btn btn-warning"><?php echo $this->translate('Bestellen')?></a>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="inviteContact" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h4><?php echo $this->translate('Kunde einladen')?></h4>
</div>
<div class="modal-body">
<form class="form-horizontal">
<div class="form-group">
<label for="inputEmail" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="inputEmail" placeholder="Email">
</div>
</div>
<input name="uuid" type="hidden" id="inputUuid">
</form>
</div>
<div class="modal-footer">
<input type="submit" class="btn btn-success" href="#inviteContactButton" id="inviteContactButton" value="<?php echo $this->translate('Kunde einladen')?>"/>
<a href="#" class="btn btn-warning" data-dismiss="modal"><?php echo $this->translate('Schließen')?></a>
</div>
</div>
</div>
</div>
<style>
.collectingCellBottom {
padding: 2px !important;
border: none !important;
}
.collectingCellTop {
padding: 2px !important;
border-top: 1px solid gray !important;
}
</style>
<script>
var previewEditUrl = '/w2p/editor/init?w2pinframeredirect=true&w2pproductid=<?php echo $this->article->uuid ?>&ARTID=<?php echo TP_Crypt::encryptDocker(array('UUID' => $this->article->uuid, 'ARTID' => Zend_Session::getId(), 'COPY' => 2, 'load' => 3, 'SERVER' => $this->basepath, 'LAYOUTERID' => TP_Util::uuid())) ?>&time=<?= time(); ?>';
var batchUrl = '/w2p/batch?w2pinframeredirect=true&w2pproductid=<?php echo $this->article->uuid ?>&ARTID=<?php echo TP_Crypt::encryptDocker(array('UUID' => $this->article->uuid, 'ARTID' => Zend_Session::getId(), 'COPY' => 2, 'load' => 4, 'SERVER' => $this->basepath, 'LAYOUTERID' => TP_Util::uuid())) ?>&time=<?= time(); ?>';
var accountId = '<?php echo $this->article->getCollectingOrdersAccount(); ?>';
var accountFilter = '<?php echo $this->article->getCollectingOrdersAccountFilter(); ?>';
var collectingOrdersChangePicture = '<?php echo $this->article->isCollectingOrdersChangePicture(); ?>';
var collectingOrdersCopy = '<?php echo $this->article->isCollectingOrdersCopy(); ?>';
var collectingOrdersNewContact = '<?php echo $this->article->isCollectingOrdersNewContact(); ?>';
var collectingOrdersInviteContact = '<?php echo $this->article->isCollectingOrdersInviteContact(); ?>';
var accountOwn = '<?php echo $this->user->account_id ?>';
</script>

View File

@ -0,0 +1,55 @@
<?php
$this->headScript()->prependFile('/scripts/underscore183.js');
$this->headScript()->prependFile('/scripts/list.js');
?>
<style>
#collecting_data tr.top td {
border-top-color: black;
}
.calcBasket {
display:none;
}
</style>
<div style="clear: both"></div>
<hr/>
<div class="row">
<div class="col-md-3">
<form class="form-inline" id="myCollectingOrders"><div class="form-group"><input class="form-control search" placeholder="Search" /></div><button type="button" class="searchBtn btn btn-sm btn-success" style=""><i class="fa fa-search"></i> Suche</button></form>
</div>
<div class="col-md-3">
<div class="messageCollection"></div>
</div>
<div class="col-md-6">
<span></span>
<?php if($this->article->isCollectingOrdersNewContact()): ?><select id="addContactAccount">
</select>
<a rel="#addContact" class="btn btn-primary"><?php echo $this->translate('Adresse für Standort hinzufügen')?></a><?php endif; ?>
</div>
</div>
<hr/>
<div class="row">
<div class="col-md-12">
<table id="collecting_data" class="table">
<tbody class="list">
</tbody>
</table>
</div>
</div>
<script>
var previewEditUrl = '//tp.shopsrv.de/w2p/editor/init?w2pinframeredirect=true&w2pproductid=<?php echo $this->article->uuid ?>&ARTID=<?php echo TP_Crypt::encrypt(array('UUID' => $this->article->uuid, 'ARTID' => Zend_Session::getId(), 'COPY' => 2, 'load' => 3, 'SERVER' => $this->basepath, 'LAYOUTERID' => TP_Util::uuid())) ?>&time=<?= time(); ?>';
var batchUrl = '//tp.shopsrv.de/w2p/batch?w2pinframeredirect=true&w2pproductid=<?php echo $this->article->uuid ?>&ARTID=<?php echo TP_Crypt::encrypt(array('UUID' => $this->article->uuid, 'ARTID' => Zend_Session::getId(), 'COPY' => 2, 'load' => 4, 'SERVER' => $this->basepath, 'LAYOUTERID' => TP_Util::uuid())) ?>&time=<?= time(); ?>';
var accountId = '<?php echo $this->article->getCollectingOrdersAccount(); ?>';
var accountFilter = <?php echo $this->article->getCollectingOrdersAccountFilter(); ?>;
var collectingOrdersChangePicture = '<?php echo $this->article->isCollectingOrdersChangePicture(); ?>';
var collectingOrdersCopy = '<?php echo $this->article->isCollectingOrdersCopy(); ?>';
var collectingOrdersNewContact = '<?php echo $this->article->isCollectingOrdersNewContact(); ?>';
var collectingOrdersInviteContact = '<?php echo $this->article->isCollectingOrdersInviteContact(); ?>';
var accountOwn = '<?php echo $this->user->account_id ?>';
</script>

View File

@ -0,0 +1,83 @@
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/scripts/upload_multi.js');
?>
<style>
.swMain {
width: 800px !important;
}
.swMain ul.anchor li {
margin-bottom: 0 !important;
}
.swMain ul.anchor li a .stepNumber {
float: left;
font: bold 28px Verdana,Arial,Helvetica,sans-serif !important;
padding: 0 5px 5px;
position: relative;
text-align: center;
width: 30px;
}
.swMain div.actionBar, .swMain .stepContainer div.content {
border: none !important;
background: none !important;
}
.swMain .stepContainer div.content {
height: 280px !important;
width: 790px !important;
}
.swMain h2 {
margin: 0;
}
.swMain .stepContainer .upload_border {
border: 1px solid #E0E0E0 !important;
border-radius: 5px 5px 5px 5px !important;
margin-bottom: 10px;
padding: 5px;
width: 780px !important;
}
.swMain ul.anchor li a {
width: 380px !important;
}
.swMain ul li h3 {
margin: 0;
line-height: 22px;
}
.swMain .msgBox {
background-color: #FFD700 !important;
}
.swMain .stepContainer {
height: 295px !important;
}
</style>
<!-- Modal -->
<div class="modal fade" id="myUploadMulti" tabindex="-1" role="dialog" aria-labelledby="myUploadLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<h4 class="modal-title" id="myMultiUploadLabel"><?php echo $this->translate('Multiupload')?></h4>
</div>
<div class="modal-body">
<div id="upload_all">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Schließen')?></button>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,44 @@
<div class="page-header"><h1><?php echo $this->translate('Freigabe') ?></h1></div>
<div class="row-fluid">
<div class="span4">
<div class="thumbnail">
<?php if ($this->article->file1 != "" && $this->layouterPreviewId == ""): ?>
<a data-toggle="modal" href="#preview" data-content="" title="<?php echo $this->article->title ?>"><?php echo $this->image()->thumbnailImage($this->article->title, 'layouter', $this->article->file); ?></a>
<div class="modal hide" id="preview" style="width: 530px;">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><?php echo $this->translate('Vorschau')?></h3>
</div>
<div class="modal-body">
<img src="/<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file, true); ?>"/>
</div>
</div>
<?php elseif ($this->article->file != "" && $this->layouterPreviewId == ""): ?>
<a data-toggle="modal" href="#preview" data-content="" title="<?php echo $this->article->title ?>"><?php echo $this->image()->thumbnailImage($this->article->title, 'layouter', $this->article->file); ?></a>
<div class="modal hide" id="preview" style="width: 530px;">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><?php echo $this->translate('Vorschau') ?></h3>
</div>
<div class="modal-body">
<img src="/<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file, true); ?>"/>
</div>
</div>
<?php endif; ?>
<?php if (($this->article->a6_org_article != 0 && $this->article->file == "" && $this->article->file1 == "") || $this->layouterPreviewId): ?>
<a><?= $this->articleObj->generatePreview($this->article->id, $this->layouterPreviewId); ?></a>
<?php endif; ?>
</div>
</div>
<div class="span8">
<h1><?php echo $this->article->getTitle() ?></h1>
<?php echo $this->article->getInfo() ?>
</div>
</div><section style="margin-left: 10px">
<?php
EasyBib_Form_Decorator::setFormDecorator($this->form, \EasyBib_Form_Decorator::BOOTSTRAP, 'submit');
$this->form->setAttrib('class', 'niceform form-horizontal');
echo $this->form ?>
</section>

View File

@ -0,0 +1,7 @@
<h1><?php echo $this->translate('Article Overview') ?></h1>
<?php foreach ($this->articles as $article): ?>
<h3><?php echo $article->title ?></h3>
<p>Preis <?php echo $article->price ?></p>
<a href="article/show/?id=<?php echo $article->id ?>">Detail</a>
<hr>
<?php endforeach; ?>

View File

@ -0,0 +1,36 @@
<?php
$this->headLink()->appendStylesheet('/styles/admin/base.css');
$this->headLink()->appendStylesheet('/scripts/ext-3.0.0/resources/css/ext-all.css');
$this->headLink()->appendStylesheet('/scripts/vendor/wizard/resources/css/ext-ux-wiz.css');
$this->headScript()->appendFile('/scripts/tp/Locale.js');
$this->headScript()->appendFile('/scripts/tp/Locale/Gettext.js');
$this->headScript()->appendFile('/scripts/ext-3.0.0/adapter/ext/ext-base.js');
$this->headScript()->appendFile('/scripts/ext-3.0.0/ext-all-debug.js');
$this->headScript()->appendFile('/scripts/vendor/wizard/CardLayout.js');
$this->headScript()->appendFile('/scripts/vendor/wizard/Wizard.js');
$this->headScript()->appendFile('/scripts/vendor/wizard/Header.js');
$this->headScript()->appendFile('/scripts/vendor/wizard/Card.js');
$this->headScript()->appendFile('/scripts/admin/article/addarticle.js');
?>
<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $this->headMeta(); ?>
<?php echo $this->headLink(); ?>
<?php echo $this->headScript(); ?>
<?php if(Zend_Registry::get('locale')->getLanguage() == 'de'): ?>
<script type="text/javascript" src="/scripts/ext-3.0.0/src/locale/ext-lang-de.js"></script>
<?php else: ?>
<script type="text/javascript" src="/scripts/ext-3.0.0/src/locale/ext-lang-en.js"></script>
<?php endif; ?>
<!-- END: #header-files -->
<title>PrintShopCreator</title>
</head>
<body>
<div id="createarticle"></div>
</body>
</html>

View File

@ -0,0 +1,95 @@
<script type="text/javascript">
$(function() {
var data = new Array();
data['#fragment-1'] = '/article';
data['#fragment-2'] = '/article/mode/article';
data['#fragment-3'] = '/article/mode/articles';
data['#fragment-4'] = '/article/mode/templates';
data['#fragment-5'] = '/article/mode/customs';
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
data['#fragment-6'] = '<?php echo $this->url(array(),'myarticle') ?>';
<?php endif; ?>
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
data['#fragment-7'] = '<?php echo $this->url(array(),'mypersarticle') ?>';
<?php endif; ?>
data['#fragment-8'] = '/article/mode/calc';
data['#fragment-9'] = '/article/mode/stock';
$('#tabs').tabs({
selected: <?php echo ($this->mode-1) ?>,
select: function(event, ui) {
var url = data[ui.tab.hash];
if( url ) {
location.href = url;
return false;
}
return true;
}
});
})
</script>
<div id="tabs">
<ul>
<?php if($this->shop->template_display_products_all): ?>
<li><a href="#fragment-1"><span><?php echo $this->translate('Alle') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_product_templates): ?>
<li><a href="#fragment-2"><span><?php echo $this->translate('Produkte &<br/>Vorlagen') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_products): ?>
<li><a href="#fragment-3"><span><?php echo $this->translate('Produkte') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_templates): ?>
<li><a href="#fragment-4"><span><?php echo $this->translate('Vorlagen') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_custom_layouter): ?>
<li><a href="#fragment-5"><span><?= $this->translate('neu individuell<br/>gestalten') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_own_products): ?>
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
<li><a href="#fragment-6"><span><?= $this->translate('eigene<br/>Produkte') ?></span></a></li>
<?php else: ?>
<li style="display:none"><a href="#fragment-6"><span></span></a></li>
<?php endif;?>
<?php if($this->shop->template_display_products_my_products): ?>
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
<li><a href="#fragment-7"><span><?= $this->translate('persönliche<br/>Produkte') ?></span></a></li>
<?php else: ?>
<li style="display:none"><a href="#fragment-7"><span></span></a></li>
<?php endif;?>
<?php endif; ?>
<?php if($this->shop->template_display_products_calc): ?>
<?php endif; ?>
<li><a href="#fragment-8"><span><?= $this->translate('Kalkulation &<br/>Upload') ?></span></a></li>
<?php endif; ?>
<?php if($this->shop->template_display_products_depot): ?>
<li><a href="#fragment-9"><span><?= $this->translate('Lagerware') ?></span></a></li>
<?php endif; ?>
</ul>
<div id="fragment-<?= $this->mode ?>">
<?php if(count($this->filter->getArticleFilter()) > 0): ?>
<p><strong><?= $this->translate('Filter') ?>:</strong>
<?php foreach($this->filter->getArticleFilter() as $key => $title): ?>
<?= $title; ?> <a href="<?= $this->url(array('theme' => $key),'articlethemedel') ?>" alt=""><img src="<?= $this->designPath ?>img/minus.png" alt="" /></a>
<?php endforeach; ?>
</p>
<p>&nbsp;</p>
<?php endif; ?>
<?= $this->partial('doctrinepagination.phtml', array('paginator' => $this->paginator, 'sort' => $this->sort)) ?>
<?php foreach ($this->articles as $article): ?>
<?= $this->partial('article/_articlelistitem.phtml', array('admin' => $this->admin, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop)) ?>
<?php endforeach; ?>
<div style="clear:both"></div>
<?= $this->partial('doctrinepagination.phtml', array('paginator' => $this->paginator, 'sort' => $this->sort)) ?>
</div>
<div id="fragment-<?= $this->mode2 ?>"></div>
<div id="fragment-<?= $this->mode3 ?>"></div>
<div id="fragment-<?= $this->mode4 ?>"></div>
<div id="fragment-<?= $this->mode5 ?>"></div>
<div id="fragment-<?= $this->mode6 ?>"></div>
<div id="fragment-<?= $this->mode7 ?>"></div>
<div id="fragment-<?= $this->mode8 ?>"></div>
<div id="fragment-<?= $this->mode9 ?>"></div>
</div>

View File

@ -0,0 +1,57 @@
<div class="row">
<div class="col-xs-12">
<?php
$articleObj = new market_article();
if(count($this->myarticles) > 0):
?>
<h3><?php echo $this->inworkCount; ?> <?= $this->translate('Produkte in Bearbeitung', 'text') ?> </h3>
<hr style="margin:0">
<a href="/article/inwork/?delall=1"><?= $this->translate('Alle löschen')?></a>
<br>
<br><br>
<?php
foreach ($this->myarticles as $article):
if($article['orginal'] == false) continue;
?>
<div class="row">
<div class="col-xs-3"><b><?php echo $this->escape($article['session']->getTitle()); ?></b></div>
<div class="col-xs-2"><b><?php echo $this->escape($article['session']->getRef()); ?></b></div>
<div class="col-xs-5"><?php echo $article['session']->getUpdated() ?></div>
<div class="col-xs-2"><a class="btn btn-default produkt-config-btn" href="<?php echo $this->url(array('article' => $article['orginal']->url, 'layouter' => $article['session']->getArticleId()), 'article'); ?>"><?php echo $this->translate('Konfigurieren/Bestellen')?></a></div>
</div>
<hr /><br>
<?php endforeach; ?>
<br>
<a href="/article/inwork/?delall=1"><?= $this->translate('Alle löschen')?></a>
<hr>
<?php else: ?>
<div class="well">
<h4><?php echo $this->translate('Keine Produkte in der Bearbeitungsliste vorhanden')?></h4>
</div>
<?php endif;?>
</div>
</div>

View File

@ -0,0 +1,13 @@
<div class="row">
<div class="span3"><?= $this->partial ( 'sidenav.phtml', array ('shop' => $this->shop)); ?></div>
<div class="span9"><?= $this->partial ( 'product_tabs.phtml', array ('finisharticles' => $this->finisharticles, 'shop' => $this->shop, 'articlegroup' => $this->articlegroup, 'mode' => $this->mode, 'inworkCount' => $this->inworkCount, 'currency' => $this->currency, 'designPath' => $this->designPath ) );?>
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
<ul class="thumbnails">
<?php foreach ($this->myarticles as $article): ?>
<?php echo $this->partial('article/_articlelistitem.phtml', array('admin' => $this->admin, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'myarticle' => true, 'designPath' => $this->designPath, 'shop' => $this->shop)) ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>

View File

@ -0,0 +1,18 @@
<?php if(Zend_Auth::getInstance()->hasIdentity()==true): ?>
<div class="col-xs-12" id="overview_index-article">
<div class="panel panel-default">
<div class="panel-body">
<?php foreach ($this->myarticles as $article): ?>
<?=
// $this->partial('article/_articlelistitem.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop))
$this->partial('article/_articlelistitem_produktuebersicht.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop));
?>
<?php endforeach; ?>
</div>
</div>
</div>
<?php endif; ?>

View File

@ -0,0 +1,36 @@
<script type="text/javascript">
$(document).ready(function() {
$("#pb").progressbar({showText: false} );
var percentage = 10;
var i = setInterval(function() {
$("#pb").progressbar('option', 'value', percentage);
percentage = percentage + 10
if(percentage > 100) percentage = 0;
}, 1500);
$.getJSON("/article/preview/<?php echo $this->uuid ?>/<?php echo $this->layouterid ?>/?gen=1",
function(data){
if(data.file) {
var flashvars = {XMLFile: data.file,wmode:"transparent"};
var params = {allowFullScreen: "true",wmode:"transparent"};
swfobject.embedSWF("/scripts/artgallery/ArtFlashGallery.swf", "previewContent","430", "424", "9.0.0",false, flashvars, params);
}
$("#pb").hide("slow");
});
});
</script>
<style type="text/css">
.ui-progressbar-value { background-image: url(/images/pbar-ani.gif); }
.ui-progressbar { height: 1em; }
</style>
<div id="pb"></div>
<div id="vs" style="display:none"><a id="pvl" href=""><?php echo $this->translate('Preview') ?></a></div>
<?php $this->headScript()->prependFile('/scripts/artgallery/js/swfobject.js') ?>
<script type="text/javascript">
</script>
<div id="previewContent">
</div>

View File

@ -0,0 +1,17 @@
<?php echo $this->articleTemplate; ?>
<?php
$relatedbuys = $this->article->getRelated();
if ($this->shop->template_display_products_crossselling && !empty($relatedbuys)):
?>
<h3><?php echo $this->translate('Wir empfehlen auch', 'text', 'releated_article_h1') ?></h3>
<div class="row">
<?php foreach ($relatedbuys as $article): ?>
<?= $this->partial('article/_articlelistitem.phtml', array('basepath' => $this->basepath, 'admin' => $this->admin, 'mode' => $this->mode, 'user' => $this->user, 'currency' => $this->currency, 'article' => $article, 'designPath' => $this->designPath, 'shop' => $this->shop)) ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,44 @@
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/scripts/list.js');
$this->headScript()->prependFile('/'. $this->designPath . '/delivery_data.js');
?>
<div class="modal fade" tabindex="-1" role="dialog" id="myDeliveryData" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h4 class="modal-title"><?php echo $this->translate('Lieferaufteilung')?></h4>
</div>
<div class="modal-body" style="max-height: 260px;overflow: auto;">
<form id="delivery_data_form">
<table class="table " id="delivery_data">
<thead>
<tr>
<th></th>
<th>Firma</th>
<th>Vorname</th>
<th>Nachname</th>
<th>Straße</th>
<th>Nr</th>
<th>PLZ</th>
<th>Ort</th>
<th>Land</th>
<th>Anzahl</th>
<th></th>
</tr>
</thead>
<tbody class="list">
</tbody>
</table>
</form>
</div>
<div class="modal-footer">
<span class="wrongSumAmount alert alert-danger">Ihre Aufteilung stimmt nicht mit der Menge überein.</span>
<a rel="#addDeliveryContact" class="btn btn-primary"><?php echo $this->translate('Zeile einfügen')?></a>
<a rel="#saveDeliveryData" class="btn btn-warning"><?php echo $this->translate('Speichern & Schließen')?></a>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,21 @@
<div class="row done_index" style="margin-bottom:5em">
<div class="page-header col-xs-11 col-xs-offset-1">
<h1><?php echo $this->translate('Vielen Dank für Ihre Bestellung') ?></h1>
<p style="margin:4em 0"><?php echo $this->translate('Sie erhalten in Kürze eine Bestätigungsmail Ihrer Bestellung.')?></p>
<a class="btn btn-info btn-large" href="/user/myorders"><?php echo $this->translate('Zu meinen Aufträgen')?></a>
<a class="btn btn-info btn-large" href="/"><?php echo $this->translate('Zur Startseite')?></a>
<a class="btn btn-info btn-large" href="/user?logout=1"><?php echo $this->translate('Abmelden')?></a>
</div>
</div>

View File

@ -0,0 +1,364 @@
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/' . $this->designPath . '/basket/index.js');
?>
<style>
ul.breadcrumb {
display: none;
}
.btn-group.basket.col-xs-12 {
margin-top: 20px;
}
</style>
<div class="finish_index">
<!--<div class="page-header col-xs-12"><?php echo $this->translate('Warenkorb / Bestellung') ?></div>-->
<?php if ($this->basketIsEmpty) : ?>
<div class="basket col-xs-12">
<div class="alert alert-danger" style="min-height:20em;"><?php echo $this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung mC6glich.') ?></div>
</div>
<div class="col-xs-10 col-xs-offset-1" style="margin-bottom:7em;">
<h3>Vielleicht möchten Sie einfach auf der Startseite beginnen?</h3>
<br>
<a class="btn btn-lg btn-success" href="/" title="<?= $this->shop->name; ?>: zur Startseite">Zur Startseite</a>
</div>
<?php else : ?>
<div class="btn-group basket col-xs-12">
<a class="btn btn-success" href="/basket">
<h4><?php echo $this->translate('Schritt') ?> 1: <?php echo $this->translate('Warenkorb') ?></h4><?php echo $this->translate('Übersicht über Ihre Bestellung') ?>
</a>
<a class="btn btn-success" href="/basket/review">
<h4><?php echo $this->translate('Schritt') ?> 2: <?php echo $this->translate('Adressdaten') ?></h4><?php echo $this->translate('Rechnungs- und Lieferadresse angeben') ?>
</a>
<label class="btn btn-success active">
<h4><?php echo $this->translate('Schritt') ?> 3: <?php echo $this->translate('AGB') ?></h4><?php echo $this->translate('Bestätigen und bestellen') ?>
</label>
</div>
<?php endif; ?>
<!--<?php if ($this->cms()->getCmsByIdMarket('template_display_orders')->text1 != '') : ?>
<div class="col-xs-12">
<?php echo $this->cms()->getCmsByIdMarket('template_display_orders')->text1; ?>
</div>
<?php endif; ?>-->
<div class="row">
<div class="col-sm-4 invoice">
<div class="well">
<h4><?php echo $this->translate('Rechnungsadresse') ?>:</h4>
<p>
<?php if ($this->invoice_address->getCompany() != "") : ?><?php echo $this->invoice_address->getCompany() ?></br><?php endif; ?>
<?php if ($this->invoice_address->getCompany2() != "") : ?><?php echo $this->invoice_address->getCompany2() ?><br /><?php endif; ?>
<?php echo $this->invoice_address->getAnrede() ?> <?php echo $this->invoice_address->getFirstname() ?> <?php echo $this->invoice_address->getLastname() ?>
<?php if ($this->invoice_address->getAbteilung() != "") : ?><br /><?php echo $this->invoice_address->getAbteilung() ?><?php endif; ?>
<br /><?php echo $this->invoice_address->getStreet() ?> <?php echo $this->invoice_address->getHouseNumber() ?>
<br /><?php echo $this->invoice_address->getCountry() ?> <?php echo $this->invoice_address->getZip() ?> <?php echo $this->invoice_address->getCity() ?> </p>
<p><a class="btn btn-primary" href="/basket/review"><?php echo $this->translate('Ändern') ?></a></p>
</div>
</div>
<?php if (true || $this->shop->display_delivery) : ?>
<div class="col-sm-4 invoice">
<div class="well">
<h4><?php echo $this->translate('Lieferadresse') ?>:</h4>
<p>
<?php if ($this->delivery_address->getCompany() != "") : ?><?php echo $this->delivery_address->getCompany() ?><br /><?php endif; ?>
<?php if ($this->delivery_address->getCompany2() != "") : ?><?php echo $this->delivery_address->getCompany2() ?><br /><?php endif; ?>
<?php echo $this->delivery_address->getAnrede() ?> <?php echo $this->delivery_address->getFirstname() ?> <?php echo $this->delivery_address->getLastname() ?>
<?php if ($this->delivery_address->getAbteilung() != "") : ?><br /><?php echo $this->delivery_address->getAbteilung() ?><?php endif; ?>
<br /><?php echo $this->delivery_address->getStreet() ?> <?php echo $this->delivery_address->getHouseNumber() ?>
<br /><?php echo $this->delivery_address->getCountry() ?> <?php echo $this->delivery_address->getZip() ?> <?php echo $this->delivery_address->getCity() ?> </p>
<p><a class="btn btn-primary" href="/basket/review"><?php echo $this->translate('Ändern') ?></a></p>
</div>
</div>
<?php endif; ?>
<?php if ($this->shop->display_sender) : ?>
<div class="col-sm-4 invoice">
<div class="well">
<h4><?php echo $this->translate('Absenderadresse') ?>:</h4>
<p>
<?php if ($this->sender_address->getCompany() != "") : ?><?php echo $this->sender_address->getCompany() ?><br /><?php endif; ?>
<?php if ($this->sender_address->getCompany2() != "") : ?><?php echo $this->sender_address->getCompany2() ?><br /><?php endif; ?>
<?php echo $this->sender_address->getAnrede() ?> <?php echo $this->sender_address->getFirstname() ?> <?php echo $this->sender_address->getLastname() ?>
<?php if ($this->sender_address->getAbteilung() != "") : ?><br /><?php echo $this->sender_address->getAbteilung() ?><?php endif; ?>
<br /><?php echo $this->sender_address->getStreet() ?> <?php echo $this->sender_address->getHouseNumber() ?>
<br /><?php echo $this->sender_address->getCountry() ?> <?php echo $this->sender_address->getZip() ?> <?php echo $this->sender_address->getCity() ?> </p>
<p><a class="btn btn-primary" href="/basket/review"><?php echo $this->translate('Ändern') ?></a></p>
</div>
</div>
<?php endif; ?>
</div>
<div class="clearfix"></div>
<div class="col-xs-12">
<?php echo $this->translate('Gewählte Versandart') ?>: <b><?php echo $this->shippingtype->title ?></b> <a href="/basket/index"><?php echo $this->translate('Ändern') ?></a><br>
<?php echo $this->translate('Gewählte Zahlungsart') ?>: <b><?php echo $this->paymenttype->title ?></b> <a href="/basket/index"><?php echo $this->translate('Ändern') ?></a>
</div>
<div class="clearfix"></div>
<div class="btn-group basket col-xs-12" style="margin-top:2em;">
<h3><?php echo $this->translate('Warenkorb') ?> <a href="/basket/index"><?php echo $this->translate('Produkte ändern') ?></a></h3>
<form action="/basket/finish" method="post" enctype="multipart/form-data">
<div class="clearfix"></div>
<?php foreach ($this->basket_articles_complete as $article) : ?>
<div class="col-lg-12 <?php echo $this->cycle(array("odd", "even"))->next() ?>">
<?php echo $this->partial($article['article']->typ . '_basket_index.phtml', array('article' => $article, 'currency' => $this->currency, 'shop' => $this->shop, 'finish' => true)) ?>
</div>
<?php endforeach; ?>
</div>
<?php
/************************************************************************************************************************************************************************
* Zusammenfassung der Bestellung
*/
?>
<div class="col-xs-12 col-lg-9 pull-right">
<table width="100%" class="table table-bordered">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><thead>
<?php if ($this->withTax) : ?>
<tr>
<th class="well text-right" style="font-weight:100;"><?php echo $this->translate('Produktpreis (Netto)'); ?>:</th>
<th class="well">&nbsp;</th>
<th class="well text-right" style="font-weight:100;"><?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getProduktPreisBrutto()) ?></th>
</tr>
<tr>
<th class="well text-right"><?php echo $this->translate('Produktpreis (inkl. MwSt.)'); ?>:</th>
<th class="well">&nbsp;</th>
<th class="well text-right"><?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getProduktPreisBrutto()) ?></th>
</tr>
<?php else : ?>
<tr>
<th class="well text-right"><?php echo $this->translate('Produktpreis'); ?>:</th>
<th class="well">&nbsp;</th>
<th class="well text-right"><?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getProduktPreisNetto()) ?></th>
</tr>
<?php endif; ?>
</thead><?php } ?>
<tr>
<td align="right">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->translate('zzgl. Versand'); ?><?php } else { ?><?php echo $this->translate('Versand'); ?><?php } ?>:
</td>
<td>
<span style="color: #000"><?php echo $this->shippingtype->title ?></span>
</td>
<td align="right">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getVersandBrutto()) ?><?php } ?>
</td>
</tr>
<?php if (!$this->no_payment) : ?>
<?php if(!$this->designsettings()->get('display_no_price')) { ?><tr>
<td align="right">
<?php echo $this->translate('zzgl. Zahlart'); ?>:
</td>
<td>
<span style="color: #000"><?php echo $this->paymenttype->title ?></span>
</td>
<td align="right">
<?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getZahlartBrutto()) ?>
</td>
</tr><?php } ?>
<?php endif; ?>
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php if ($this->withTax) : ?>
<?php foreach (TP_Basket::getBasket()->getMWert() as $key => $mw) : ?>
<tr>
<td align="right">
<?php echo $this->translate('enth. MwSt.'); ?> <?= $key ?>%:
</td>
<td align="right">
</td>
<td align="right">
<?php echo $this->currency->toCurrency($mw) ?>
</td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
<tr class="brutto">
<td align="right" class="well">
<h4><?php echo $this->translate('Gesamtbetrag'); ?>:</h4>
</td>
<td align="right" class="well">
</td>
<td align="right" class="well">
<h4><?php echo $this->currency->toCurrency($this->preisbrutto) ?></h4>
</td>
</tr><?php } ?>
<?php if ($this->basket_gutschein_enable != "") : ?>
<tr>
<td align="right">
<strong><?php echo $this->translate('abzgl. Gutschein'); ?>:</strong>
</td>
<td align="right">
</td>
<td align="right">
<?php echo $this->currency->toCurrency($this->basket_gutschein) ?>
</td>
</tr>
<tr>
<td align="right" class="text-white bg-success"><strong><?php echo $this->translate('Preis abzgl. Gutschein'); ?>:</strong></td>
<td align="right" class="text-white bg-success">
</td>
<td align="right" class="text-white bg-success">
<?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getPreisBrutto() - $this->basket_gutschein) ?>
</td>
</tr>
<?php endif; ?>
</table>
<div class="clearfix"></div>
<script>
$(function()
{
$('input[type=checkbox][name=agb]').change(function() {
$('input[type=hidden][name=agb]').val("1");
});
$('input[type=checkbox][name=revocation]').change(function() {
$('input[type=hidden][name=revocation]').val("1");
});
$('input[type=checkbox][name=privacy]').change(function() {
$('input[type=hidden][name=privacy]').val("1");
});
});
</script>
<div class="col-xs-12">
<div class="pull-right">
<?php if (!$this->designsettings()->get('b2bshop')) : ?>
<input type="hidden" name="agb" value="0" />
<?php if ($this->erroragb == true) : ?>
<div class="control-group error">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="agb" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/agb" target="_blank">AGBs</a> habe ich zur Kenntnis genommen und akzeptiere diese.') ?></span>
</label>
</div>
</div>
<?php else : ?>
<div class="control-group">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="agb" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/agb" target="_blank">AGBs</a> habe ich zur Kenntnis genommen und akzeptiere diese.') ?></span>
</label>
</div>
</div>
<?php endif; ?>
<input type="hidden" name="revocation" value="0" />
<?php if ($this->errorrevocation == true) : ?>
<div class="control-group error">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="revocation" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/revocation" target="_blank">Widerrufsbelehrung</a> habe ich zur Kenntnis genommen.') ?></span>
</label>
</div>
</div>
<?php else : ?>
<div class="control-group">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="revocation" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/revocation" target="_blank">Widerrufsbelehrung</a> habe ich zur Kenntnis genommen.') ?></span>
</label>
</div>
</div>
<?php endif; ?>
<input type="hidden" name="privacy" value="0" />
<?php if ($this->errorprivacy == true) : ?>
<div class="control-group error">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="privacy" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/privacy" target="_blank">Datenschutzerklärung</a> habe ich zur Kenntnis genommen.') ?></span>
</label>
</div>
</div>
<?php else : ?>
<div class="control-group">
<div class="controls">
<label class="checkbox" style="padding-top: 0">
<input type="checkbox" name="privacy" value="1" data-toggle="toggle" data-size="small" data-offstyle="danger" data-onstyle="success" data-on="Ja" data-off="Nein" />
<span style="margin-bottom: 0"><?php echo $this->translate('Die <a href="/privacy" target="_blank">Datenschutzerklärung</a> habe ich zur Kenntnis genommen.') ?></span>
</label>
</div>
</div>
<?php endif; ?>
<?php else : ?>
<input type="hidden" name="agb" value="1" />
<input type="hidden" name="revocation" value="1" />
<input type="hidden" name="privacy" value="1" />
<?php endif; ?>
</div><!-- //class="pull-right" -->
</div>
<div class="clearfix"></div>
<div class="col-xs-12">
<?php if (!$this->designsettings()->get('b2bshop')) : ?>
<button type="submit" class="btn btn-success btn-lg pull-right"><?php echo $this->translate('kostenpflichtig bestellen') ?></button>
<?php else : ?>
<button type="submit" class="btn btn-success btn-lg pull-right"><?php echo $this->translate('Bestellung abschließen') ?></button>
<?php endif; ?>
</div>
<div class="clearfix" style="margin-top:2em;margin-bottom:2em;"></div>
</form>
</div>
</div>

View File

@ -0,0 +1,416 @@
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/' . $this->designPath . '/basket/index.js');
?>
<style>
ul.breadcrumb {
display: none;
}
</style>
<div class="row basket_index">
<!--<div class="page-header col-xs-12"><?php echo $this->translate('Warenkorb / Bestellung') ?></div>-->
<?php if ($this->basketIsEmpty): ?>
<div class="basket col-xs-12">
<div class="alert alert-danger" style="min-height:2em;"><?php echo
$this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.')
?></div>
</div>
<div class="col-xs-10 col-xs-offset-1" style="margin-bottom:7em;">
<h3><?php echo $this->translate('Vielleicht möchten Sie einfach auf der Startseite beginnen?') ?></h3>
<br>
<a class="btn btn-lg btn-success" href="/" title="<?= $this->shop->name; ?>: zur Startseite"><?php echo
$this->translate('Zur Startseite')
?></a>
</div>
<?php else: ?>
<div class="btn-group basket col-xs-12">
<label class="btn btn-success active">
<h4><?php echo $this->translate('Schritt') ?> 1: <?php echo $this->translate('Warenkorb') ?></h4><?php echo
$this->translate('Übersicht über Ihre Bestellung')
?>
</label>
<label class="btn btn-default">
<h4><?php echo $this->translate('Schritt') ?> 2: <?php echo $this->translate('Adressdaten') ?></h4><?php echo
$this->translate('Rechnungs- und Lieferadresse angeben')
?>
</label>
<label class="btn btn-default">
<h4><?php echo $this->translate('Schritt') ?> 3: <?php echo $this->translate('AGB') ?></h4><?php echo
$this->translate('Bestätigen und bestellen')
?>
</label>
</div>
<div class="btn-group basket col-lg-12">
<div class="clearfix"></div>
<div class="basketborder">
<?php foreach ($this->articles as $article): ?>
<div class="col-lg-12 <?php echo $this->cycle(array('odd', 'even'))->next() ?>">
<?php echo
$this->partial($article['article']->typ . '_basket_index.phtml', array(
'article' => $article,
'currency' => $this->currency,
'shop' => $this->shop,
'finish' => false,
))
?>
</div>
<?php endforeach; ?>
</div>
<?php
/************************************************************************************************************************************************************************
* Zusammenfassung der Bestellung
*/
?>
<br>
<br>
<div class="row">
<div class="col-sm-offset-3 col-lg-9 nomobilebasketprice">
<form action="<?php echo $this->redirect_ssl_path ?>/basket" method="post" class="niceform" enctype="multipart/form-data">
<table class="table table-bordered">
<?php if (!$this->designsettings()->get('display_no_price')) { ?><thead>
<tr>
<th class="well text-right" style="font-weight:100;"><?php echo
$this->translate('Produktpreis')
; ?>:</th>
<th class="well">&nbsp;</th>
<th class="well text-right" style="font-weight:100;"><?php echo
$this->currency->toCurrency($this->productnetto)
?> (<?php echo $this->currency->toCurrency($this->productbrutto) ?>)</th>
</tr>
</thead><?php } ?>
<tbody>
<tr>
<td align="right">
<?php if (!$this->designsettings()->get('display_no_price')) { ?><?php echo
$this->translate('zzgl. Versand')
; ?><?php } else { ?><?php echo $this->translate('Versand'); ?><?php } ?>:
</td>
<td style="width:36%">
<select name="shippingtype" onchange="javascript:this.form.submit()" style="width:100%">
<?php foreach ($this->shippingtype as $shippingtype): ?>
<option value="<?php echo $shippingtype['id'] ?>" <?php echo
$shippingtype['id'] == $this->shippingselected
? 'selected="selected"'
: ''
?>><?php echo $shippingtype['title'] ?></option>
<?php endforeach; ?>
</select>
<?php echo $this->shippingtypeselected['description'] ?>
</td>
<td align="right" style="width:21%">
<?php if (!$this->designsettings()->get('display_no_price')) { ?><?php echo
$this->currency->toCurrency($this->versand)
?> (<?php echo $this->currency->toCurrency($this->versandbrutto) ?>)<?php } ?>
</td>
</tr>
<?php if (!$this->no_payment): ?>
<tr>
<?php if (!$this->designsettings()->get('display_no_price')) { ?><td align="right">
<?php echo $this->translate('zzgl. Zahlart'); ?>:
</td>
<td style="width:36%">
<select name="paymenttype" onchange="javascript:this.form.submit()" style="width:100%">
<?php foreach ($this->paymenttype as $paymenttype): ?>
<option value="<?php echo $paymenttype['id'] ?>" <?php echo
$paymenttype['id'] == $this->paymentselected
? 'selected="selected"'
: ''
?>><?php echo $paymenttype['title'] ?></option>
<?php endforeach; ?>
<?php foreach ($this->paymenttypecontact as $paymenttype): ?>
<option value="<?php echo $paymenttype['id'] ?>" <?php echo
$paymenttype['id'] == $this->paymentselected
? 'selected="selected"'
: ''
?>><?php echo $paymenttype['title'] ?></option>
<?php endforeach; ?>
</select>
<?php echo $this->paymenttypeselected['description'] ?>
</td>
<td align="right" style="width:21%">
<?php if (!$this->designsettings()->get('display_no_price')) { ?><?php echo
$this->currency->toCurrency($this->paymentwert)
?> (<?php echo $this->currency->toCurrency($this->paymentwertbrutto) ?>)<?php } ?>
</td>
</tr><?php } ?>
<?php endif; ?>
<?php if (!$this->designsettings()->get('b2bshop')): ?>
<?php if (!$this->designsettings()->get('display_no_price')) { ?>
<tr>
<td align="right"><?php echo $this->translate('Gutscheincode') ?>:</td>
<td align="right">
<input style="width: 100%;" type="text" name="gutscheincode" value="<?php echo
$this->gutscheincode
?>" class="" />
</td>
<td align="right" style="width:21%">
<input class="btn vouchersubmit" type="submit" value="<?php echo
$this->translate('Einlösen')
?>" />
</td>
</tr>
<?php }
endif; ?>
<?php if (
$this->errorGutscheincode == false &&
$this->gutscheincode != '' &&
(
TP_Basket::getBasket()->getGutscheinAbzugTyp() ==
TP_Basket::GUTSCHEIN_ALL ||
TP_Basket::getBasket()->getGutscheinAbzugTyp() ==
TP_Basket::GUTSCHEIN_PRODUCT
)
): ?>
<?php endif; ?>
<?php if (!$this->designsettings()->get('display_no_price')) { ?><?php foreach ($this->mwertalle as $key => $mw): ?>
<tr>
<td align="right">
<?php echo $this->translate('enth. MwSt.'); ?> <?= $key ?>%:
</td>
<td align="right">
</td>
<td align="right" style="width:21%">
<?php echo $this->currency->toCurrency($mw) ?>
</td>
</tr>
<?php endforeach; ?><?php } ?>
<?php if (!$this->designsettings()->get('display_no_price')) { ?><tr class="brutto">
<td align="right" class="well">
<h4><?php echo $this->translate('Gesamtbetrag'); ?>:<?php /*echo $this->currency->toCurrency($this->brutto / 1.19)*/ ?></h4>
</td>
<td class="well">
&nbsp;
</td>
<td align="right" style="width:21%" class="well">
<h4><?php echo $this->currency->toCurrency($this->brutto) ?></h4>
</td>
</tr><?php } ?>
<?php if (
$this->errorGutscheincode == false &&
$this->gutscheincode != '' &&
(
TP_Basket::getBasket()->getGutscheinAbzugTyp() ==
TP_Basket::GUTSCHEIN_ALL ||
TP_Basket::getBasket()->getGutscheinAbzugTyp() ==
TP_Basket::GUTSCHEIN_PRODUCT
)
): ?>
<tr>
<td align="right" class="grey"></td>
<td align="right" class="grey">
<strong><?php echo $this->translate('abzgl. Gutschein'); ?>:</strong>
</td>
<td align="right" style="width:21%" class="grey">
<?php echo $this->currency->toCurrency($this->gutscheincodeabzug) ?>
</td>
</tr>
<tr>
<td align="right" class="grey abstand"></td>
<td align="right" class="grey abstand bg-success text-white">
<strong><?php echo $this->translate('Preis abzgl. Gutschein'); ?>:</strong>
</td>
<td align="right" style="width:21%" class="grey bg-success text-white abstand lastcolumn">
<?php echo $this->currency->toCurrency($this->productbruttogutschein) ?>
</td>
</tr>
<?php endif; ?>
</form>
<form action="<?php echo $this->redirect_ssl_path ?>/basket/review" method="GET" class="niceform" enctype="multipart/form-data" id="form-demo">
<?php if ($this->shop->basketfield1): ?>
<tr class="brutto">
<td align="right">
</td>
<td style="width:21%" colspan="2">
<?php echo $this->translate($this->shop->basketfield1) ?><br />
<textarea style="width: 100%;" name="basketfield1"><?php echo $this->basketfield1 ?></textarea>
</td>
</tr>
<?php endif; ?>
<?php if ($this->shop->basketfield2): ?>
<tr class="brutto">
<td align="right">
</td>
<td style="width:21%" colspan="2">
<?php echo $this->translate($this->shop->basketfield2) ?><br />
<textarea style="width: 100%;" name="basketfield2"><?php echo $this->basketfield2 ?></textarea>
</td>
</tr>
<?php endif; ?>
</table>
<div style="clear:both"></div>
<div class="basketButtons pull-right">
<input type="submit" class="btn btn-info btn-lg" title="weiter" onclick="location.href='/';return false;" value="<?php echo
$this->translate('weiter einkaufen')
?>" />
<input type="submit" class="btn btn-success btn-lg" title="bestellen" value="<?php echo
$this->translate('Zur Kasse gehen')
?>" />
</div>
</form>
</div>
<!-- //Mobileview -->
<div class="col-lg-12 mobilebasketprice">
<h4 class="h4netprice"><?php echo $this->translate('Produktsumme Brutto'); ?>: <span class="basket_netprice pull-right"><?php echo
$this->currency->toCurrency($this->productbrutto)
?></span></h4>
<form action="<?php echo $this->redirect_ssl_path ?>/basket" method="post" class="niceform" enctype="multipart/form-data">
<?php echo $this->translate('zzgl. Versand'); ?>:
<span class="shippingprice pull-right"><?php echo
$this->currency->toCurrency($this->versandbrutto)
?></span>
<select name="shippingtype" onchange="javascript:this.form.submit()" class="formpaymenttype pull-right">>
<?php foreach ($this->shippingtype as $shippingtype): ?>
<option value="<?php echo $shippingtype['id'] ?>" <?php echo
$shippingtype['id'] == $this->shippingselected ? 'selected="selected"' : ''
?>><?php echo $shippingtype['title'] ?></option>
<?php endforeach; ?>
</select>
<hr class="transparenthr" />
<?php echo $this->shippingtypeselected['description'] ?>
<hr class="transparenthr" />
<?php if (!$this->no_payment): ?>
<?php echo $this->translate('zzgl. Zahlart'); ?>:
<span class="paymentprice pull-right"><?php echo
$this->currency->toCurrency($this->paymentwertbrutto)
?></span>
<select name="paymenttype" onchange="javascript:this.form.submit()" class="formpaymenttype pull-right">
<?php foreach ($this->paymenttype as $paymenttype): ?>
<option value="<?php echo $paymenttype['id'] ?>" <?php echo
$paymenttype['id'] == $this->paymentselected ? 'selected="selected"' : ''
?>><?php echo $paymenttype['title'] ?></option>
<?php endforeach; ?>
<?php foreach ($this->paymenttypecontact as $paymenttype): ?>
<option value="<?php echo $paymenttype['id'] ?>" <?php echo
$paymenttype['id'] == $this->paymentselected ? 'selected="selected"' : ''
?>><?php echo $paymenttype['title'] ?></option>
<?php endforeach; ?>
</select>
<hr class="transparenthr" />
<span class="paymenttypdescription"><?php echo
$this->paymenttypeselected['description']
?></span>
<hr class="transparenthr" />
<?php endif; ?>
<?php if (!$this->designsettings()->get('b2bshop')): ?>
<div class="control-group">
<label for="basket_voucher" class="control-label"><?php echo
$this->translate('Gutscheincode')
?></label>
<div class="controls">
<input type="text" name="gutscheincode" value="<?php echo $this->gutscheincode ?>" class="basketmobileform" />
</div>
</div>
<div class="control-group clearfix">
<?php if (
(isset($_POST['gutscheincode']) and $_POST['gutscheincode'] != '') and
$this->gutscheincode == ''
) { ?>
<strong class="danger">Gutscheincode ungültig</strong>
<?php } ?>
<div class="controls pull-right">
<input class="btn vouchersubmit" type="submit" value="<?php echo
$this->translate('Einlösen')
?>" />
</div>
</div>
<?php endif; ?>
<hr class="transparenthr" />
<div class="control-group">
<?php foreach ($this->mwertalle as $key => $mw): ?>
<span class="basketVattxt"><?php echo $this->translate('enth. MwSt.'); ?><?= $key ?>%:</span> <span class="basketVatprice pull-right"><?php echo
$this->currency->toCurrency($mw)
?></span><br />
<?php endforeach; ?>
</div>
<h4 class="h4grossprice"><?php echo $this->translate('Gesamtsumme Brutto'); ?>:<?php /*echo $this->currency->toCurrency($this->brutto / 1.19)*/ ?> <span class="basket_grossprice pull-right"><?php echo
$this->currency->toCurrency($this->brutto)
?></span></h4>
</form>
<form action="<?php echo $this->redirect_ssl_path ?>/basket/review" method="GET" class="niceform" enctype="multipart/form-data" id="basketformmobile">
<?php if ($this->shop->basketfield1): ?>
<div class="control-group">
<label for="basket_fild1" class="control-label"><?php echo $this->shop->basketfield1 ?></label>
<div class="controls">
<textarea name="basketfield1"><?php echo $this->basketfield1 ?></textarea>
</div>
</div>
<?php endif; ?>
<?php if ($this->shop->basketfield2): ?>
<div class="control-group">
<label for="basket_fild2" class="control-label"><?php echo $this->shop->basketfield2 ?></label>
<div class="controls">
<textarea name="basketfield2"><?php echo $this->basketfield2 ?></textarea>
</div>
</div>
<?php endif; ?>
<div class="basketButtons pull-right">
<input type="submit" class="btn btn-info btn-lg" title="weiter" onclick="location.href='/';return false;" value="<?php echo
$this->translate('weiter einkaufen')
?>" />
<input type="submit" class="btn btn-success btn-lg" title="bestellen" value="<?php echo
$this->translate('Zur Kasse gehen')
?>" />
</div>
</form>
</div><!-- //mobilebasketprice -->
</div>
<!-- //row -->
<!--
<script type="text/javascript">
$(document).ready( function() {
$('.myaddress select').dropkick({
change: function (value, label) {
$(this).closest("form").submit();
}
});
});
</script>
-->
</div> <!-- // WK ausgabe class="btn-group basket col-xs-12 col-md-9 col-md-offset-3" -->
<?php endif; ?>
</div>

View File

@ -0,0 +1,443 @@
<?php
/**
*
* template version 4-> UHL-Media
*/
?><!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<?php if($this->page_title != ''): ?>
<title><?= $this->page_title; ?></title>
<?php else:?>
<title><?= $this->shop->name; ?></title>
<?php endif; ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- TODO :: entferenn -->
<link href="https://fonts.googleapis.com/css?family=Crete+Round" rel="stylesheet">
<!-- Latest compiled and minified CSS -->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/<?php echo $this->designPath ?>bootstrap/css/style.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]><script src="<?php echo $this->designPath ?>/js/html5shiv.js"><script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script></script><![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<?php if($this->shop->private): ?><meta name='robots' content='noindex,follow' /><?php endif; ?>
<?= $this->headMeta(); ?>
<link href="https://plus.google.com/111791780209285471933" rel="publisher" />
<style>
h1, h2, h3, h4, h5, h6, .panel-heading {
font-family: Arial,Helvetica,sans-serif;
margin-top: 0.25em;
}
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
label {
display: inline-block;
max-width: 100%;
margin-bottom: 0px;
font-weight: 700;
float: left;
line-height: 30px;
}
.form-controls {
width: 85%;
float: right;
}
.form-control {
display: initial;
}
.row {
margin-right: 0px;
margin-left: 0px;
}
</style>
</head>
<body>
<!-- HEADER -->
<div id="uhl-head">
<!-- Topbar:: Navigation -->
<div class="container-fluid topbar">
<div class="row">
<!--<div class="row">
<div class="col-xs-12">
<div id="uhl-sloagan" style="height: 20px;"><span class="no-print"></span></div>
<div id="uhl-logo"><img src="/temp/thumb/1/62209f4ab003df5db8510ec4_logo1.png" alt="ShopName" /></div>
</div>
</div>-->
</div>
</div>
</div>
<div class="container-fluid main-content">
<br>
<div id="printarea" class="row" align="center">
<div class="col-xs-12" style="text-align: left">
<?php if($this->send): ?><br><h1 align="center" class="btn-success">Die Anfrage wurde erfolgreich versendet.</h1><?php endif; ?>
<?php if($this->step2): ?>
<br>
<!--<form id="offerform" method="post" name="userForm" class="no-print">
<input type="hidden" name="step" value="3"/>
<div class="row">
<div class="col-xs-6">
<input class="btn btn-success" type="submit" name="sendemail" id="sendemail" value="Angebot via E-Mail senden">
</div>
<div class="col-xs-6">
<a href="javascript:window.print();" class="btn btn-success">Angebot drucken</a>
</div>
</div>
</form>-->
<div style="clear:both"></div>
<br>
<form id="offerform" method="post" name="userForm" class="form-horizontal no-print">
<input type="hidden" name="step" value="2"/>
<!--<div class="form-group input-sm">
<label class="form-label optional">Versandart:</label>
<div class="form-controls">
<select class="inputbox" name="shippingtype" style="width:100px;" onchange="this.form.submit();">
<option value="0" <?php if($this->basket->getShippingtype() == 0): ?>selected="selected"<?php endif; ?>>Nicht ausweisen</option>
<?php if($this->basket->getWeight() < 217000): ?>
<option value="8" <?php if($this->basket->getShippingtype() == 8): ?>selected="selected"<?php endif; ?>>Paketdienst</option>
<?php endif; ?>
<?php if($this->basket->getOfferContact()['country'] == 'de' && $this->basket->getWeight() < 90000): ?><option value="9" <?php if($this->basket->getShippingtype() == 9): ?>selected="selected"<?php endif; ?>>Express Deutschland (1 Tag)</option><?php endif; ?>
<option value="11" <?php if($this->basket->getShippingtype() == 11): ?>selected="selected"<?php endif; ?>>Spedition</option>
<option value="10" <?php if($this->basket->getShippingtype() == 10): ?>selected="selected"<?php endif; ?>>Selbstabholung Bad Grönenbach</option>
</select></div>
</div>-->
</form>
<!--<div style="margin:10px auto; padding:5px 10px; border:1px solid #df000b; font-size:.98em; color:#bf010d;">Sie erhalten Ihr Angebot per E-Mail. Bitte prüfen Sie Ihren Spam-/Junkmail Ordner, falls Sie dieses Angebot nicht erreichen sollte. Optional fügen Sie den Absender shop@etikettenhero.de in Ihrem E-Mail-Programm der Liste der erlaubten Absender (Whitelist) hinzu.</div>-->
<table class="tbl_print_address" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
</tr>
<td><?= $this->basket->getOfferContact()['company'] ?></td>
</tr>
<tr>
<td><?= $this->basket->getOfferContact()['salutation'] ?> <?= $this->basket->getOfferContact()['firstname'] ?> <?= $this->basket->getOfferContact()['lastname'] ?></td>
</tr>
<td><?= $this->basket->getOfferContact()['street'] ?></td>
</tr>
<tr>
<td><?= $this->basket->getOfferContact()['zip'] ?> <?= $this->basket->getOfferContact()['city'] ?></td>
</tr>
<tr>
<td><?php
if($this->basket->getOfferContact()['country'] == 'de') {
echo 'Germany';
}elseif($this->basket->getOfferContact()['country'] == 'be') {
echo 'Belgium';
}elseif($this->basket->getOfferContact()['country'] == 'ch') {
echo 'Switzerland';
}elseif($this->basket->getOfferContact()['country'] == 'be') {
echo 'Belgium';
}elseif($this->basket->getOfferContact()['country'] == 'fr') {
echo 'France';
}elseif($this->basket->getOfferContact()['country'] == 'at') {
echo 'Austria';
}elseif($this->basket->getOfferContact()['country'] == 'it') {
echo 'Italy';
}
?></td>
</tr>
<tr>
<td><?= $this->basket->getOfferContact()['email'] ?></td>
</tr>
</tbody></table>
<p><br></p> <p><br></p>
<h2 style="font-weight: bold">Anfrage vom <?php echo date("d.m.Y")?></h2>
<br>
<p>Hallo,</p>
<p>nachfolgend fragen wir an:</p><br>
<?php if($this->basket->getOfferContact()['title'] != ""): ?><h3 style="font-weight: bold"><?= $this->basket->getOfferContact()['title'] ?><br></h3><?php endif; ?>
<?php
$aktionsRabatt = 0;
$kundenGruppenRabatt = 0;
$onlineRabatt = 0;
foreach($this->positions as $position): ?>
<?php
$rabatte = $position['basketarticle']->getRabatte();
if(isset($rabatte['rabatt_aktionsrabatt'])) {
$aktionsRabatt = $aktionsRabatt + $rabatte['rabatt_aktionsrabatt'];
}
if(isset($rabatte['rabatt_kundengruppe'])) {
$kundenGruppenRabatt = $kundenGruppenRabatt + $rabatte['rabatt_kundengruppe'];
}
if(isset($rabatte['rabatt_onlinerabatt'])) {
$onlineRabatt = $onlineRabatt + $rabatte['rabatt_onlinerabatt'];
}
?>
<h3><?= $position['article']->title; ?></h3>
<?php if($position['basketarticle']->getRef() != ""): ?><h5 style="font-weight: bold"><?= $position['basketarticle']->getRef() ?></h5><?php endif; ?>
<?php if($position['basketarticle']->getKst() != ""): ?><h5 style="font-weight: bold"><?= $position['basketarticle']->getKst() ?></h5><?php endif; ?>
<?php foreach($position['arrayOptions'] as $key => $value): ?>
<?php if($value != '' && $key != 'upload_mode' && $key != 'Typ' && $value != 'Nein' && $value != 'nein' && $value != 'handlich' && $value != 'keine' && $value != 'ohne' && $value != '0' && $value != '1 Motiv' && $value != 'Uhl-Media' && $value != 'nein, ohne Verschluss'): ?>
<div class="row">
<div class="col-xs-4"><?= $key ?>:</div>
<div class="col-xs-8"><?= $value ?></div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<!--<div class="row">
<div class="col-xs-4">Gewicht:<br><br></div>
<div class="col-xs-8"><?php echo round($position['basketarticle']->getWeight()/1000) ?> kg<br><br></div>
</div>-->
<div class="row">
<div class="col-xs-4">Preis Netto:</div>
<div class="col-xs-8"><?= $this->currency->toCurrency($position['basketarticle']->getNetto()+$rabatte['rabatt_aktionsrabatt']+$rabatte['rabatt_kundengruppe']+$rabatte['rabatt_onlinerabatt']); ?></div>
</div>
<?php if(isset($rabatte['rabatt_aktionsrabatt']) && $rabatte['rabatt_aktionsrabatt'] != 0): ?>
<div class="row">
<div class="col-xs-4">Aktionsrabatt:</div>
<div class="col-xs-8">-<?= $this->currency->toCurrency($rabatte['rabatt_aktionsrabatt']); ?></div>
</div>
<?php endif; ?>
<?php if(isset($rabatte['rabatt_kundengruppe']) && $rabatte['rabatt_kundengruppe'] != 0): ?>
<div class="row">
<div class="col-xs-4">Kundengruppenrabatt:</div>
<div class="col-xs-8">-<?= $this->currency->toCurrency($rabatte['rabatt_kundengruppe']); ?></div>
</div>
<?php endif; ?>
<?php if(isset($rabatte['rabatt_onlinerabatt']) && $rabatte['rabatt_onlinerabatt'] != 0): ?>
<div class="row">
<div class="col-xs-4">Onlinerabatt:</div>
<div class="col-xs-8">-<?= $this->currency->toCurrency($rabatte['rabatt_onlinerabatt']); ?></div>
</div>
<?php endif; ?>
<hr>
<?php endforeach; ?>
<p><br></p>
<!--<h4>Preiszusammenstellung</h4>
<table class="table table-bordered">
<tr class="active"><td>Summe netto:</td><td align="right"><?= $this->currency->toCurrency(TP_Basket::getBasket()->getProduktPreisNetto()+$aktionsRabatt+$kundenGruppenRabatt+$onlineRabatt); ?></td></tr>
<?php if($aktionsRabatt > 0): ?>
<tr>
<td>
Aktionsrabatt:
</td>
<td align="right">
<span style="color:green">- <?= $this->currency->toCurrency($aktionsRabatt); ?></span>
</td>
</tr>
<?php endif; ?>
<?php if($kundenGruppenRabatt > 0): ?>
<tr>
<td>
Kundengruppenrabatt:
</td>
<td align="right">
<span style="color:green">- <?= $this->currency->toCurrency($kundenGruppenRabatt); ?></span>
</td>
</tr>
<?php endif; ?>
<?php if($onlineRabatt > 0): ?>
<tr>
<td>
Onlinerabatt:
</td>
<td align="right">
<span style="color:green">- <?= $this->currency->toCurrency($onlineRabatt); ?></span>
</td>
</tr>
<?php endif; ?>
<?php if($this->basket->getVersandkosten() > 0): ?>
<tr>
<td>
Versandkosten:
</td>
<td align="right">
+ <?= $this->currency->toCurrency($this->basket->getVersandkosten()); ?>
</td>
</tr>
<?php endif; ?>
<tr class="info"><td>Endpreis Netto:</td><td align="right"><?= $this->currency->toCurrency($this->basket->getPreisNetto()); ?></td></tr>
<tr><td>19% MwSt:</td><td align="right">+ <?= $this->currency->toCurrency($this->basket->getPreisSteuer()); ?></td></tr>
<tr class="success"><td><strong>Gesamt brutto:</strong></td><td align="right"><strong><?= $this->currency->toCurrency($this->basket->getPreisBrutto()); ?></strong></td></tr>
</table> -->
<!--<div class="distance30"></div>
<br><p><center>Das Angebot versteht sich freibleibend und unverbindlich.</center></p>
<p><center>Wir würden uns freuen, deinen Auftrag zu erhalten. Fragen zum Angebot? <br> Telefon: +49 (0)4321 88 34 10</p>
<p>Mit besten Grüßen aus Neum&uumlnster. Dein Etiketten Hero Team.</p></center>
<div id="footerarea">
<div class="distance30" style="height: 30px"></div>
<div style="text-align:center;font-size:11px;line-height:135%">
Etiketten Hero ist eine Marke der Druckerei Proppe GmbH & Co. KG, Fehmarnstra&szlig;e 7, 24539 Neumünster, Deutschland | Telefon: +49 (0) 4321 88 34 10, E-Mail: shop@etikettenhero.de, USt-IdNr.: DE135195624 | Eingetragen im Handelsregister des Amtsgerichtes Kiel, Handelsregisternummer HRA 448 | vertreten durch die pers&oumlnlich haftende Gesellschafterin Druckerei Proppe Verwaltungsges. mbH | Diese vertr. d. d. Geschäftsführer Michael Eckert, Fehmarnstra&szlig;e 7, 24539 Neumünster, Deutschland | Eingetragen im Handelsregister des Amtsgerichtes Kiel, Handelsregisternummer HRB 1871
</div>
</div>-->
</div>
</div>
<?php endif; ?>
<?php if($this->step1): ?>
<p style="margin-bottom:30px;"><br><strong>Unser Angebot richtet sich ausschlie&szliglich an B2B-Kunden.</strong><br><br>Sämtliche Angaben sind freiwillig. Ausgenommen den mit * markierten Pflichtfeldern. Deine Angaben sind für die Zuordnung des Angebotes von Vorteil. Wir verwenden diese Daten nicht für weitere Zwecke.</p>
<form id="offerform" method="post" name="userForm" class="no-print">
<input type="hidden" name="step" value="3"/>
<div class="form-group input-sm">
<label class="form-label optional">* Firma:</label>
<div class="form-controls"><input type="text" name="company" required value="<?= $this->user->self_department ?>" class="form-control input-sm"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Anrede:</label>
<div class="form-controls"><select class="form-control input-sm" name="salutation">
<option value=" "></option>
<option value="Frau" <?php if($this->user->self_anrede == 2) { ?>selected="selected"<?php } ?>>Frau</option>
<option value="Herr" <?php if($this->user->self_anrede == 1) { ?>selected="selected"<?php } ?>>Herr</option>
</select></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Vorname:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" name="firstname" value="<?= $this->user->self_firstname ?>"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Nachname:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" name="lastname" value="<?= $this->user->self_lastname ?>"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Straße, Nr.:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" name="street" value="<?= $this->user->self_street ?> <?= $this->user->self_house_number ?>"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">PLZ, Ort:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" pattern="[0-9]{4,6}" name="zip" value="<?= $this->user->self_zip ?>" style="width:60px"><input class="form-control input-sm" type="text" name="city" value="<?= $this->user->self_city ?>" style="margin-left:5px;width: 88%;"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Land:</label>
<div class="form-controls"><select class="form-control input-sm" name="country">
<option value="at">Austria</option><option value="be">Belgium</option><option value="fr">France</option><option value="de" selected="selected">Germany</option><option value="it">Italy</option><option value="nl">Netherlands</option><option value="ch">Switzerland</option></select></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">USt-ID-Nr.:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" name="ust_id" value="<?= $this->user->ustid ?>"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">* E-Mail:</label>
<div class="form-controls"><input class="form-control input-sm" type="email" required name="email" value="<?= $this->user->self_email ?>"></div>
</div>
<div class="form-group input-sm">
<label class="form-label optional">Bezeichnung:</label>
<div class="form-controls"><input class="form-control input-sm" type="text" name="title" value=""></div>
</div>
<div id="ust_div_expl" name="ust_div_expl" style="display: none;">
<table width="500" class="tbl_print" cellpadding="0" cellspacing="1" border="0">
<tbody><tr>
<td><small>*) Zur Berücksichtigung der Steuerfreiheit bei Lieferung in EU-Länder ist die Angabe der USt.-ID erforderlich!</small></td>
</tr>
</tbody></table>
</div>
<p style="margin-top:18px;">
<div class="form-group input-sm">
<span class="verifyLabel" id="dataProtection-input">
<input type="hidden" name="dataProtection" value="" />
<?php /* ?><input type="checkbox" required="required" name="dataProtection" id="dataProtection" value="1" helper="formCheckbox" />
</span>
<strong>Mir ist bekannt, dass dieses Angebot auf den <a href="/agb" onclick="newWindow(this.href,'_blank','600','1000','yes');return false;" target="_blank">Allgemeinen Geschäftsbedingungen (AGB)</a> und der DSGVO konformen <a href="/privacy" onclick="newWindow(this.href,'_blank','600','1000','yes');return false;" target="_blank">Datenschutzerklärung</a> der Etiketten Hero by Druckerei Proppe GmbH & Co. KG, basiert, die ich hiermit anerkenne.</strong><br>(Das gilt nur, wenn ich aufgrund dieses Angebots einen Auftrag an die Etiketten Hero by Druckerei Proppe GmbH & Co. KG erteile!)<br>
</p><?php */ ?>
<br>
<input class="btn btn-danger" type="submit" name="cancel" value="Abbrechen" onclick="window.close()">
<input id="action_btn_agreed" class="btn btn-success" type="submit" name="agreed" value="Anfrage senden">
</form>
<?php endif; ?>
</div>
</div>
</div>
<!-- /Additional WrapperB4s Layouter -->
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="/<?php echo $this->designPath ?>assets/uploader/js/vendor/tmpl.min.js"></script>
<script src="/<?php echo $this->designPath ?>assets/uploader/js/vendor/load-image.min.js"></script>
<script src="/<?php echo $this->designPath ?>code.js"></script>
<script src="/<?php echo $this->designPath ?>calc.js"></script>
<?php /* Cookie Hinweis */ ?>
<script>window.cookieconsent_options = {message: 'Cookies erleichtern die Bereitstellung unserer Dienste. Mit der Nutzung unserer Dienste erklären Sie sich damit einverstanden, dass wir Cookies verwenden. ', dismiss: 'Schließen', learnMore: 'Mehr Infos erhalten sie in der Datenschutzerklärung.', link: '/privacy', theme: 'light-bottom'}</script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
<?php
$this->headScript()->prependFile('/scripts/templateprint.js');
$this->headLink()->appendStylesheet('/scripts/jquery-loading/css/showLoading.css');
$this->headScript()->prependFile('/scripts/jquery-loading/js/jquery.showLoading.min.js');
$this->headScript()->prependFile('/scripts/jquery-multiselect/js/jquery.multi-select.js');
$this->headLink()->appendStylesheet('/scripts/jquery-multiselect/css/multi-select.css');
?>
<?= $this->headScript(); ?>
<?= $this->headLink(); ?>
</body>
</html>

View File

@ -0,0 +1,375 @@
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/' . $this->designPath . '/basket/review.js');
?>
<style>
form#register {
width: 100%;
}
.radio, .checkbox {
display: block;
min-height: 20px;
padding-left: 0px;
margin-top: 10px;
margin-bottom: 10px;
vertical-align: left;
}
form#updateaddress {
width: 100%;
}
form#register input, form#register select, form#updateaddress input, form#updateaddress select {
height: 26px;
}
.btn-group-xs>.btn, .btn-xs {
padding: 0.35rem 0.4rem 0.25rem 0.4rem;
font-size: 1.5rem;
line-height: .5;
border-radius: 0.2rem;
}
a.editAddress.btn.btn-info.btn-xs {
margin-bottom: 10px;
}
ul.breadcrumb {
display: none;
}
.btn-group.basket.col-xs-12 {
margin-top: 20px;
}
</style>
<div class="review_index">
<!--<div class="page-header col-xs-12"><?php echo $this->translate('Warenkorb / Bestellung') ?></div>-->
<?php if ($this->basketIsEmpty) : ?>
<div class="basket col-xs-12">
<div class="alert alert-danger" style="min-height:2em;"><?php echo $this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.') ?></div>
</div>
<div class="col-xs-10 col-xs-offset-1" style="margin-bottom:7em;">
<h3>Vielleicht möchten Sie einfach auf der Startseite beginnen?</h3>
<br>
<a class="btn btn-lg btn-success" href="/" title="<?= $this->shop->name; ?>: zur Startseite">Zur Startseite</a>
</div>
<?php else : ?>
<div class="btn-group basket col-xs-12">
<a class="btn btn-success" href="/basket">
<h4><?php echo $this->translate('Schritt') ?> 1: <?php echo $this->translate('Warenkorb') ?></h4><?php echo $this->translate('Übersicht über Ihre Bestellung') ?>
</a>
<label class="btn btn-success active">
<h4><?php echo $this->translate('Schritt') ?> 2: <?php echo $this->translate('Adressdaten') ?></h4><?php echo $this->translate('Rechnungs- und Lieferadresse angeben') ?>
</label>
<label class="btn btn-default">
<h4><?php echo $this->translate('Schritt') ?> 3: <?php echo $this->translate('AGB') ?></h4><?php echo $this->translate('Bestätigen und bestellen') ?>
</label>
</div>
<?php endif; ?>
<div class="row" style="display:block;">
<form action="/basket/review" class="niceform basket" method="post" enctype="multipart/form-data" id="review-form">
<div class="col-sm-4 invoice">
<div class="well">
<h4><?php echo $this->translate('Rechnungsadresse') ?></h4>
<p id="invoiceaddresstext">
<?php if ($this->invoice_address->getCompany() != "") : ?><?php echo $this->invoice_address->getCompany() ?></br><?php endif; ?>
<?php if ($this->invoice_address->getCompany2() != "") : ?><?php echo $this->invoice_address->getCompany2() ?><br /><?php endif; ?>
<?php if ($this->invoice_address->getFirstname() != "" || $this->invoice_address->getLastname() != ""): ?><?php echo $this->invoice_address->getAnrede() ?> <?php echo $this->invoice_address->getFirstname() ?> <?php echo $this->invoice_address->getLastname() ?><br /><?php endif; ?>
<?php if ($this->invoice_address->getAbteilung() != "") : ?><?php echo $this->invoice_address->getAbteilung() ?><br /><?php endif; ?>
<?php echo $this->invoice_address->getStreet() ?> <?php echo $this->invoice_address->getHouseNumber() ?>
<br /><?php echo $this->invoice_address->getCountry() ?> <?php echo $this->invoice_address->getZip() ?> <?php echo $this->invoice_address->getCity() ?>
</p>
<p><button class="btn btn-sm btn-primary" data-toggle="modal" data-target="#myInvoice" onclick="return false;"><?php echo $this->translate('Ändern') ?></button></p>
</div>
</div>
<?php if ($this->shop->display_delivery) : ?>
<div class="col-sm-4 delivery">
<div class="well">
<h4><?php echo $this->translate('Lieferadresse') ?></h4>
<div id="differentdeliverydiv" style="">
<p id="deliveryaddresstext">
<?php if ($this->delivery_address->getCompany() != "") : ?><?php echo $this->delivery_address->getCompany() ?><br /><?php endif; ?>
<?php if ($this->delivery_address->getCompany2() != "") : ?><?php echo $this->delivery_address->getCompany2() ?><br /><?php endif; ?>
<?php if ($this->delivery_address->getFirstname() != "" || $this->delivery_address->getLastname() != ""): ?><?php echo $this->delivery_address->getAnrede() ?> <?php echo $this->delivery_address->getFirstname() ?> <?php echo $this->delivery_address->getLastname() ?><br /><?php endif; ?>
<?php if ($this->delivery_address->getAbteilung() != "") : ?><?php echo $this->delivery_address->getAbteilung() ?><br /><?php endif; ?>
<?php echo $this->delivery_address->getStreet() ?> <?php echo $this->delivery_address->getHouseNumber() ?>
<br /><?php echo $this->delivery_address->getCountry() ?> <?php echo $this->delivery_address->getZip() ?> <?php echo $this->delivery_address->getCity() ?>
</p>
<p><button type="submit" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#myDelivery" onclick="return false;"><?php echo $this->translate('Ändern') ?></button></p>
<p><button type="button" id="sameDeliveryAsInvoice" class="btn btn-sm btn-info"><?php echo $this->translate('Gleich wie Rechnungsadresse') ?></button></p>
</div>
</div>
</div>
<?php endif; ?>
<?php if ($this->shop->display_sender) : ?>
<div class="col-sm-4 sender">
<div class="well">
<h4><?php echo $this->translate('Absenderadressen auf Paketschein') ?></h4>
<div id="differentsenderdiv">
<p id="senderaddresstext">
<?php if ($this->sender_address->getCompany() != "") : ?><?php echo $this->sender_address->getCompany() ?><br /><?php endif; ?>
<?php if ($this->sender_address->getCompany2() != "") : ?><?php echo $this->sender_address->getCompany2() ?><br /><?php endif; ?>
<?php if ($this->sender_address->getFirstname() != "" || $this->sender_address->getLastname() != ""): ?><?php echo $this->sender_address->getAnrede() ?> <?php echo $this->sender_address->getFirstname() ?> <?php echo $this->sender_address->getLastname() ?><br /><?php endif; ?>
<?php if ($this->sender_address->getAbteilung() != "") : ?><?php echo $this->sender_address->getAbteilung() ?><br /><?php endif; ?>
<?php echo $this->sender_address->getStreet() ?> <?php echo $this->sender_address->getHouseNumber() ?>
<br /><?php echo $this->sender_address->getCountry() ?> <?php echo $this->sender_address->getZip() ?> <?php echo $this->sender_address->getCity() ?>
</p>
<p><button type="submit" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#mySender" onclick="return false;"><?php echo $this->translate('Ändern') ?></button></p>
<p><button type="button" id="sameSenderAsShop" class="btn btn-sm btn-info"><?php echo $this->translate('Shopadresse benutzen') ?></button></p>
</div>
</div>
</div>
<?php endif; ?>
<input id="delivery" type="hidden" name="delivery" value="<?php echo $this->delivery ?>" />
<input id="sender" type="hidden" name="sender" value="<?php echo $this->sender ?>" />
<input id="invoice" type="hidden" name="invoice" value="<?php echo $this->invoice ?>" />
<div class="col-xs-12"><input id="review_next" type="submit" value="<?php echo $this->translate('Weiter') ?>" class="btn btn-success btn-lg pull-right" style="margin-right: 15px;" /></div>
<div class="clearfix" style="margin-top:2em;margin-bottom:2em;"></div>
</form>
</div>
<div style="clear:both"></div>
<p id="senderaddresstext_hidden" style="display:none">
<?php if ($this->sender_address_shop->getCompany() != "") : ?><br /><?php echo $this->sender_address_shop->getCompany() ?><?php endif; ?>
<?php echo $this->sender_address_shop->getAnrede() ?> <?php echo $this->sender_address_shop->getFirstname() ?> <?php echo $this->sender_address_shop->getLastname() ?>
<?php if ($this->sender_address_shop->getAbteilung() != "") : ?><br /><?php echo $this->sender_address_shop->getAbteilung() ?><?php endif; ?>
<br /><?php echo $this->sender_address_shop->getStreet() ?> <?php echo $this->sender_address_shop->getHouseNumber() ?>
<br /><?php echo $this->sender_address_shop->getCountry() ?> <?php echo $this->sender_address_shop->getZip() ?> <?php echo $this->sender_address_shop->getCity() ?>
</p>
<!-- \\\\\\\\\\ Modals ////////////// -->
<!-- \\\\\\\\\\ myInvoice - Rechnungsadresse ////////////// -->
<div class="modal fade" id="myInvoice" tabindex="-1" role="dialog" aria-labelledby="myInvoiceLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<div style="float: right; margin-right: 40px;"><input class="search" placeholder="Search" style="" /><button class="btn btn-sm">Suche</button></div>
<h4 class="modal-title" id="myInvoiceLabel"><?php echo $this->translate('Rechnungsadresse auswählen') ?></h4>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<tr>
<!--<th><?php echo $this->translate('KundenNr') ?></th>-->
<th><?php echo $this->translate('Firma/Kd.Nr') ?></th>
<!--<th><?php echo $this->translate('Firma Zusatz') ?></th>-->
<th><?php echo $this->translate('Name') ?></th>
<th><?php echo $this->translate('Adresse') ?></th>
<!--<th><?php echo $this->translate('Land') ?></th>-->
<th align="right"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Schließen') ?></button>
<button class="btn btn-primary" data-toggle="modal" data-target="#addAdress"><?php echo $this->translate('Adresse hinzufügen') ?></button>
</div>
</div>
</div>
</div>
<!-- \\\\\\\\\\ myDelivery - Lieferadresse ////////////// -->
<!-- Modal -->
<div class="modal fade" id="myDelivery" tabindex="-1" role="dialog" aria-labelledby="myDeliveryLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<div style="float: right; margin-right: 40px;"><input class="search" placeholder="Search" style="" /><button class="btn btn-sm">Suche</button></div>
<h4 class="modal-title" id="myDeliveryLabel"><?php echo $this->translate('Lieferadresse auswählen') ?></h4>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<tr>
<!--<th><?php echo $this->translate('KundenNr') ?></th>-->
<th><?php echo $this->translate('Firma/Kd.Nr') ?></th>
<!--<th><?php echo $this->translate('Firma Zusatz') ?></th>-->
<th><?php echo $this->translate('Name') ?></th>
<th><?php echo $this->translate('Adresse') ?></th>
<!--<th><?php echo $this->translate('Land') ?></th>-->
<th align="right"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Schließen') ?></button>
<button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#addAdress"><?php echo $this->translate('Adresse hinzufügen') ?></button>
</div>
</div>
</div>
</div>
<!-- \\\\\\\\\\ mySender - Absender ////////////// -->
<!-- Modal -->
<div class="modal fade" id="mySender" tabindex="-1" role="dialog" aria-labelledby="meinmySender" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<div style="float: right; margin-right: 40px;"><input class="search" placeholder="Search" style="" /><button class="btn btn-sm">Suche</button></div>
<h4 class="modal-title" id="meinmySender"><?php echo $this->translate('Absenderadresse auswählen') ?></h4>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<tr>
<!--<th><?php echo $this->translate('KundenNr') ?></th>-->
<th><?php echo $this->translate('Firma/Kd.Nr') ?></th>
<!--<th><?php echo $this->translate('Firma Zusatz') ?></th>-->
<th><?php echo $this->translate('Name') ?></th>
<th><?php echo $this->translate('Adresse') ?></th>
<!--<th><?php echo $this->translate('Land') ?></th>-->
<th align="right"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Schließen') ?></button>
<button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#addAdress"><?php echo $this->translate('Adresse hinzufügen') ?></button>
</div>
</div>
</div>
</div>
<!-- \\\\\\\\\\ addAdress - Adresse hinzufügen ////////////// -->
<div class="modal fade" id="addAdress" tabindex="-1" role="dialog" aria-labelledby="addAdressLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<h4 class="modal-title" id="addAdressLabel"><?php echo $this->translate('Adresse einfügen') ?></h4>
</div>
<div class="modal-body">
<div class="row">
<?php
$this->form->removeElement('submit');
EasyBib_Form_Decorator::setFormDecorator($this->form, \EasyBib_Form_Decorator::BOOTSTRAP, 'submit');
?>
<form id="register" enctype="application/x-www-form-urlencoded" action="" method="post" role="form" style="padding:0 2em">
<div class="col-sm-6">
<?php
$i = 0;
foreach ($this->form->getElements() as $element) : ?>
<?php if ($i == 7) : ?></div>
<div class="col-sm-6"><?php endif; ?>
<?php echo str_replace(array('control-group', 'control-label', 'class="controls"'), array('form-group', 'form-label', 'class="form-controls"'), $element->render()); ?>
<?php
$i++;
endforeach; ?>
</div>
</form>
<br class="clearfix">
</div>
</div>
<div class="modal-footer">
<a id="saveAdresse" class="btn btn-primary" href="#saveAdresse"><?php echo $this->translate('Adresse speichern') ?></a>
<a href="#" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Abbrechen') ?></a>
</div>
</div>
</div>
</div>
<!-- \\\\\\\\\\ editAdresse - Adresse bearbeiten ////////////// -->
<!-- Modal -->
<div class="modal fade" id="editAdresse" tabindex="-1" role="dialog" aria-labelledby="editAdresseLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Schließen</span></button>
<h4 class="modal-title" id="editAdresseLabel"><?php echo $this->translate('Adresse bearbeiten') ?></h4>
</div>
<div class="modal-body">
<div class="row">
<?php
$this->editform->removeElement('update');
EasyBib_Form_Decorator::setFormDecorator($this->editform, \EasyBib_Form_Decorator::BOOTSTRAP, 'update');
?>
<input type="hidden" value="" name="editaddressuuid" id="editaddressuuid" />
<form id="updateaddress" name="updateaddress" enctype="application/x-www-form-urlencoded" class="form-horizontal" action="" method="post" role="form" style="padding:0 2em">
<div class="col-sm-6">
<?php
$i = 0;
foreach ($this->editform->getElements() as $element) : ?>
<?php if ($i == 7) : ?></div>
<div class="col-sm-6"><?php endif; ?>
<?php echo str_replace(array('control-group', 'control-label', 'class="controls"'), array('form-group', 'form-label', 'class="form-controls"'), $element->render()); ?>
<?php
$i++;
endforeach; ?>
</div>
</form>
<br class="clearfix">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $this->translate('Abbrechen') ?></button>
<button type="submit" class="btn btn-primary" id="saveEditAdresse"><?php echo $this->translate('Änderungen speichern') ?></button>
</div>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,3 @@
<li><?php echo implode('<span class="divider">/</span></li><li>', array_map(
create_function('$a', 'return $a->getLabel();'),
$this->pages));?></li>

View File

@ -0,0 +1,82 @@
<?php
$slides = $this->setting()->getSlides();
$i = 0;
/**
* MEHR als 1 Bild zum Sliden
*/
if(count($slides) > 1):
?>
<!-- CONTENT-SLIDER -->
<div class="row clearfix">
<div class="col-md-12 column">
<div class="carousel slide" id="carousel-499478" data-ride="carousel">
<div class="carousel-inner">
<?php foreach($slides as $slide): ?>
<div class="carousel-item <?= ($i == 0)? 'active': '' ?>">
<?php if($slide['link'] != ""): ?><a href="<?= $slide['link'] ?>"><?php else: ?><a href="#"><?php endif; ?>
<?php echo $this->image()->thumbnailImage($slide['text'], 'sliderbgbig', $slide['image']); ?>
<?php if($slide['title'] != ""): ?>
<div class="carousel-caption">
<h4><?= $slide['title'] ?></h4>
<p><?= $slide['text'] ?></p>
</div>
<?php endif; ?>
</a>
</div>
<?php
$i++;
endforeach;
?>
</div><!-- //carousel-inner -->
<!-- Slide Controls -->
<a class="left carousel-control" href="#carousel-499478" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
<a class="right carousel-control" href="#carousel-499478" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
</div>
</div>
<!-- // CONTENT-SLIDER -->
<?php
/**
* GEnau 1 Bild zum Sliden - k<>nnte man auch als IMG einsetzen, aber dann hat man nicht die M<>glichkeit zu Titel, Beschreibung und Links
*/
elseif(count($slides) == 1): ?>
<div class="row clearfix">
<div class="col-md-12 column">
<div class="carousel slide" data-ride="carousel">
<!-- Carousel items -->
<div class="carousel-inner">
<?php foreach($slides as $slide): ?>
<div class="carousel-item <?= ($i == 0)? 'active': '' ?>">
<?php if($slide['link'] != ""): ?><a href="<?= $slide['link'] ?>"><?php endif; ?>
<?php echo $this->image()->thumbnailImage($slide['text'], 'sliderbgbig', $slide['image']); ?>
<?php if($slide['title'] != ""): ?>
<div class="carousel-caption">
<h4><?= $slide['title'] ?></h4>
<p><?= $slide['text'] ?></p>
</div>
<?php endif; ?>
<?php if($slide['link'] != ""): ?></a><?php endif; ?>
</div>
<?php
$i++;
endforeach; ?>
</div><!-- //carousel-inner -->
</div>
</div>
</div>
<?php endif; ?>
<!-- // CONTENT-SLIDER -->
<br/>

View File

@ -0,0 +1,42 @@
<?php
$this->headLink()->appendStylesheet($this->designPath . '/css/cms.css');
?>
<style>
.alert-danger {
display: none;
}
</style>
<?php if($_GET["show"]) { ?>
<script type="text/javascript">
$(document).ready(function() {
//console.log("....");
$('#c<?php echo $_GET["show"]; ?>').addClass('show');
$('#c<?php echo $_GET["show"]; ?>').addClass('show');
$("#c<?php echo $_GET["show"]; ?>").removeAttr('style').css("height:","unset");
$("#<?php echo $_GET["show"]; ?>").bind('click', function () {
const element = document.querySelector("#c<?php echo $_GET["show"]; ?>");
var checkclass = element.classList.contains("show");
if(checkclass) {
$('#c<?php echo $_GET["show"]; ?>').removeClass('show');
$('#c<?php echo $_GET["show"]; ?>').addClass('hidden');
setTimeout(function(){ $('#c<?php echo $_GET["show"]; ?>').removeClass('in'); $("#c<?php echo $_GET["show"]; ?>").removeAttr('style'); }, 500);
//console.log("...." + checkclass);
}
else {
//console.log("...." + checkclass);
$('#c<?php echo $_GET["show"]; ?>').addClass('show');
$('#c<?php echo $_GET["show"]; ?>').removeClass('hidden');
//setTimeout(function(){ $("#c<?php echo $_GET["show"]; ?>").removeAttr('style'); }, 50);
}});});
</script>
<?php } ?>
<?php
if($this->page->display_title): ?>
<div class="page-header"><h1><?php echo $this->page->title ?></h1></div>
<?php endif;
?>
<div class="row">
<div class="col-xs-12">
<div class="cms_inhalt"><?php echo $this->page->getText() ?></div>
</div>
</div>

View File

@ -0,0 +1,16 @@
<?php
$this->headLink()->appendStylesheet($this->designPath . '/css/cms.css');
?>
<?php
if($this->page->display_title): ?>
<div class="page-header"><h1><?php echo $this->page->title ?></h1></div>
<?php endif;
?>
<div class="row">
<div class="col-xs-6">
<div class="cms_inhalt"><?php echo $this->page->getText() ?></div>
</div>
<div class="col-xs-6">
<div class="cms_inhalt">Jetzt wird simple.phtml in /templates/cms verwendet</div>
</div>
</div>

View File

@ -0,0 +1,3 @@
<div class="pagination pagination-centered"><ul><?php $this->paginator->setTemplate('<li><a href="{%url}">{%page}</a></li>');
$this->paginator->setSelectedTemplate('<li class="active"><a href="{%url}">{%page}</a></li>'); ?>
<?php echo $this->paginator->display(); ?></ul></div>

View File

@ -0,0 +1,70 @@
<div class="overview-pagination-left"></div>
<ul class="overview-pagination">
<li style="margin:0 0 0 10px; width:260px;" class="overview-pagination-li"><?php echo $this->translate('Ergebnisse')?> <?php
echo $this->paginator->getPager ()->getFirstIndice ();
?>-<?php
echo $this->paginator->getPager ()->getLastIndice ();
?> <?php echo $this->translate('von')?> <?php
echo $this->paginator->getPager ()->getNumResults ();
?></li>
<li style="text-align:center;" class="overview-pagination-li"><?php
echo $this->paginator->display ();
$ts = rand ();
?></li>
<li class="overview-pagination-li">
<form><select id="sort<?php
echo $ts?>"
class="overview-sort">
<option value="nothing"
<?php
echo ($this->sort == "nothing") ? 'selected="selected"' : '';
?>><?php echo $this->translate('Sortieren nach')?></option>
<option value="date"
<?php
echo ($this->sort == "date") ? 'selected="selected"' : '';
?>><?php echo $this->translate('nach Einstelldatum')?></option>
<option value="author"
<?php
echo ($this->sort == "author") ? 'selected="selected"' : '';
?>><?php echo $this->translate('nach Name')?></option>
<option value="visits"
<?php
echo ($this->sort == "visits") ? 'selected="selected"' : '';
?>><?php echo $this->translate('nach Visits')?></option>
<option value="rate"
<?php
echo ($this->sort == "rate") ? 'selected="selected"' : '';
?>><?php echo $this->translate('nach Bewertungen')?></option>
<option value="name" <?php echo ($this->sort == "name")? 'selected="selected"':''; ?>><?php echo $this->translate('nach Name')?></option>
</select><select id="dir<?php
echo $ts?>"
class="overview-sort">
<option value=""
<?php
echo ($this->dir == "nothing") ? 'selected="selected"' : '';
?>><?php echo $this->translate('Richtung')?></option>
<option value="asc"
<?php
echo ($this->dir == "asc") ? 'selected="selected"' : '';
?>><?php echo $this->translate('aufsteigend')?></option>
<option value="desc"
<?php
echo ($this->dir == "desc") ? 'selected="selected"' : '';
?>><?php echo $this->translate('absteigend')?></option>
</select> </form>
</li>
</ul>
<div class="overview-pagination-right"></div>
<script type="text/javascript">
$(function() {
$('.overview-sort').dropkick({
theme: 'black',
change: function (value, label) {
var selected = $("#sort<?php echo $ts ?> option:selected");
var dir = $("#dir<?php echo $ts ?> option:selected");
document.location.href="<?php echo str_replace('{%page_number}', 1, $this->paginator->getPageSortBarMarket()) ?>" + selected[0].value + "/" + dir[0].value;
}
});
});
</script>

View File

@ -0,0 +1,10 @@
<nav style="text-align: center">
<ul class="pagination">
<?php
$this->paginator->setTemplate('<li><a href="{%url}">{%page}</a></li>');
$this->paginator->setSelectedTemplate('<li class="active"><a href="{%url}">{%page}</a></li>');
echo $this->paginator->display();
?>
</ul>
</nav>

View File

@ -0,0 +1,19 @@
<div class="col-sm-12">
<h1><?php echo $this->translate('Oh je! Ein Fehler ist aufgetreten.')?></h1>
<h2><?php echo $this->translate('Anscheinend ist die Seite die Sie aufrufen wollten nicht erreichbar oder verfügbar, bzw. Ihre Adresse hat sich geändert.')?></h2>
<p><?php echo $this->message ?> (<?php echo $this->code ?>) </p>
<?php
if( $this->env == 'development' ) {
if ( isset($this->info ) ) { ?>
<?php if ( 404 == $this->code ) { ?>
<p><b>Reason:</b> <?php echo $this->info ?></p>
<?php } elseif (500 == $this->code) { ?>
<p>Bad server, naughty server!<br />No donut for you!</p>
<h4>Exception information:</h4>
<p><b>Message:</b> <?php echo $this->info->getMessage() ?></p>
<h4>Stack trace:</h4>
<pre><?php echo $this->info->getTraceAsString() ?></pre>
<?php } ?>
<?php } ?>
<?php } ?>
</div>

View File

@ -0,0 +1,2 @@
<h1><?php echo $this->translate('Auf diesen Bereich haben Sie leider keinen Zugriff!')?></h1>
<p><?php echo $this->translate('Sie besitzen nicht die erforderlichen Rechte.')?></p>

View File

@ -0,0 +1,6 @@
<div class="col-sm-12">
<h1><?php echo $this->translate('Uups! Diese Seite gibt es wohl nicht mehr.')?></h1>
<p><?php echo $this->translate('Leider konnte die von Ihnen gew&uuml;nschte Seite nicht aufgefunden werden. Vielleicht handelt es sich um einen veralteten Link oder einen Fehler.</p>
<p>Eventuell hat sich auch der Fehlerteufel mit einem Tippfehler in der Adressleiste eingeschlichen.')?></p>
<p><a href="/"><?php echo $this->translate('Hier gelangen Sie zur&uuml;ck zur Startseite')?></a></p>
</div>

View File

@ -0,0 +1,2 @@
<h1><?php echo $this->translate('Über uns')?></h1>
<?= $this->shop->betreiber_description ?>

Some files were not shown because too many files have changed in this diff Show More