new Calc
Some checks failed
Gitea Actions / Run-Tests-On-Arm64 (push) Failing after 0s
Gitea Actions / Run-Tests-On-Amd64 (push) Successful in 27m5s
Gitea Actions / Merge (push) Successful in 4s

This commit is contained in:
Thomas Peterson 2025-06-08 10:22:28 +02:00
parent 2ff4f2a7c2
commit 09d7894c18
202 changed files with 16383 additions and 100 deletions

View File

@ -31,4 +31,4 @@ JWT_PASSPHRASE=f7754c7a99638fe7162a144825ddaea7
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###
MAILER_DSN=smtp://smtp4dev:25

View File

@ -5,5 +5,28 @@ declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->extension('monolog', ['handlers' => ['main' => ['type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'excluded_http_codes' => [404, 405], 'buffer_size' => 50], 'nested' => ['type' => 'stream', 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'level' => 'debug'], 'console' => ['type' => 'console', 'process_psr_3_messages' => false, 'channels' => ['!event', '!doctrine']]]]);
$containerConfigurator->extension('monolog',
['handlers' =>
['main' =>
[
'type' => 'fingers_crossed',
'action_level' => 'error',
'handler' => 'nested',
'excluded_http_codes' => [404, 405],
'buffer_size' => 50
],
'nested' =>
[
'type' => 'stream',
'path' => '%kernel.logs_dir%/%kernel.environment%.log',
'level' => 'debug'
],
'console' =>
[
'type' => 'console',
'process_psr_3_messages' => false,
'channels' => ['!event', '!doctrine']
]
]
]);
};

View File

@ -93,6 +93,10 @@ PSC\Shop\EntityBundle\Entity\Product:
</contact.account>
</option>
<option id="selectTest" name="selectTest" type="Select" default="1">
<opt id="1" name="eins"></opt>
<opt id="2" name="zwei"></opt>
</option>
<option id="calc" type="Hidden">
<auflage>
@ -122,9 +126,9 @@ PSC\Shop\EntityBundle\Entity\Product:
<name>COLORDB Test</name>
<kommentar>210 mm x 297 mm</kommentar>
<option id="auflage" name="Auflage" type="Input" default="10"/>
<option id="auflage" name="Auflage" type="Input" default="10" helpid="auflage"/>
<option id="farbe_1" name="Farbe 1" type="Select" mode="colordb" container="hks-n" default="78" require="true"></option>
<option id="farbe_1" name="Farbe 1" type="Select" mode="colordb" container="hks-n" default="78" require="true" helpid="seiten"></option>
<option id="farbe_2" name="Farbe 2" type="Select" mode="colordb" container="pantone+-solid-uncoated" default="142" require="true"></option>

View File

@ -5,18 +5,20 @@ namespace PSC\System\SettingsBundle\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations\Field;
use Doctrine\ODM\MongoDB\Mapping\Annotations\Id;
use Doctrine\ODM\MongoDB\Mapping\Annotations\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations\EmbedMany;
#[Document]
class Help
{
#[Id]
public $id;
#[Field(type: 'string')]
public $name;
#[Field(type: 'string')]
public $internName;
#[Field(type: 'string')]
public $helpTitle;
#[Field(type: 'string')]
public $helpText;
#[Field(type: 'string')]
public $helpFile;

View File

@ -19,6 +19,7 @@ class HelpType extends AbstractType
$builder
->add('name', TextType::class, array('label' => 'Name'))
->add('internName', TextType::class, array('label' => 'interner Name'))
->add('helpTitle', TextType::class, array('label' => 'Helptitle'))
->add('helpText', TextareaType::class, array('label' => 'Helptext'))
;
}

View File

@ -4,12 +4,12 @@ namespace PSC\System\SettingsBundle\Model;
class Help
{
public function __construct(public string $id = "", public string $name = "", public string $helpText = "")
public function __construct(public string $id = "", public string $name = "", public string $helpText = "", public string $helpTitle = "")
{
}
public function asArray(): array
{
return ['id' => $this->id, 'name' => $this->name, 'helpText' => $this->helpText];
return ['id' => $this->id, 'name' => $this->name, 'helpText' => $this->helpText, 'helpTitle' => $this->helpTitle];
}
}

View File

@ -40,6 +40,15 @@
{{ form_errors(form.internName) }}
</div>
</div>
<div class="col-md-12">
<div class="row mb-3">
{{ form_label(form.helpTitle) }}
<div class="col-md-8">
{{ form_widget(form.helpTitle) }}
</div>
{{ form_errors(form.helpTitle) }}
</div>
</div>
<div class="col-md-12">
<div class="row mb-3">
{{ form_label(form.helpText) }}

View File

@ -40,6 +40,15 @@
{{ form_errors(form.internName) }}
</div>
</div>
<div class="col-md-12">
<div class="row mb-3">
{{ form_label(form.helpTitle) }}
<div class="col-md-8">
{{ form_widget(form.helpTitle) }}
</div>
{{ form_errors(form.helpTitle) }}
</div>
</div>
<div class="col-md-12">
<div class="row mb-3">
{{ form_label(form.helpText) }}

View File

@ -24,6 +24,6 @@ class Help
return null;
}
}
return new \PSC\System\SettingsBundle\Model\Help($doc->id, $doc->name, $doc->helpText);
return new \PSC\System\SettingsBundle\Model\Help($doc->id, $doc->name, (string)$doc->helpText, (string)$doc->helpTitle);
}
}

View File

@ -107,7 +107,7 @@ class CreateOrderColorDBTest extends WebTestCase
self::assertSame(200, $client->getResponse()->getStatusCode());
$data = json_decode($client->getResponse()->getContent(), true);
self::assertSame(44006, strlen($client->getResponse()->getContent()));
self::assertSame(41380, strlen($client->getResponse()->getContent()));
}
}

View File

@ -0,0 +1,24 @@
<?php
namespace Plugins\System\PSC\XmlCalc\Api;
use PSC\Shop\ContactBundle\Repository\ContactRepository;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Tests\RefreshDatabaseTrait;
class GetHelpTextTest extends WebTestCase
{
use RefreshDatabaseTrait;
public function testGetPriceWithoutUser(): void
{
$client = static::createClient();
$client->jsonRequest('POST', '/api/plugin/system/psc/xmlcalc/price', ['product' => '01938686-0e4d-7da9-bae3-b2e1b1681f9f'], []);
$this->assertResponseIsSuccessful();
$data = json_decode($client->getResponse()->getContent(), true);
self::assertSame('Hilfetext', $data['elements'][0]['help']);
self::assertSame('Auflage Hilfe', $data['elements'][0]['helpTitle']);
}
}

View File

@ -16,6 +16,7 @@ use PSC\Shop\EntityBundle\Document\Position;
use PSC\Shop\EntityBundle\Document\Shop;
use PSC\Shop\MediaBundle\Document\Media;
use PSC\System\PluginBundle\Document\Plugin;
use PSC\System\SettingsBundle\Document\Help;
use Symfony\Component\HttpKernel\KernelInterface;
trait RefreshDatabaseTrait
@ -51,6 +52,9 @@ trait RefreshDatabaseTrait
$doc->getSchemaManager()->dropDocumentCollection(Position::class);
$doc->getSchemaManager()->dropDocumentCollection(Instance::class);
$doc->getSchemaManager()->dropDocumentCollection(Shop::class);
$doc->getSchemaManager()->dropDocumentCollection(Help::class);
$doc->getSchemaManager()->dropDocumentCollection(Country::class);
$doc->getSchemaManager()->dropDocumentCollection(Contact::class);
if (!$doc->getRepository(Plugin::class)->findOneBy(['pluginId' => '19ff3fd21de9dbd7452fd0a67c928758'])) {
$plugin = new Plugin();
@ -64,7 +68,6 @@ trait RefreshDatabaseTrait
$doc->clear();
}
if (!$doc->getRepository(Instance::class)->findOneBy(['appId' => '1'])) {
$instance = new Instance();
$instance->setAppId("1");
$instance->setInvoiceNumberStart(1);
@ -83,13 +86,9 @@ trait RefreshDatabaseTrait
$instance->setParcelInvoiceNumberPattern('TR-{{ "now"|date("Ym") }}-{{number}}');
$doc->persist($instance);
$doc->flush();
$doc->clear();
}
$shopEntity = $em->getRepository(\PSC\Shop\EntityBundle\Entity\Shop::class)->findOneBy(['title' => 'Printchampion']);
if (!$doc->getRepository(Shop::class)->findOneBy(['uid' => $shopEntity->getUid()])) {
$shop = new Shop();
$shop->setUid($shopEntity->getUid());
$shop->setInvoiceNumberStart(1);
@ -122,12 +121,7 @@ trait RefreshDatabaseTrait
$shop->setSenderSteuerId("ShopMusterSteuerId");
$doc->persist($shop);
$doc->flush();
$doc->clear();
}
if (!$doc->getRepository(Country::class)->findOneBy(['code' => 'DE'])) {
$country = new Country();
$country->setCode('DE');
$country->setShop($shopEntity->getUid());
@ -135,27 +129,44 @@ trait RefreshDatabaseTrait
$country->setWithTaxWithUstNr(true);
$doc->persist($country);
$doc->flush();
$doc->clear();
}
$contactEntity = $em->getRepository(\PSC\Shop\EntityBundle\Entity\Contact::class)->findOneBy(['username' => 'company@shop.de']);
if (!$doc->getRepository(Contact::class)->findOneBy(['uid' => (string)$contactEntity->getUid()])) {
$contact = new Contact();
$contact->setAccountType(AccountType::COMPANY);
$contact->setUid((string)$contactEntity->getUid());
$doc->persist($contact);
$doc->flush();
$doc->clear();
}
$contactEntity = $em->getRepository(\PSC\Shop\EntityBundle\Entity\Contact::class)->findOneBy(['username' => 'association@shop.de']);
if (!$doc->getRepository(Contact::class)->findOneBy(['uid' => (string)$contactEntity->getUid()])) {
$contact = new Contact();
$contact->setAccountType(AccountType::ASSOCIATION);
$contact->setUid((string)$contactEntity->getUid());
$doc->persist($contact);
$help1 = new Help();
$help1->helpTitle = 'Auflage Hilfe';
$help1->internName = 'auflage';
$help1->name = 'auflage';
$help1->helpText = 'Hilfetext';
$doc->persist($help1);
$help1 = new Help();
$help1->helpTitle = 'Seiten Hilfe';
$help1->internName = 'seiten';
$help1->name = 'seiten';
$help1->helpText = 'Hilfetext Seiten';
$doc->persist($help1);
$help1 = new Help();
$help1->helpTitle = 'xyz Hilfe';
$help1->internName = 'xyz';
$help1->name = 'xyz';
$help1->helpText = 'Hilfetext xyz';
$doc->persist($help1);
$doc->flush();
$doc->clear();
}
return $kernel;
}

View File

@ -21,6 +21,7 @@ use PSC\Library\Calc\Error\Validation\Input\Min as PSCMin;
use PSC\Library\Calc\Option\Type\ColorDBSelect;
use PSC\Shop\ContactBundle\Model\Contact;
use PSC\Shop\ContactBundle\Transformer\Model\Contact as ContactTransformer;
use PSC\System\SettingsBundle\Service\Help;
use Plugin\System\PSC\XmlCalc\Dto\Input\PriceInput;
use Plugin\System\PSC\XmlCalc\Dto\Output\Display\Group as DisplayGroup;
use Plugin\System\PSC\XmlCalc\Dto\Output\PreCalc\Group;
@ -66,13 +67,16 @@ class GetPrice extends AbstractController
private TokenStorageInterface $tokenStorage;
private ContactTransformer $contactTransformer;
private Help $helpService;
public function __construct(
\PSC\System\SettingsBundle\Service\Shop $shopService,
DocumentManager $documentManager,
EntityManagerInterface $entityManager,
PaperDB $paperDB,
ContactTransformer $contactTransformer,
TokenStorageInterface $tokenStorage
TokenStorageInterface $tokenStorage,
Help $helpService
) {
$this->shopService = $shopService;
$this->documentManager = $documentManager;
@ -80,6 +84,7 @@ class GetPrice extends AbstractController
$this->tokenStorage = $tokenStorage;
$this->paperDB = $paperDB;
$this->contactTransformer = $contactTransformer;
$this->helpService = $helpService;
}
/**
@ -176,8 +181,14 @@ class GetPrice extends AbstractController
$tmp->defaultValue = $option->getDefault();
}
$tmp->value = $option->getValue();
if ($help = $this->helpService->getHelp((string)$product->getUid(), $option->getId())) {
$tmp->help = $help->helpText;
$tmp->helpTitle = $help->helpTitle;
}else{
$tmp->help = $option->getHelp();
$tmp->helpLink = $option->getHelpLink();
}
$tmp->id = $option->getId();
$tmp->valid = $option->isValid();
$tmp->htmlType = $option->type;
@ -192,25 +203,31 @@ class GetPrice extends AbstractController
if (!isset($output->colorDb[$option->getColorSystem()])) {
$output->colorDb[$option->getColorSystem()] = [];
foreach ($option->getOptions() as $opt) {
$element = array_find((array)$option->getSelectedOptions(), function(Opt $o1) use ($opt) {
return $o1->getId() === $opt->getId();
});
$tmpOpt = new Option();
$tmpOpt->id = $opt->getId();
$tmpOpt->name = $opt->getLabel();
$tmpOpt->prefix = $opt->getPrefix();
$tmpOpt->suffix = $opt->getSuffix();
$tmpOpt->valid = $opt->isValid();
$tmpOpt->selected = $opt->isSelected();
$tmpOpt->selected = $element? true: false;
$output->colorDb[$option->getColorSystem()][] = $tmpOpt;
}
}
} else {
foreach ($option->getOptions() as $opt) {
$element = array_find((array)$option->getSelectedOptions(), function(Opt $o1) use ($opt) {
return $o1->getId() === $opt->getId();
});
if ($option instanceof DeliverySelect) {
$tmpOpt = new Option();
$tmpOpt->id = $opt->getId();
$tmpOpt->name = $opt->getLabel();
$tmpOpt->valid = $opt->isValid();
$tmpOpt->selected = $opt->isSelected();
$tmpOpt->selected = $element? true: false;
$tmpOpt->info = $opt->getInfo();
$tmpOpt->deliveryDate = $opt->getDeliveryDateAsString();
} else {
@ -218,7 +235,7 @@ class GetPrice extends AbstractController
$tmpOpt->id = $opt->getId();
$tmpOpt->name = $opt->getLabel();
$tmpOpt->valid = $opt->isValid();
$tmpOpt->selected = $opt->isSelected();
$tmpOpt->selected = $element? true: false;
}
$tmp->options[] = $tmpOpt;
}

View File

@ -78,6 +78,12 @@ class Element
*/
public ?string $help;
/**
* @OA\Property(type="string")
*/
public ?string $helpTitle;
/**
* @OA\Property(type="string")
*/

View File

@ -59,7 +59,7 @@ $filesOptions = $this->article['basketarticle']->getFiles();
<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>
<?php if($this->article['basketarticle']->getLayouterId() != "" && !$this->article()->checkIfCollectionOrdersForTemplatePrint($this->article['basketarticle']->getLayouterId())): ?><br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a><?php endif; ?>
<br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a>
</div>

View File

@ -0,0 +1,81 @@
<?php
$this->headScript()->prependFile('/'. $this->designPath . '/js/saxoprint.js');
?>
<script type="text/javascript">
productUUId = '<?php echo $this->article->uuid ?>';
productLoaded = <?php echo ($this->load) ? 1 : 0 ?>;
productUrl = '<?php echo $this->article->url ?>';
window.onload = function() {
$('#in_basket').removeClass('disabled');
var saxoprint = new Saxoprint("<?php echo $this->article->uuid; ?>", "<?php echo $this->article->getPluginSettings('saxoprint', 'saxoprint'); ?>", "<?php echo $this->article->getPluginSettings('saxoprint', 'saxoprintauflage'); ?>", <?php echo $this->article->mwert ?>)
saxoprint.init();
}
</script>
<button onclick="sendHeight();">iFrame Höhe neu ermitteln</button>
<!--
<div class="md:flex mt-10 md:w-2/4 md:m-auto gap-10 ml-2 mr-2 md:mt-10">
<div class="md:w-1/2">
<?php if ($this->article->file != "" && $this->layouterPreviewId == "") : ?>
<?php echo $this->image()->thumbnailImage($this->article->title, 'productdetail', $this->article->file); ?>
<?php endif; ?>
</div>
<div class="md:w-1/2">
<h2 class="text-highlight text-2xl font-lenzFont"><?php echo $this->article->title ?></h2>
<p><?php echo $this->article->einleitung ?></p>
</div>
</div>
-->
<div class="border border-slate-200 mt-10 md:w-2/4 md:m-auto ml-2 mr-2 md:mt-10">
<!--
<div class="bg-gray-200 divide-x flex w-full" id="default-tab" data-tabs-active-classes="border-b-2 border-gray-400 bg-gray-300" data-tabs-toggle="#product-content" role="tablist">
<div class="w-1/2 p-1 cursor-pointer" data-tabs-target="#div-calc" type="button" role="tab" aria-controls="div-calc" aria-selected="false">Kalkulation</div>
<div class="w-1/2 p-1 cursor-pointer" data-tabs-target="#div-details" type="button" role="tab" aria-controls="div-details" aria-selected="false">Beschreibung</div>
</div>
-->
<div id="product-content">
<div id="div-calc" role="tabpanel" aria-labelledby="div-calc-tab">
<div class="md:flex">
<form id="calc_saxoprint" class="m-2 basis-2/3">
<div id="selextender"></div>
</form>
<div class="basis-1/3 m-2">
<h2 class="text-lg font-lenzFont font-medium">Summe</h2>
<table class="table-auto w-full">
<tbody>
<tr>
<td><?php echo $this->translate('Preis (netto)') ?>:</td>
<td class="text-right"><span id="netto"></span></td>
</tr>
<tr>
<td><?= $this->translate('zzgl. ') ?> <?php echo $this->article->mwert; ?>% <?= $this->translate('MwSt.') ?></td>
<td class="text-right"><span id="mwert"></span></td>
</tr>
<tr>
<td><strong><?php echo $this->translate('Preis (brutto)') ?>:</strong></td>
<td class="text-right"><strong><span id="brutto"></span></strong></td>
</tr>
</tbody>
</table>
<?php if (!$this->article->not_buy) : ?>
<form action="/article/buy/?id=<?= $this->article->id ?>" target="_self" class="buy" role="form" id="buyform" method="POST">
<input type="hidden" value="1" name="count">
<input type="hidden" id="upload_mode" name="upload_mode" value="<?php echo $this->upload_mode ?>" />
<input type="hidden" value="" name="collecting_orders_data" id="collecting_orders_data"/>
<button type="submit" id="in_basket" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-slate-200 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight "><?= $this->translate('Buy') ?></button>
</form>
<?php endif; ?>
<?php if ($this->article->as_offer) : ?><button type="button" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-slate-200 border bg-highlight text-black p-2 pl-5 pr-5 rounded-full disabled bg-slate-50 mt-5 "><?php echo $this->translate('Angebot drucken') ?></button><?php endif; ?>
</div>
</div>
</div>
<div id="div-details" role="tabpanel" aria-labelledby="div-details-tab">
<div class="m-2"><?php echo $this->article->info ?></div>
</div>
</div>
</div>

View File

@ -0,0 +1,69 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="basis-4/12 mr-1">
<?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="basis-5/12">
<?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 != ""): ?><?php echo $this->shop->basketposfield1 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="border bg-gray-200 text-black p-2 border-gray-300" style="margin-bottom: 0;" name="ref_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getRef(); ?>"/>
<input type="submit" class="transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
<?php if($this->shop->basketposfield2 != ""): ?><?php echo $this->shop->basketposfield2 ?>
<form enctype="multipart/form-data" method="post">
<div><input type="text" class="border bg-gray-200 text-black p-2 border-gray-300" style="margin-bottom: 0;" name="kst_<?php echo $this->article['uuid'] ?>" value="<?php echo $this->article['basketarticle']->getKst(); ?>"/>
<input type="submit" class="transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white" style="" value="<?php echo $this->translate('übernehmen')?>"/></div>
</form>
<?php endif; ?>
</div>
<div class="basis-4/12" 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 class="text-highlight underline" href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<br/><a class="text-highlight underline" 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="basis-3/12">
<?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="basis-5/12"><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 != ""): ?><?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 != ""): ?><?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="basis-4/12" 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 != ""): ?><?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 != ""): ?><?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,249 @@
<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">
<?php echo $this->image()->thumbnailImage($this->article->title, 'layouter', $this->article->file); ?>
<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->file != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file1 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file1, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file1, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file2 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file2, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file2, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file3 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file3, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file3, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file4 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file4, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file4, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file5 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file5, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file5, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file6 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file6, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file6, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if($this->article->file7 != ""): ?>
<label onclick="loadFile('<?php echo $this->image()->thumbnailImage($this->article->title, 'articlesinglegreater', $this->article->file7, true); ?>', 'pic', '<?php echo $this->article->title ?>')">
<img src="<?php echo $this->image()->thumbnailImage($this->article->title, 'little', $this->article->file7, true); ?>" class="img-fluid">
</label>
<?php endif; ?>
<?php if ( $this->article->getYoutubeId() != '') : ?>
<label onclick="loadFile('//www.youtube.com/embed/<?php echo $this->article->getYoutubeId(); ?>', 'youtube')">
<img style="background:url(<?php echo'https://img.youtube.com/vi/'.$this->article->getYoutubeId().'/1.jpg'; ?>)" src="/<?php echo $this->designPath ?>bootstrap/img/miniplay.png"alt="" />
</label>
<?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-3"><?php echo $this->image()->thumbnailImage($basketArticle['title'], 'articlelist', $basketArticle['file']); ?></div>
<div class="col-sm-5"><?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,90 @@
<?php $this->headScript()->prependFile('/' . $this->designPath . '/js/calc.js'); ?>
<script type="text/javascript">
productUUId = '<?php echo $this->article->uuid ?>';
productLoaded = <?php echo ($this->load) ? 1 : 0 ?>;
productReBuy = <?php echo ($this->rebuy) ? 1 : 0 ?>;
productValues = {};
productLanguage = '<?php echo $this->currency->getShortName() ?>';
productXml = '';
productUrl = '<?php echo $this->article->url ?>';
<?php
if ($this->load || $this->rebuy) {
foreach (TP_Basket::getBasket()->getTempProduct($this->article->uuid)->getOptions() as $key => $var) {
echo "productValues['" . $key . "'] = '" . $var . "';";
}
echo '$("#upload_mode").val("' . TP_Basket::getBasket()->getTempProduct($this->article->uuid)->getUploadMode() . '");';
}
if($this->layouterSession) {
echo '$("#upload_mode").val("' . $this->layouterSession->layouter_modus . '");';
}
?>
window.onload = function() {
<?php
if ($this->load || $this->rebuy) {
echo '$("#upload_mode").val("' . TP_Basket::getBasket()->getTempProduct($this->article->uuid)->getUploadMode() . '");';
}
if($this->layouterSession) {
echo '$("#upload_mode").val("' . $this->layouterSession->layouter_modus . '");';
}
?>
$('#in_basket').removeClass('disabled');
}
</script>
<div class="md:flex mt-10 md:w-2/4 md:m-auto gap-10 ml-2 mr-2">
<div class="md:w-1/2">
<?php if ($this->article->file != "" && $this->layouterPreviewId == "") : ?>
<?php echo $this->image()->thumbnailImage($this->article->title, 'productdetail', $this->article->file); ?>
<?php endif; ?>
</div>
<div class="md:w-1/2">
<h2 class="text-highlight text-2xl font-lenzFont"><?php echo $this->article->title ?></h2>
<p><?php echo $this->article->einleitung ?></p>
</div>
</div>
<div class="border border-slate-200 mt-10 md:w-2/4 md:m-auto ml-2 mr-2 md:mt-10">
<div class="bg-gray-200 divide-x flex w-full" id="default-tab" data-tabs-active-classes="border-b-2 border-gray-400 bg-gray-300" data-tabs-toggle="#product-content" role="tablist">
<div class="w-1/2 p-1 cursor-pointer" data-tabs-target="#div-calc" type="button" role="tab" aria-controls="div-calc" aria-selected="false">Kalkulation</div>
<div class="w-1/2 p-1 cursor-pointer" data-tabs-target="#div-details" type="button" role="tab" aria-controls="div-details" aria-selected="false">Beschreibung</div>
</div>
<div id="product-content">
<div id="div-calc" role="tabpanel" aria-labelledby="div-calc-tab">
<div class="md:flex">
<form id="CALCFORM" class="m-2 basis-2/3"></form>
<div class="basis-1/3 m-2">
<h2 class="text-lg font-lenzFont font-medium">Summe</h2>
<table class="table-auto w-full">
<tbody>
<tr>
<td><?php echo $this->translate('Preis (netto)') ?>:</td>
<td class="text-right"><span id="netto"></span></td>
</tr>
<tr>
<td><?= $this->translate('zzgl. ') ?> <?php echo $this->article->mwert; ?>% <?= $this->translate('MwSt.') ?></td>
<td class="text-right"><span id="mwert"></span></td>
</tr>
<tr>
<td><strong><?php echo $this->translate('Preis (brutto)') ?>:</strong></td>
<td class="text-right"><strong><span id="brutto"></span></strong></td>
</tr>
</tbody>
</table>
<?php if (!$this->article->not_buy) : ?>
<input type="hidden" id="upload_mode" name="upload_mode" value="<?php echo $this->upload_mode ?>" />
<button type="button" id="in_basket" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-slate-200 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight "><?= $this->translate('Buy') ?></button>
<?php endif; ?>
<?php if ($this->article->as_offer) : ?><button type="button" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-slate-200 border bg-highlight text-black p-2 pl-5 pr-5 rounded-full disabled bg-slate-50 mt-5 "><?php echo $this->translate('Angebot drucken') ?></button><?php endif; ?>
</div>
</div>
</div>
<div id="div-details" role="tabpanel" aria-labelledby="div-details-tab">
<div class="m-2"><?php echo $this->article->info ?></div>
</div>
</div>
</div>

View File

@ -0,0 +1,67 @@
<?php
$basketArticle = $this->article['article'];
$articleObj = new market_article();
$filesOptions =$this->article['basketarticle']->getFiles();
?>
<div class="basis-4/12">
<?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="basis-4/12"><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 != ""): ?><?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 != ""): ?><?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="basis-4/12" 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 class="underline" href="<?php echo $this->url(array('del' => $this->article['uuid']), 'basketdel') ?>"><?php echo $this->translate('Löschen'); ?></a>
<?php if($this->article['basketarticle']->getLayouterId() != "" && !$this->article()->checkIfCollectionOrdersForTemplatePrint($this->article['basketarticle']->getLayouterId())): ?><br/><a href="<?php echo $this->url(array('key' => $this->article['uuid']), 'articleload') ?>"><?php echo $this->translate('Bearbeiten') ?></a><?php endif; ?>
</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 = "480"
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.productdetail.scale.type = "scaleWidth"
images.productdetail.scale.data.width = "500"
images.productdetail.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,77 @@
[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"
user.elements.custom1.type = "text"
user.elements.custom1.options.label = "Custom1"
; 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,146 @@
[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.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.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,166 @@
[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"
; 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,92 @@
<div class="hidden md:block">
<ul class="flex m-auto mb-4 justify-center text-highlight">
<?php
$articleGroups = $this->Articlegroup()->getTree();
foreach ($articleGroups as $articleGroup) { ?>
<li class="mr-6 group">
<?php $subGroups = $this->Articlegroup()->getSubTree($articleGroup);
if(count($subGroups) > 0): ?>
<div class="flex space-x-2">
<a href="/overview/<?php echo $articleGroup->url ?>"><?php echo $articleGroup->title ?></a>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4">
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
</svg>
</div>
<ul class="invisible absolute z-50 py-1 px-4 bg-white shadow-xl group-hover:visible">
<?php foreach($subGroups as $subGroup): ?>
<li class="group/sub"><?php $subSubGroups = $this->Articlegroup()->getSubTree($subGroup);
if(count($subSubGroups) > 0): ?>
<div class="flex space-x-2 min-w-40">
<a class="grow" href="/overview/<?php echo $subGroup->url ?>"><?php echo $subGroup->title ?></a>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4">
<path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" />
</svg>
</div>
<ul class="invisible absolute min-w-40 z-100 top-0 left-40 py-1 px-4 bg-white shadow-xl group-hover/sub:visible">
<?php foreach($subSubGroups as $subSubGroup): ?>
<li><a href="/overview/<?php echo $subSubGroup->url ?>" class="text-highlight"><?php echo $subSubGroup->title ?></a></li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<a href="/overview/<?php echo $subGroup->url ?>"><?php echo $subGroup->title ?></a>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<a href="/overview/<?php echo $articleGroup->url ?>" class="text-highlight"><?php echo $articleGroup->title ?></a>
<?php endif; ?>
</li>
<?php } ?>
</ul>
</div>
<div class="md:hidden text-center mb-4">
<button data-dropdown-toggle="sitenav" class="w-2/3 bg-gray-200 border border-gray-300 rounded-lg text-sm px-5 py-2.5 text-highlight block text-center inline-flex items-center" type="button">Seite wählen <svg class="w-2.5 h-2.5 ms-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
</svg>
</button>
<div id="sitenav" class="hidden z-10 md:hidden bg-white rounded-lg shadow w-44 w-full dark:bg-gray-700">
<ul class="p-1 text-highlight text-left divide-y">
<?php
$articleGroups = $this->Articlegroup()->getTree();
foreach ($articleGroups as $articleGroup) { ?>
<li class="ml-1">
<?php $subGroups = $this->Articlegroup()->getSubTree($articleGroup);
if(count($subGroups) > 0): ?>
<div class="flex w-full">
<button onclick="$('#tg-<?php echo $articleGroup->id ?>').toggleClass('hidden')" type="button" ><?php echo $articleGroup->title ?></button>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4">
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
</svg>
</div>
<ul id="tg-<?php echo $articleGroup->id ?>" class="hidden z-50 ml-2">
<?php foreach($subGroups as $subGroup): ?>
<li class="group/sub"><?php $subSubGroups = $this->Articlegroup()->getSubTree($subGroup);
if(count($subSubGroups) > 0): ?>
<div class="flex space-x-2 min-w-40">
<button onclick="$('#tg-<?php echo $subGroup->id ?>').toggleClass('hidden')" type="button"><?php echo $subGroup->title ?></button>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4">
<path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" />
</svg>
</div>
<ul id="tg-<?php echo $subGroup->id ?>" class="ml-4 hidden">
<?php foreach($subSubGroups as $subSubGroup): ?>
<li><a href="/overview/<?php echo $subSubGroup->url ?>" class="text-highlight"><?php echo $subSubGroup->title ?></a></li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<a href="/overview/<?php echo $subGroup->url ?>"><?php echo $subGroup->title ?></a>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<a href="/overview/<?php echo $articleGroup->url ?>" class="text-highlight"><?php echo $articleGroup->title ?></a>
<?php endif; ?>
</li>
<?php } ?>
<li class="ml-1"><a href="/user">Mein Konto</a></li>
<li class="ml-1"><a href="/basket">Warenkorb</a></li>
</ul>
</div>
</div>

View File

@ -0,0 +1,95 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<?php if($this->page_title != ''): ?>
<title><?= $this->page_title; ?></title>
<?php else:?>
<title><?= $this->shop->name; ?></title>
<?php endif; ?>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
all: '#666666',
highlight: '#092041',
dark: '#262626',
lenzBlue: '#428bca'
}
},
fontFamily: {
lenzFont: ['"Raleway Regular"', "sans-serif"]
}
}
}
</script>
<style type="text/tailwindcss">
@layer base {
@font-face {
font-family: 'Raleway Regular';
font-display: swap;
src: url("/<?php echo $this->designPath ?>fonts/Raleway-Regular.otf") format('opentype');
}
}
</style>
</head>
<body class="h-screen text-all font-lenzFont" x-data="{scrolledFromTop: false}" @scroll.window="window.pageYOffset > 60 ? scrolledFromTop = true: scrolledFromTop = false">
<div class="loading hidden absolute bg-white bg-opacity-60 z-40 h-full w-full flex items-center justify-center">
<div class="flex items-center">
<span class="text-3xl mr-4">Loading</span>
<svg class="animate-spin h-8 w-8 text-gray-800" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor"
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z">
</path>
</svg>
</div>
</div>
<div class="bg-white"> <?php
$PriorityMessenger = $this->PriorityMessenger();
if(count($PriorityMessenger)): ?>
<div class="w-3/4 md:w-2/4 m-auto border border-gray-300 p-2 mt-2 mb-2">
<?php
foreach ($PriorityMessenger as $label => $messages) {
if (count($messages)) {
foreach ($messages as $message) {
if($label == 'error') {
echo '<div class="text-red-500">'.$this->translate($message).'</div>';
}else{
echo '<div class="text-green-500">'.$this->translate($message).'</div>';
}
}
}
}
?>
</div>
<?php endif; ?>
<?= $this->layout()->CONTENT; ?>
</div>
<script>
function sendHeight() {
const height = document.body.scrollHeight;
parent.postMessage({ height: height }, "https://kalendercreator.de");
//alert('Sie sollten doch nicht drücken!');
}
window.addEventListener("load", sendHeight);
window.addEventListener("resize", sendHeight);
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.3.0/flowbite.min.js"></script>
<script src="//unpkg.com/alpinejs" defer></script>
<?= $this->headScript(); ?>
<?= $this->headLink(); ?>
</body>
<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,51 @@
<?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>
<div class="caption productgroupbox productgroupboxtxt">
<label class="einleitung"><?php echo $this->articlegroup->getEinleitung(); ?></label>
<label class="formattxt"><?php echo $this->articlegroup->getTextFormat(); ?></label>
</div>
<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,92 @@
<?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 />
<div class="productbox">
<label class="artikelnr"><?php if($this->article->article_nr_extern) { ?><?php echo $this->translate('Artikelnummer')?>: <?php echo $this->article->article_nr_extern; ?><?php } ?><br />
<?php echo $this->article->einleitung; ?><br /><br />
</label>
<span class="pricepro"><?php echo $this->article->text_format; ?></span><br />
<?php if(!$this->designsettings()->get('display_no_price')) { ?><label><?php if(str_replace(".", ",", $this->article->a4_abpreis) != "0,00") { ?><?php echo $this->translate('ab')?> <?php echo str_replace(".", ",", $this->currency->toCurrency($this->article->a4_abpreis)); ?><?php } ?></label>
<?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):
echo $this->translate('ab') ?> <span class="badge badge-info"><?php echo $this->currency->toCurrency($this->article->a4_abpreis) ?>
<?php elseif($this->article->typ == 2):
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):
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:
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;?><?php } ?>
</div>
<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,20 @@
<?php echo $this->articleTemplate; ?>
<?php
$relatedbuys = $this->article->getRelated();
if (!empty($relatedbuys)):
?>
<div class="md:w-2/4 m-auto">
<h3 class="text-highlight text-2xl mt-5"><?php echo $this->translate('Wir empfehlen auch', 'text', 'releated_article_h1') ?></h3>
<div class="mt-5 md:columns-3">
<?php foreach ($relatedbuys as $article): ?>
<div class="break-inside-avoid-column mb-5">
<a href="<?= $this->url(array('article' => $article->url), 'article') ?>" class="">
<?= $this->image()->thumbnailImage($article->title, 'productgrouplist', $article->file); ?>
<h4 class="text-lg font-lenzFont"><?php echo $article->title ?></h4>
</a>
</div>
<?php endforeach; ?>
</div>
</div>
<?php endif; ?>

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,3 @@
<script>
parent.postMessage({action: 'redirectBasket'}, '*');
</script>

View File

@ -0,0 +1,9 @@
<div class=" md:w-4/4 m-auto">
<h1 class="ml-1 mr-1 md:ml-0 md:mr-0 mt-4 text-xl"><?php echo $this->translate('Vielen Dank für Ihre Bestellung') ?></h1>
<p class="ml-1 mr-1 md:ml-0 md:mr-0 mt-4 mb-4"><?php echo $this->translate('Sie erhalten in Kürze eine Bestätigungsmail Ihrer Bestellung.')?></p>
<div class="ml-1 mr-1 md:ml-0 md:mr-0 md:flex gap-4">
<a class="block text-center transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/user/myorders"><?php echo $this->translate('Zu meinen Aufträgen')?></a>
<a class="block text-center transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/"><?php echo $this->translate('Zur Startseite')?></a>
<a class="block text-center transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/user?logout=1"><?php echo $this->translate('Abmelden')?></a>
</div>
</div>

View File

@ -0,0 +1,342 @@
<div class=" md:w-4/4 m-auto">
<?php if ($this->basketIsEmpty) : ?>
<div class="text-center bg-indigo-500 p-2">
<div class="text-white" style=""><?php echo $this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.') ?></div>
</div>
<div class="mt-5" style="">
<h3><?php echo $this->translate('Vielleicht möchten Sie einfach auf der Startseite beginnen?')?></h3>
<br>
<a class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight " href="/" title="<?= $this->shop->name; ?>: zur Startseite"><?php echo $this->translate('Zur Startseite') ?></a>
</div>
<?php else : ?>
<div class="md:flex bg-white mt-4 border mb-4">
<label class="bg-lenzBlue md:p-4 text-white md:flex-1">
<a 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>
<label class="bg-lenzBlue md:p-4 text-white md:flex-1">
<a 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>
<label class="bg-highlight md:p-4 text-white md:flex-1">
<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="md:flex gap-3">
<div class="flex-1">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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>
<a class="text-center block w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/basket/review"><?php echo $this->translate('Ändern') ?></a>
</div>
</div>
<?php if ($this->shop->display_delivery) : ?>
<div class="flex-1">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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>
<a class="text-center block w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/basket/review"><?php echo $this->translate('Ändern') ?></a>
</div>
</div>
<?php endif; ?>
<?php if ($this->shop->display_sender) : ?>
<div class="flex-1">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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>
<a class="text-center block w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " href="/basket/review"><?php echo $this->translate('Ändern') ?></a>
</div>
</div>
<?php endif; ?>
</div>
<div class="flex mt-4 mb-4 ml-1 mr-1 md:ml-0 md:mr-0">
<div class="flex-1"><?php echo $this->translate('Gewählte Versandart') ?>: <b><?php echo $this->shippingtype->title ?></b> <a href="/basket/index"><?php echo $this->translate('Ändern') ?></a></div>
<div class="flex-1"><?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>
<h3 class="mb-4 ml-1 md:ml-0"><?php echo $this->translate('Warenkorb') ?> <a class="underline" href="/basket/index"><?php echo $this->translate('Produkte ändern') ?></a></h3>
<form action="/basket/finish" method="post" enctype="multipart/form-data">
<?php foreach ($this->basket_articles_complete as $barticle) : ?>
<div class="flex border">
<div class="basis-4/12 p-1 font-medium text-right">
<?php if (($barticle['article']['a6_org_article'] == 0 || $barticle['article']['a6_org_article'] == "") && ($barticle['basketarticle']->getLayouterId() == "" || $barticle['basketarticle']->getLayouterId() == false)) : ?>
<?php echo $this->image()->thumbnailImage($barticle['article']['title'], 'articlelist', $barticle['article']['file']); ?>
<?php else : ?>
<?php $articleObj = new market_article(); ?>
<?= $articleObj->generatePreview($barticle['article']['id'], $barticle['basketarticle']->getLayouterId(), 'articlelist'); ?>
<?php endif; ?>
</div>
<div class="basis-4/12 p-1 font-medium ">
<?php if (($barticle['basketarticle']->getLayouterId() == "" || $barticle['basketarticle']->getLayouterId() == false)) : ?>
<?php echo $barticle['article']['title'] ?>
<?php else : ?>
<?php echo $this->layouter()->getTitle($barticle['basketarticle']->getLayouterId()); ?>
<?php endif; ?>
<?php if (($barticle['options'])) : ?>
<ul>
<?php foreach ($barticle['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; ?>
</div>
<div class="basis-4/12 text-right p-1 font-medium text-right">
<?php echo $this->currency->toCurrency($barticle['basketarticle']->getNetto() * $barticle['basketarticle']->getCount()) ?></label><label style="font-size:14px; font-weight:100;width: 45px;"><?php echo $this->translate('(Netto)')?></label><br /><?php echo $this->currency->toCurrency($barticle['basketarticle']->getBrutto() * $barticle['basketarticle']->getCount()) ?> <label style="font-size:14px; font-weight:100;"><?php echo $this->translate('(Brutto inkl. '.$barticle['article']['mwert'].'% MwSt.)') ?>
</div>
</div>
<?php endforeach; ?>
<?php
/************************************************************************************************************************************************************************
* Zusammenfassung der Bestellung
*/
?>
<table class="w-full table table-bordered ml-1 mr-1">
<?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="text-right bg-gray-200 text-bold"><?php echo $this->translate('Produktpreis (inkl. MwSt.)'); ?>:</th>
<th class="bg-gray-200">&nbsp;</th>
<th class="text-right bg-gray-200 text-bold"><?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 class="text-right">
<?php echo $this->shippingtype->title ?>
</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 class="text-right">
<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="">
<td class="text-xl font-bold border-gray-300 border bg-gray-200 text-right">
<h4><?php echo $this->translate('Gesamtbetrag'); ?>:</h4>
</td>
<td class="text-xl border-gray-300 border bg-gray-200">
</td>
<td class="text-xl font-bold border-gray-300 border bg-gray-200 text-right">
<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-gray-500"><strong><?php echo $this->translate('Preis abzgl. Gutschein'); ?>:</strong></td>
<td align="right" class="text-white bg-gray-500">
</td>
<td align="right" class="text-black bg-gray-500">
<?php echo $this->currency->toCurrency(TP_Basket::getBasket()->getPreisBrutto() - $this->basket_gutschein) ?>
</td>
</tr>
<?php endif; ?>
</table>
<script>
window.onload = function(e){
$(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="md:text-right mt-2 mb-2 ml-1 mr-1 md:ml-0 md:mr-0">
<?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" class="underline" 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" class="underline" 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" class="underline" 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" class="underline" 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" class="underline" 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" class="underline" 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 class="text-right ml-1 mr-1 md:ml-0 md:mr-0">
<button type="submit" class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight "><?php echo $this->translate('kostenpflichtig bestellen') ?></button>
</div>
</form>

View File

@ -0,0 +1,213 @@
<div class="md:w-4/4 m-auto">
<!--<div class="page-header col-xs-12"><?php echo $this->translate('Warenkorb / Bestellung') ?></div>-->
<?php if ($this->basketIsEmpty) : ?>
<div class="text-center bg-indigo-500 p-2">
<div class="text-white" style=""><?php echo $this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.') ?></div>
</div>
<div class="mt-5" style="">
<h3><?php echo $this->translate('Vielleicht möchten Sie einfach auf der Startseite beginnen?')?></h3>
<br>
<a class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight " href="/" title="<?= $this->shop->name; ?>: zur Startseite"><?php echo $this->translate('Zur Startseite') ?></a>
</div>
<?php else : ?>
<div class="md:flex bg-white mb-4 mt-4 ">
<label class="bg-highlight md:p-4 text-white md:flex-1">
<h4><?php echo $this->translate('Schritt') ?> 1: <?php echo $this->translate('Warenkorb') ?></h4><?php echo $this->translate('Übersicht über Ihre Bestellung') ?>
</label>
<label class="md:flex-1 md:p-4 ">
<h4><?php echo $this->translate('Schritt') ?> 2: <?php echo $this->translate('Adressdaten') ?></h4><?php echo $this->translate('Rechnungs- und Lieferadresse angeben') ?>
</label>
<label class="md:flex-1 md:p-4 ">
<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="">
<div class="">
<?php foreach ($this->articles as $article) : ?>
<div class="p-2 flex border-gray-300 mb-4">
<?php echo $this->partial($article['article']->typ . '_basket_index.phtml', array('article' => $article, 'currency' => $this->currency, 'shop' => $this->shop)) ?>
</div>
<?php endforeach; ?>
</div>
<?php
/************************************************************************************************************************************************************************
* Zusammenfassung der Bestellung
*/
?>
<div class="md:flex flex-row-reverse mt-5 ml-2 mr-2">
<div class="md:basis-10/12">
<form action="<?php echo $this->redirect_ssl_path ?>/basket" method="post" class="niceform" enctype="multipart/form-data">
<table class="table-auto w-full border-collapse border-spacing-2">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><thead>
<tr>
<th class="bg-gray-300 p-1 font-medium text-right" style=""><?php echo $this->translate('Produktpreis'); ?>:</th>
<th class="bg-gray-300 p-1 ">&nbsp;</th>
<th class="bg-gray-300 p-1 font-medium text-right" style=""><?php echo $this->currency->toCurrency($this->productnetto) ?> (<?php echo $this->currency->toCurrency($this->productbrutto) ?>)</th>
</tr>
</thead><?php } ?>
<tbody>
<tr>
<td class="text-right p-1">
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php echo $this->translate('zzgl. Versand'); ?><?php } else { ?><?php echo $this->translate('Versand'); ?><?php } ?>:
</td>
<td class="p-1">
<select name="shippingtype" onchange="javascript:this.form.submit()" class="border border-gray-300 bg-gray-200 text-black p-2 w-full">
<?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 class="p-1 text-right">
<?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 class="p-1 text-right">
<?php echo $this->translate('zzgl. Zahlart'); ?>:
</td>
<td class="p-1">
<select name="paymenttype" onchange="javascript:this.form.submit()" class="border border-gray-300 bg-gray-200 text-black p-2 w-full">
<?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 class="p-1 text-right">
<?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 class="p-1 text-right"><?php echo $this->translate('Gutscheincode') ?>:</td>
<td class="p-1 text-right">
<input class="border bg-gray-200 text-black p-2 w-full border-gray-300" type="text" name="gutscheincode" value="<?php echo $this->gutscheincode ?>" />
</td>
<td class="p-1 text-right">
<input class="transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " 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)) : ?>
<tr>
<td class="text-right" class="grey"></td>
<td class="text-right" class="grey">
<strong><?php echo $this->translate('abzgl. Gutschein'); ?>:</strong>
</td>
<td class="text-right" class="grey">
<?php echo $this->currency->toCurrency($this->gutscheincodeabzugnetto) ?> (<?php echo $this->currency->toCurrency($this->gutscheincodeabzug) ?>)
</td>
</tr>
<?php endif; ?>
<?php if(!$this->designsettings()->get('display_no_price')) { ?><?php foreach ($this->mwertalle as $key => $mw) : ?>
<tr>
<td class="text-right">
<?php echo $this->translate('enth. MwSt.'); ?> <?= $key ?>%:
</td>
<td class="text-right">
</td>
<td class="text-right" style="">
<?php echo $this->currency->toCurrency($mw) ?>
</td>
</tr>
<?php endforeach; ?><?php } ?>
<?php if(!$this->designsettings()->get('display_no_price')) { ?><tr class="brutto">
<td class="text-right bg-gray-300 p-1 text-lg">
<h4><?php echo $this->translate('Gesamtbetrag'); ?>:<?php /*echo $this->currency->toCurrency($this->brutto / 1.19)*/ ?></h4>
</td>
<td class="text-right bg-gray-300 p-1 text-lg">
&nbsp;
</td>
<td class="text-right bg-gray-300 p-1 text-lg">
<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 class="text-right" class="grey"></td>
<td class="text-right" class="grey">
<strong><?php echo $this->translate('abzgl. Gutschein'); ?>:</strong>
</td>
<td class="text-right" style="" class="grey">
<?php echo $this->currency->toCurrency($this->gutscheincodeabzug) ?>
</td>
</tr>
<tr>
<td class="text-right bg-gray-300 p-1 text-lg"></td>
<td class="text-right bg-gray-300 p-1 text-lg">
<strong><?php echo $this->translate('Preis abzgl. Gutschein'); ?>:</strong>
</td>
<td class="text-right bg-gray-300 p-1 text-lg">
<?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>
<td class="text-right">
</td>
<td colspan="2">
<?php echo $this->translate($this->shop->basketfield1) ?><br />
<textarea class="border bg-gray-200 text-black p-2 w-full border-gray-300" name="basketfield1"><?php echo $this->basketfield1 ?></textarea>
</td>
</tr>
<?php endif; ?>
<?php if ($this->shop->basketfield2) : ?>
<tr>
<td class="text-right">
</td>
<td colspan="2">
<?php echo $this->translate($this->shop->basketfield2) ?><br />
<textarea class="border bg-gray-200 text-black p-2 w-full border-gray-300" name="basketfield2"><?php echo $this->basketfield2 ?></textarea>
</td>
</tr>
<?php endif; ?>
</table>
<div class="mt-5 text-right">
<input type="submit" class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black p-2 pl-5 pr-5 rounded-full disabled bg-slate-200 " title="weiter" onclick="location.href='/';return false;" value="<?php echo $this->translate('weiter einkaufen') ?>" />
<input type="submit" class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight " title="bestellen" value="<?php echo $this->translate('Zur Kasse gehen') ?>" />
</div>
</form>
</div>
</div>
<?php endif; ?>
</div>
<script>
parent.postMessage({action: 'setBasketCount', data: <?php echo count($this->articles) ?>}, '*');
</script>

View File

@ -0,0 +1,181 @@
<div class=" md:w-4/4 m-auto">
<?php
$this->headScript()->prependFile('/scripts/underscore.js');
$this->headScript()->prependFile('/' . $this->designPath . '/js/review.js');
?>
<div class="review_index">
<?php if ($this->basketIsEmpty) : ?>
<div class="text-center bg-indigo-500 p-2">
<div class="text-white" style=""><?php echo $this->translate('Sie haben keine Artikel im Warenkorb. Keine Bestellung möglich.') ?></div>
</div>
<div class="mt-5" style="">
<h3><?php echo $this->translate('Vielleicht möchten Sie einfach auf der Startseite beginnen?')?></h3>
<br>
<a class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight " href="/" title="<?= $this->shop->name; ?>: zur Startseite"><?php echo $this->translate('Zur Startseite') ?></a>
</div>
<?php else : ?>
<div class="md:flex bg-white mb-4 mt-4 border">
<label class="bg-lenzBlue md:p-4 text-white md:flex-1">
<a 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>
<label class="bg-highlight md:p-4 text-white md:flex-1">
<h4><?php echo $this->translate('Schritt') ?> 2: <?php echo $this->translate('Adressdaten') ?></h4><?php echo $this->translate('Rechnungs- und Lieferadresse angeben') ?>
</label>
<label class="md:flex-1 md:p-4">
<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; ?>
<form action="/basket/review" class="" method="post" enctype="multipart/form-data" id="review-form">
<div class="md:flex gap-3">
<div class="flex-1">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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 type="button" id="invoiceEdit" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white "><?php echo $this->translate('Ändern') ?></button></p>
</div>
</div>
<?php if ($this->shop->display_delivery) : ?>
<div class="flex-1 delivery">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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="button" id="deliveryEdit" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " data-toggle="modal" data-target="#myDelivery" onclick="return false;"><?php echo $this->translate('Ändern') ?></button></p>
<p><button type="button" id="sameDeliveryAsInvoice" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 text-xs rounded-full disabled bg-highlight "><?php echo $this->translate('Gleich wie Rechnungsadresse') ?></button></p>
</div>
</div>
</div>
<?php endif; ?>
<?php if ($this->shop->display_sender) : ?>
<div class="flex-1 sender">
<div class="bg-gray-200 p-2 h-full">
<h4 class="text-lg font-medium"><?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" id="senderEdit" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-black mt-2 mb-2 p-2 pl-5 pr-5 text-xs rounded-full disabled bg-white " data-toggle="modal" data-target="#mySender" onclick="return false;"><?php echo $this->translate('Ändern') ?></button></p>
<p><button type="button" id="sameSenderAsShop" class="w-full transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 text-xs rounded-full disabled bg-highlight "><?php echo $this->translate('Shopadresse benutzen') ?></button></p>
</div>
</div>
</div>
<?php endif; ?>
</div>
<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="mt-2 text-right"><input id="review_next" type="submit" value="<?php echo $this->translate('Weiter') ?>" class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black border-gray-300 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full disabled bg-highlight " style="" /></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>
<div class="hidden fixed left-0 top-0 flex justify-center items-center bg-black bg-opacity-50 text-sm w-screen h-screen z-20" id="addresses">
<div class="bg-white rounded shadow-md p-1 md:p-8 md:w-[60%] w-[99%] m-auto">
<div class="">
<div class="float-right mb-1">
<input class="searchTerm border border-r-0 border-gray-300 p-1" placeholder="Search" style="" /><button class="searchButton border border-gray-300 text-black p-1">Suche</button>
</div>
<h4 class="text-lg mb-1"><?php echo $this->translate('Adresse auswählen') ?></h4>
<div class="">
<table class="w-full table-auto">
<thead>
<tr>
<th class="bg-gray-200 text-left p-1"><?php echo $this->translate('Firma/Kd.Nr') ?></th>
<th class="bg-gray-200 text-left p-1"><?php echo $this->translate('Name') ?></th>
<th class="bg-gray-200 text-left p-1"><?php echo $this->translate('Adresse') ?></th>
<th class="bg-gray-200 text-left p-1"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div class="flex justify-end gap-4 mt-5">
<button type="button" class="closeButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200" ><?php echo $this->translate('Schließen') ?></button>
<button type="submit" class="addButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200" ><?php echo $this->translate('Adresse hinzufügen') ?></button>
</div>
</div>
</div>
<!-- \\\\\\\\\\ addAdress - Adresse hinzufügen ////////////// -->
<div class="hidden fixed left-0 top-0 flex justify-center items-center bg-black bg-opacity-50 text-sm w-screen h-screen z-20" id="addAddressModal">
<div class="bg-white rounded shadow-md p-1 md:p-8 md:w-[60%] w-[99%] m-auto">
<div class="">
<h4 class="text-lg mb-1"><?php echo $this->translate('Adresse hinzufügen') ?></h4>
<div class="">
<div class="columns-2">
<?= $this->partial('completeform.phtml', array('buttonName' => '', 'buttonClass' => '', 'form' => $this->form)) ?>
</div>
</div>
<div class="flex justify-end gap-4 mt-5">
<button type="button" class="closeAddButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200"><?php echo $this->translate('Abbrechen') ?></button>
<button type="button" class="saveAddButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200"><?php echo $this->translate('Änderungen speichern') ?></button>
</div>
</div>
</div>
</div>
<!-- \\\\\\\\\\ editAdresse - Adresse bearbeiten ////////////// -->
<!-- Modal -->
<div class="hidden fixed left-0 top-0 flex justify-center items-center bg-black bg-opacity-50 text-sm w-screen h-screen z-20" id="editAddressModal">
<div class="bg-white rounded shadow-md p-1 md:p-8 md:w-[60%] w-[99%] m-auto">
<div class="">
<h4 class="text-lg mb-1"><?php echo $this->translate('Adresse bearbeiten') ?></h4>
<div class="">
<div class="columns-2">
<?= $this->partial('completeform.phtml', array('buttonName' => '', 'buttonClass' => '', 'form' => $this->editform)) ?>
</div>
</div>
<div class="flex justify-end gap-4 mt-5">
<button type="button" class="closeEditButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200"><?php echo $this->translate('Abbrechen') ?></button>
<button type="button" class="saveEditButton bg-gray-100 border border-gray-300 px-6 py-2 rounded text-black hover:bg-gray-200"><?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,81 @@
<?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 -->

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,6 @@
<form enctype="<?php echo $this->form->getEnctype() ?>" action="<?php echo $this->form->getAction() ?>" method="<?php echo $this->form->getMethod() ?>">
<?php if(count($this->form->getSubForms()) > 0): ?><div class="md:columns-2"><?php endif; ?>
<?= $this->partial('form.phtml', array('appendixName' => '', 'prefixName' => '', 'form' => $this->form)) ?>
<?php if(count($this->form->getSubForms()) > 0): ?></div><?php endif; ?>
<?php if($this->buttonName != ""): ?> <button class=" transition ease-in-out duration-300 delay-150 hover:bg-white hover:text-black <?php echo $this->buttonClass ?> border-slate-200 border bg-highlight text-white p-2 pl-5 pr-5 rounded-full" type="submit"><?php echo $this->buttonName ?></button> <?php endif; ?>
</form>

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,77 @@
<?php foreach($this->form->getElementsAndSubFormsOrdered() as $element) { ?>
<?php if($element instanceof Zend_Form_SubForm): ?>
<div class="break-inside-avoid-column mb-5">
<?php echo $this->partial('form.phtml', array('appendixName' => ']', 'prefixName' => $element->getName().'[', 'form' => $element)) ?>
</div>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_Password): ?>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="<?php echo $element->getId() ?>">
<?php echo $element->getLabel() ?>
</label>
<input class="border <?php if($element->hasErrors()): ?>border-red-500<?php else: ?>border-gray-300<?php endif; ?> bg-gray-200 text-black p-2 w-full" name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>" id="<?php echo $element->getId() ?>" type="password" value="<?php echo $element->getValue() ?>"/>
<?php foreach($element->getMessages() as $message): ?>
<p class="text-sm text-red-500"><?php echo $message ?></span>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_Text): ?>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="<?php echo $element->getId() ?>">
<?php echo $element->getLabel() ?>
</label>
<input <?php if($element->isRequired()): ?>required<?php endif; ?> class="border <?php if($element->hasErrors()): ?>border-red-500<?php else: ?>border-gray-300<?php endif; ?> bg-gray-200 text-black p-2 w-full" name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>" id="<?php echo $element->getId() ?>" type="text" value="<?php echo $element->getValue() ?>"/>
<?php foreach($element->getMessages() as $message): ?>
<p class="text-sm text-red-500"><?php echo $message ?></span>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_Hidden): ?>
<input name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>" id="<?php echo $element->getId() ?>" type="hidden" value="<?php echo $element->getValue() ?>"/>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_Captcha): ?>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="<?php echo $element->getId() ?>">
<?php echo $element->getLabel()?? 'Captcha' ?>
</label>
<?php $element->setValue($element->getCaptcha()->generate()); ?>
<div class="flex">
<input name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>[id]" id="<?php echo $element->getId() ?>" type="hidden" value="<?php echo $element->getValue() ?>"/>
<input class="border <?php if($element->hasErrors()): ?>border-red-500<?php else: ?>border-gray-300<?php endif; ?> bg-gray-200 text-black p-2 w-full" name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>[input]" id="<?php echo $element->getId() ?>" type="text" value=""/>
<?php echo $element->getCaptcha()->render(); ?>
</div>
<?php foreach($element->getMessages() as $message): ?>
<p class="text-sm text-red-500"><?php echo $message ?></span>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_MultiCheckbox): ?>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="<?php echo $element->getId() ?>">
<?php echo $element->getLabel() ?>
</label>
<?php foreach($element->getMultiOptions() as $key => $value): ?>
<input type="checkbox" class="mr-1" name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>[]" value="<?php echo $key ?>"/><?php echo $value ?>
<?php endforeach; ?>
<?php foreach($element->getMessages() as $message): ?>
<p class="text-sm text-red-500"><?php echo $message ?></span>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if($element instanceof Zend_Form_Element_Select): ?>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="<?php echo $element->getId() ?>">
<?php echo $element->getLabel() ?>
</label>
<select class="border <?php if($element->hasErrors()): ?>border-red-500<?php else: ?>border-gray-300<?php endif; ?> bg-gray-200 text-black p-2 w-full" name="<?php echo $this->prefixName ?><?php echo $element->getName() ?><?php echo $this->appendixName ?>" id="<?php echo $element->getId() ?>">
<?php foreach($element->getMultiOptions() as $key => $value): ?>
<option value="<?php echo $key ?>"><?php echo $value ?></option>
<?php endforeach; ?>
</select>
<?php foreach($element->getMessages() as $message): ?>
<p class="text-sm text-red-500"><?php echo $message ?></span>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php } ?>

View File

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

View File

@ -0,0 +1 @@
<?php echo $this->agb ?>

View File

@ -0,0 +1,45 @@
<div class="page-header"><h1><?php echo $this->translate('Kontakt')?></h1></div>
<div class="row">
<div class="span6">
<?php
$this->form->send->setAttrib('class', 'btn btn-success');
echo $this->form->render();?>
</div>
<div class="span6">
<h2><?php echo $this->translate('Shopbetreiber')?></h2>
<?php echo $this->shop->betreiber_company ?><br/>
<?php echo $this->shop->betreiber_name ?><br/><br/>
<?php echo $this->shop->betreiber_street ?><br/>
<?php echo $this->shop->betreiber_address ?><br/><br/>
<?php if($this->shop->betreiber_tel !=''): ?>Tel: <?php echo $this->shop->betreiber_tel ?><br/><?php endif; ?>
<?php if($this->shop->betreiber_uid != ""): ?><?php echo $this->translate('Umsatzsteuer-ID')?>: <?php echo $this->shop->betreiber_uid ?><br/><?php endif; ?>
<?php if($this->shop->betreiber_sid != ""): ?><?php echo $this->translate('Steuernummer')?>: <?php echo $this->shop->betreiber_sid ?><br/><?php endif; ?>
<?php if($this->shop->betreiber_register !=''): ?><br/><?php echo $this->shop->betreiber_register?>,<?php endif; ?><?php if($this->shop->betreiber_hid != ""): ?> <?php echo $this->shop->betreiber_hid ?><?php endif; ?>
<?php if($this->shop->betreiber_vb!=''): ?><br/><?php echo $this->shop->betreiber_vb ?><?php endif; ?>
<br/>
<br/>
<?php if($this->market_shop && $this->shop->market): ?>
<h2><?php echo $this->translate('Marktplatzbetreiber')?></h2>
<?php echo $this->market_shop['betreiber_company'] ?><br/>
<?php echo $this->market_shop['betreiber_name'] ?><br/><br/>
<?php echo $this->market_shop['betreiber_street'] ?><br/>
<?php echo $this->market_shop['betreiber_address'] ?><br/><br/>
<?php if($this->market_shop['betreiber_tel'] !=''): ?>Tel: <?php echo $this->market_shop['betreiber_tel'] ?><br/><?php endif; ?>
<?php if($this->market_shop['betreiber_uid'] != ""): ?><?php echo $this->translate('Umsatzsteuer-ID')?>: <?php echo $this->market_shop['betreiber_uid'] ?><br/><?php endif; ?>
<?php if($this->market_shop['betreiber_sid'] != ""): ?><?php echo $this->translate('Steuernummer')?>: <?php echo $this->market_shop['betreiber_sid'] ?><br/><?php endif; ?>
<?php if($this->market_shop['betreiber_register'] !=''): ?><br/><?php echo $this->market_shop['betreiber_register']?>,<?php endif; ?><?php if($this->market_shop['betreiber_hid'] != ""): ?> <?php echo $this->market_shop['betreiber_hid'] ?><?php endif; ?>
<?php if($this->market_shop['betreiber_vb'] !=''): ?><br/><?php echo $this->market_shop['betreiber_vb'] ?><?php endif; ?>
<?php endif; ?>
</div>
</div>

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