diff --git a/src/Calc/Calc.php b/src/Calc/Calc.php
index 03c9729..edb9d8c 100644
--- a/src/Calc/Calc.php
+++ b/src/Calc/Calc.php
@@ -55,12 +55,12 @@ class Calc
/** @var Select\Opt $opt */
foreach($option->getOptions() as $opt) {
if($opt->isValid() && $opt->isSelected()) {
- $gesamt = $this->parseEdgeCollection($gesamt, $option, $opt->getEdgesCollectionContainer());
+ $gesamt = $this->parseEdgeCollection($gesamt, $option, $opt->getEdgesCollectionContainer(), [$option->getId()]);
}
}
}
- $gesamt = $this->parseEdgeCollection($gesamt, $option, $option->getEdgesCollectionContainer());
+ $gesamt = $this->parseEdgeCollection($gesamt, $option, $option->getEdgesCollectionContainer(), [$option->getId()]);
}
return $gesamt;
@@ -72,7 +72,7 @@ class Calc
* @param EdgeCollectionContainer $container
* @return int
*/
- private function parseEdgeCollection($gesamt, $option, EdgeCollectionContainer $container)
+ private function parseEdgeCollection($gesamt, $option, EdgeCollectionContainer $container, $calcValueId = [])
{
$calcValue1 = 0;
@@ -115,6 +115,7 @@ class Calc
$cv = $this->formelCalc->parse($edge->getCalcValue());
eval('$cv = ' . $cv . ';');
$this->engine->addCalcVariable($option->getId() . '_' . $collection->getName(), $cv);
+ $this->engine->setCalcVaribleStack($cv, $calcValueId);
}
if($edge->getFormel() != "") {
@@ -141,7 +142,8 @@ class Calc
}
if($edge->getEdgesCollectionContainer()->count() > 0) {
- $gesamt = $this->parseEdgeCollection($gesamt, $option, $edge->getEdgesCollectionContainer());
+ $calcValueId[] = $collection->getName();
+ $gesamt = $this->parseEdgeCollection($gesamt, $option, $edge->getEdgesCollectionContainer(), $calcValueId);
}
}
}
diff --git a/src/Calc/CalcValues.php b/src/Calc/CalcValues.php
index 9174f73..6b362c9 100644
--- a/src/Calc/CalcValues.php
+++ b/src/Calc/CalcValues.php
@@ -110,7 +110,7 @@ class CalcValues
if ($edge->getCalcValue() != "") {
$cv = $this->formelCalc->parse($edge->getCalcValue());
- echo $id . ' '. $this->formelCalc->parse($edge->getCalcValue()) . ' ' . $cv . ' '. PHP_EOL.PHP_EOL;
+ //echo $id . ' '. $this->formelCalc->parse($edge->getCalcValue()) . ' ' . $cv . ' '. PHP_EOL.PHP_EOL;
eval('$cv = ' . $cv . ';');
$this->engine->addCalcVariable($id, $cv);
diff --git a/src/Engine.php b/src/Engine.php
index dd9262e..d304078 100644
--- a/src/Engine.php
+++ b/src/Engine.php
@@ -312,6 +312,21 @@ class Engine
$this->calcVariables = $calcVariables;
}
+ /**
+ * @param $value
+ * @param array $stack
+ */
+ public function setCalcVaribleStack($value, $stack = [])
+ {
+ $id = array_shift($stack);
+ foreach($stack as $row) {
+ $id = $id . '_' . $row;
+ if(!isset($this->calcVariables[$id]) || $this->calcVariables[$id] == 0) {
+ $this->calcVariables[$id] = $value;
+ }
+ }
+ }
+
public function addCalcVariable($id, $value) {
$this->calcVariables[$id] = $value;
}
diff --git a/src/Option/Parser.php b/src/Option/Parser.php
index a1a31b2..8206efa 100644
--- a/src/Option/Parser.php
+++ b/src/Option/Parser.php
@@ -3,6 +3,7 @@ namespace PSC\Library\Calc\Option;
use PSC\Library\Calc\Option\Parser\Hidden;
use PSC\Library\Calc\Option\Parser\Input;
+use PSC\Library\Calc\Option\Parser\Radio;
use PSC\Library\Calc\Option\Parser\Select;
use PSC\Library\Calc\Option\Parser\Template;
use PSC\Library\Calc\Option\Parser\Text;
@@ -30,6 +31,9 @@ class Parser
case 'select':
$obj = new Select($node);
break;
+ case 'radio':
+ $obj = new Radio($node);
+ break;
case 'text':
$obj = new Text($node);
break;
diff --git a/src/Option/Parser/Radio.php b/src/Option/Parser/Radio.php
new file mode 100644
index 0000000..a278af3
--- /dev/null
+++ b/src/Option/Parser/Radio.php
@@ -0,0 +1,48 @@
+element = new \PSC\Library\Calc\Option\Type\Radio();
+
+ parent::__construct($node);
+ }
+
+ public function parse()
+ {
+ parent::parse();
+
+ if(isset($this->node->grenzen) && $this->node->grenzen->children()) {
+ $edgeCollectionContainerParser = new EdgeCollectionContainer($this->node->grenzen);
+ $this->element->setEdgesCollectionContainer($edgeCollectionContainerParser->parse());
+ }
+
+ $this->parseModeNormal();
+
+ return $this->element;
+ }
+
+ private function parseModeNormal()
+ {
+ foreach ($this->node->opt as $opt) {
+ $optParser = new Opt($opt);
+ $this->element->addOption($optParser->parse());
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Option/Parser/Radio/Opt.php b/src/Option/Parser/Radio/Opt.php
new file mode 100644
index 0000000..7a10151
--- /dev/null
+++ b/src/Option/Parser/Radio/Opt.php
@@ -0,0 +1,31 @@
+element = new \PSC\Library\Calc\Option\Type\Radio\Opt();
+ $this->node = $node;
+ }
+
+ public function parse()
+ {
+ $this->element->setId((string)$this->node['id']);
+ $this->element->setLabel((string)$this->node['name']);
+
+ if($this->node->children()) {
+ $edgeCollectionContainerParser = new EdgeCollectionContainer($this->node);
+ $this->element->setEdgesCollectionContainer($edgeCollectionContainerParser->parse());
+ }
+
+ return $this->element;
+ }
+
+}
\ No newline at end of file
diff --git a/src/Option/Type/Radio.php b/src/Option/Type/Radio.php
new file mode 100644
index 0000000..3d6ffa9
--- /dev/null
+++ b/src/Option/Type/Radio.php
@@ -0,0 +1,52 @@
+options = new \ArrayIterator();
+ }
+
+ public function addOption($option)
+ {
+ $this->options->append($option);
+ }
+
+ /**
+ * Verarbeitet das Value
+ */
+ public function processValue()
+ {
+ $option = $this->getSelectedOption();
+ if($option) {
+ $this->setValue($option->getLabel());
+ }
+ }
+
+ /**
+ * @return \ArrayIterator
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ public function getSelectedOption()
+ {
+ /** @var Opt $opt */
+ foreach($this->getOptions() as $opt) {
+ if($opt->isSelected()) return $opt;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Option/Type/Radio/Opt.php b/src/Option/Type/Radio/Opt.php
new file mode 100644
index 0000000..c25a096
--- /dev/null
+++ b/src/Option/Type/Radio/Opt.php
@@ -0,0 +1,112 @@
+edgesCollectionContainer = new EdgeCollectionContainer();
+ }
+
+
+ /**
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * @param string $id
+ */
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ /**
+ * @return string
+ */
+ public function getLabel()
+ {
+ return $this->label;
+ }
+
+ /**
+ * @param string $label
+ */
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+
+ /**
+ * @return EdgeCollectionContainer
+ */
+ public function getEdgesCollectionContainer()
+ {
+ return $this->edgesCollectionContainer;
+ }
+
+ /**
+ * @param EdgeCollectionContainer $edgesCollectionContainer
+ */
+ public function setEdgesCollectionContainer($edgesCollectionContainer)
+ {
+ $this->edgesCollectionContainer = $edgesCollectionContainer;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isValid()
+ {
+ return $this->isValid;
+ }
+
+ /**
+ * @param bool $isValid
+ */
+ public function setIsValid($isValid)
+ {
+ $this->isValid = $isValid;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isSelected()
+ {
+ return $this->isSelected;
+ }
+
+ /**
+ * @param bool $isSelected
+ */
+ public function setIsSelected($isSelected)
+ {
+ $this->isSelected = $isSelected;
+ }
+}
\ No newline at end of file
diff --git a/tests/Calc/PreisPauschale.php b/tests/Calc/PreisPauschaleTest.php
similarity index 94%
rename from tests/Calc/PreisPauschale.php
rename to tests/Calc/PreisPauschaleTest.php
index 9a9110b..e6c31ae 100644
--- a/tests/Calc/PreisPauschale.php
+++ b/tests/Calc/PreisPauschaleTest.php
@@ -6,7 +6,7 @@ use PSC\Library\Calc\Engine;
use PSC\Library\Calc\Option\Type\Base;
use PSC\Library\Calc\PaperContainer\Container;
-class PreisPauschale extends \PHPUnit_Framework_TestCase
+class PreisPauschaleTest extends \PHPUnit_Framework_TestCase
{
/** @var Engine */
protected $engine = null;
diff --git a/tests/Customer/E/CalcTest.php b/tests/Customer/E/CalcTest.php
new file mode 100644
index 0000000..0587f5d
--- /dev/null
+++ b/tests/Customer/E/CalcTest.php
@@ -0,0 +1,48 @@
+parse(simplexml_load_string(file_get_contents(__DIR__ . '/papierContainer.xml')));
+
+ $this->engine = new Engine();
+ $this->engine->setPaperContainer($paperContainer);
+ $this->engine->setPaperRepository($repository);
+ $this->engine->setFormulas(file_get_contents(__DIR__ . '/formels.txt'));
+ $this->engine->setParameters(file_get_contents(__DIR__ . '/parameters.txt'));
+ $this->engine->setTemplates(file_get_contents(__DIR__ . '/calcTemplates.xml'));
+
+ $this->engine->loadString(file_get_contents(__DIR__ . '/calc.xml'));
+
+ }
+
+ public function tearDown()
+ {
+ $this->engine = null;
+ }
+
+ public function testIfDefaultPriceIsOk()
+ {
+ $this->assertEquals(33 , $this->engine->getPrice());
+ }
+
+ public function testIfAnwender2PriceIsOk()
+ {
+ $this->engine->setVariable("anz_user", 2);
+ $this->assertEquals(102 , $this->engine->getPrice());
+ }
+}
\ No newline at end of file
diff --git a/tests/Customer/E/calc.xml b/tests/Customer/E/calc.xml
new file mode 100644
index 0000000..8219278
--- /dev/null
+++ b/tests/Customer/E/calc.xml
@@ -0,0 +1,549 @@
+
+
+
+ AEB-Exportfilling
+ Testkalkulation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ //Diese Option gibt es für Deutschland eigentlich noch nicht nicht!!
+
+
+
+ //Diese Option gibt es nur für die Schweiz
+
+
+ //Diese Option gibt es nur für Belgien -> Tarifwechsel, nicht in Basic möglich
+
+
+ //Diese Option gibt es nur für Deutschland -> Tarifwechsel, nicht in Starter möglich
+
+
+ //Diese Option gibt es nur für Deutschland -> Tarifwechsel, nicht in Starter möglich
+
+
+ //Diese Option gibt es nur für Niederlande -> Tarifwechsel, nicht in Basic möglich
+
+
+ //Diese Option gibt es nur für Niederlande
+
+
+ //Diese Option gibt es nur für UK
+
+
+ //Diese Option gibt es nur für UK
+
+
+
+
+ //Diese Option gibt es NUR GEGEN Aufpreis; Projektarbeit, deshalb keine Bestellung möglich
+
+
+ //Diese Option gibt es OHNE Aufpreis; Projektarbeit, deshalb keine Bestellung möglich
+
+
+
+
+
+
+
+
+
+
+
+
+
+ //
+
+
+
+
+ //Berechnung des Tarifmodells - Nach der Berechnung des Monatspreises
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/Customer/E/calcTemplates.xml b/tests/Customer/E/calcTemplates.xml
new file mode 100644
index 0000000..b3f7d62
--- /dev/null
+++ b/tests/Customer/E/calcTemplates.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/tests/Customer/E/formels.txt b/tests/Customer/E/formels.txt
new file mode 100644
index 0000000..e69de29
diff --git a/tests/Customer/E/papierContainer.xml b/tests/Customer/E/papierContainer.xml
new file mode 100644
index 0000000..06c5c17
--- /dev/null
+++ b/tests/Customer/E/papierContainer.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/tests/Customer/E/parameters.txt b/tests/Customer/E/parameters.txt
new file mode 100644
index 0000000..b3a61e8
--- /dev/null
+++ b/tests/Customer/E/parameters.txt
@@ -0,0 +1,44 @@
+// AEB Exportfilling
+
+//Tairfe pro Monat Export
+$tarif_starter=33;
+$tarif_basic=102;
+$tarif_business=395;
+$tarif_enterprise=2048;
+
+//Schwellwerte für Tarifwechsel Export
+//bis jetzt nich verwendbar in Grenzen
+$schwellwert_starter=158;
+$schwellwert_basic=1374;
+$schwellwert_business=13749;
+$schwellwert_enterprise_ab=13750;
+
+//enthaltene Ausfuhren Export
+$enthaltene_ausfuhren_starter=25;
+$enthaltene_ausfuhren_basic=250;
+$enthaltene_ausfuhren_business=2500;
+$enthaltene_ausfuhren_enterprise=25000;
+
+//Kosten zusätzliche Ausfuhren Export
+$kosten_ausfuhren_starter=6.25;
+$kosten_ausfuhren_basic=3.13;
+$kosten_ausfuhren_business=1.76;
+$kosten_ausfuhren_enterprise=0.98;
+
+
+
+//AEB Importfilling
+//Tarife pro Monat Import
+$tarif_basic_import=102;
+$tarif_business_import=695;
+$tarif_enterprise_import=2048;
+
+//enthaltene Ausfuhren Import
+$enthaltene_ausfuhren_basic_import=100;
+$enthaltene_ausfuhren_business_import=2500;
+$enthaltene_ausfuhren_enterprise_import=10000;
+
+//Kosten zusätzliche Ausfuhren Import
+$kosten_ausfuhren_basic_import=5.93;
+$kosten_ausfuhren_business_import=4.33;
+$kosten_ausfuhren_enterprise_import=2.46;
\ No newline at end of file
diff --git a/tests/Customer/F/CalcTest.php b/tests/Customer/F/CalcTest.php
new file mode 100644
index 0000000..9d4d52d
--- /dev/null
+++ b/tests/Customer/F/CalcTest.php
@@ -0,0 +1,55 @@
+parse(simplexml_load_string(file_get_contents(__DIR__ . '/papierContainer.xml')));
+
+ $this->engine = new Engine();
+ $this->engine->setPaperContainer($paperContainer);
+ $this->engine->setPaperRepository($repository);
+ $this->engine->setFormulas(file_get_contents(__DIR__ . '/formels.txt'));
+ $this->engine->setParameters(file_get_contents(__DIR__ . '/parameters.txt'));
+ $this->engine->setTemplates(file_get_contents(__DIR__ . '/calcTemplates.xml'));
+
+ $this->engine->loadString(file_get_contents(__DIR__ . '/calc.xml'));
+
+ }
+
+ public function tearDown()
+ {
+ $this->engine = null;
+ }
+
+ public function testIfDefaultPriceIsOk()
+ {
+ $this->assertEquals(103.80 , $this->engine->getPrice());
+ }
+
+ public function testIfOtherPriceIsOk()
+ {
+ $this->engine->setVariable("papierum2", "10080");
+ $this->assertEquals(105.53 , $this->engine->getPrice());
+ }
+
+ public function testIfOtherPrice2IsOk()
+ {
+ $this->engine->setVariable("papierum2", "10080");
+ $this->engine->setVariable("druckum2", "40fschluss");
+ $this->assertEquals(114.67 , $this->engine->getPrice());
+ }
+}
\ No newline at end of file
diff --git a/tests/Customer/F/calc.xml b/tests/Customer/F/calc.xml
new file mode 100644
index 0000000..f8ae382
--- /dev/null
+++ b/tests/Customer/F/calc.xml
@@ -0,0 +1,345 @@
+
+
+
+ Digitaldruck
+ Loseblattsammlung DIN A4
+
+
+
+
+
+
+
+
+
+
+ 10
+
+
+ 50
+
+
+ 100
+
+
+ 200
+
+
+ 300
+
+
+ 500
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/Customer/F/calcTemplates.xml b/tests/Customer/F/calcTemplates.xml
new file mode 100644
index 0000000..b3f7d62
--- /dev/null
+++ b/tests/Customer/F/calcTemplates.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/tests/Customer/F/formels.txt b/tests/Customer/F/formels.txt
new file mode 100644
index 0000000..92dc5de
--- /dev/null
+++ b/tests/Customer/F/formels.txt
@@ -0,0 +1,117 @@
+$formel1='0.20*$Vauflage$V/2';
+$formel2='0.20*$Vauflage$V*500';
+$formelflex1='($Vauflage$V*1/((300/$Vhoehe$V)*(435/$Vbreite$V)-1))';
+
+$forbroschoa41351='(0.00758933333333333*$Vseiteno$V*$Vauflage$V)+(9.366*$Vseiteno$V)';
+$forbroschoa41352='(0.00773684742857143*$Vseiteno$V*$Vauflage$V)+(5.392068*$Vseiteno$V)';
+$forbroschoa41353='(0.007560687*$Vseiteno$V*$Vauflage$V)+(9.3360655*$Vseiteno$V)';
+
+$forbroschoa41352501='(0.008732143*$Vseiteno$V*$Vauflage$V)+(9.48571425*$Vseiteno$V)';
+$forbroschoa41352502='(0.008046783*$Vseiteno$V*$Vauflage$V)+(6.99752125*$Vseiteno$V)';
+$forbroschoa41352503='(0.007796406*$Vseiteno$V*$Vauflage$V)+(11.82172125*$Vseiteno$V)';
+
+$forbroschoa4901='(0.007665625*$Vseiteno$V*$Vauflage$V)+(12.54375*$Vseiteno$V)';
+$forbroschoa4902='(0.007917616875*$Vseiteno$V*$Vauflage$V)+(9.79429875*$Vseiteno$V)';
+$forbroschoa4903='(0.00325611826785714*$Vseiteno$V*$Vauflage$V)+(62.68934425*$Vseiteno$V)';
+
+$forbroschoa4902501='(0.010541071375*$Vseiteno$V*$Vauflage$V)+(11.26785725*$Vseiteno$V)';
+$forbroschoa4902502='(0.00906252025*$Vseiteno$V*$Vauflage$V)+(14.01235825*$Vseiteno$V)';
+$forbroschoa4902503='(0.00716677175*$Vseiteno$V*$Vauflage$V)+(36.93196725*$Vseiteno$V)';
+
+$forbroschoa4r1351='(0.00986904766666667*$Vseiteno$V*$Vauflage$V)+(12.1714285*$Vseiteno$V)';
+$forbroschoa4r1352='(0.0100603804285714*$Vseiteno$V*$Vauflage$V)+(7.002337*$Vseiteno$V)';
+$forbroschoa4r1353='(0.00982610340384615*$Vseiteno$V*$Vauflage$V)+(12.16065575*$Vseiteno$V)';
+
+$forbroschoa4r1353001='(0.011270982125*$Vseiteno$V*$Vauflage$V)+(15.55803575*$Vseiteno$V)';
+$forbroschoa4r1353002='(0.01100553925*$Vseiteno$V*$Vauflage$V)+(14.91122525*$Vseiteno$V)';
+$forbroschoa4r1353003='(0.0122372950892857*$Vseiteno$V*$Vauflage$V)+(1.12786875*$Vseiteno$V)';
+
+$forbroschoa5135s8='0.0468*$Vauflage$V+55';
+$forbroschoa5135s12='0.0607*$Vauflage$V+72';
+$forbroschoa5135s16='0.0693*$Vauflage$V+102';
+$forbroschoa5135s20='0.0898*$Vauflage$V+100';
+$forbroschoa5135s24='0.1008*$Vauflage$V+118';
+$forbroschoa5135s28='0.1194*$Vauflage$V+127';
+$forbroschoa5135s32='0.1344*$Vauflage$V+135';
+$forbroschoa5135s36='0.1483*$Vauflage$V+158';
+$forbroschoa5135s40='0.1623*$Vauflage$V+173';
+$forbroschoa5135s44='0.1772*$Vauflage$V+188';
+$forbroschoa5135s48='0.1832*$Vauflage$V+226';
+$forbroschoa5135s52='0.2062*$Vauflage$V+216';
+$forbroschoa5135s56='0.2204*$Vauflage$V+223';
+$forbroschoa5135s60='0.2353*$Vauflage$V+225';
+$forbroschoa5135s64='0.2468*$Vauflage$V+235';
+$forbroschoa5135s68='0.2643*$Vauflage$V+275';
+$forbroschoa5135s72='0.2786*$Vauflage$V+293';
+$forbroschoa5135s76='0.2881*$Vauflage$V+363';
+$forbroschoa5135s80='0.3007*$Vauflage$V+401';
+
+$forbroschoa5135250s8='0.0688*$Vauflage$V+99';
+$forbroschoa5135250s12='0.0672*$Vauflage$V+106';
+$forbroschoa5135250s16='0.0814*$Vauflage$V+124';
+$forbroschoa5135250s20='0.0959*$Vauflage$V+139';
+$forbroschoa5135250s24='0.1103*$Vauflage$V+156';
+$forbroschoa5135250s28='0.1243*$Vauflage$V+175';
+$forbroschoa5135250s32='0.1391*$Vauflage$V+189';
+$forbroschoa5135250s36='0.1535*$Vauflage$V+206';
+$forbroschoa5135250s40='0.1676*$Vauflage$V+226';
+$forbroschoa5135250s44='0.1822*$Vauflage$V+240';
+$forbroschoa5135250s48='0.1964*$Vauflage$V+256';
+$forbroschoa5135250s52='0.211*$Vauflage$V+272';
+$forbroschoa5135250s56='0.2252*$Vauflage$V+291';
+$forbroschoa5135250s60='0.2397*$Vauflage$V+307';
+$forbroschoa5135250s64='0.2541*$Vauflage$V+323';
+$forbroschoa5135250s68='0.2683*$Vauflage$V+340';
+$forbroschoa5135250s72='0.2829*$Vauflage$V+357';
+$forbroschoa5135250s76='0.2871*$Vauflage$V+487';
+$forbroschoa5135250s80='0.2963*$Vauflage$V+570';
+
+$forbroschoa590s8='0.051*$Vauflage$V+83';
+$forbroschoa590s12='0.0629*$Vauflage$V+111';
+$forbroschoa590s16='0.0719*$Vauflage$V+128';
+$forbroschoa590s20='0.0918*$Vauflage$V+142';
+$forbroschoa590s24='0.103*$Vauflage$V+147';
+$forbroschoa590s28='0.1264*$Vauflage$V+160';
+$forbroschoa590s32='0.1392*$Vauflage$V+159';
+$forbroschoa590s36='0.1502*$Vauflage$V+251';
+$forbroschoa590s40='0.1616*$Vauflage$V+262';
+$forbroschoa590s44='0.1821*$Vauflage$V+273';
+$forbroschoa590s48='0.194*$Vauflage$V+284';
+$forbroschoa590s52='0.2063*$Vauflage$V+293';
+$forbroschoa590s56='0.2191*$Vauflage$V+293';
+$forbroschoa590s60='0.2319*$Vauflage$V+294';
+$forbroschoa590s64='0.2453*$Vauflage$V+287';
+$forbroschoa590s68='0.291*$Vauflage$V+435';
+$forbroschoa590s72='0.3064*$Vauflage$V+446';
+$forbroschoa590s76='0.3223*$Vauflage$V+462';
+$forbroschoa590s80='0.3367*$Vauflage$V+449';
+
+$forbroschoa590250s12='0.0769*$Vauflage$V+137';
+$forbroschoa590250s16='0.0914*$Vauflage$V+160';
+$forbroschoa590250s20='0.1116*$Vauflage$V+180';
+$forbroschoa590250s24='0.1237*$Vauflage$V+211';
+$forbroschoa590250s28='0.1461*$Vauflage$V+218';
+$forbroschoa590250s32='0.1537*$Vauflage$V+266';
+$forbroschoa590250s36='0.1737*$Vauflage$V+285';
+$forbroschoa590250s40='0.2047*$Vauflage$V+259';
+$forbroschoa590250s44='0.2158*$Vauflage$V+315';
+$forbroschoa590250s48='0.2288*$Vauflage$V+343';
+$forbroschoa590250s52='0.2433*$Vauflage$V+350';
+$forbroschoa590250s56='0.2319*$Vauflage$V+450';
+$forbroschoa590250s60='0.2308*$Vauflage$V+515';
+$forbroschoa590250s64='0.231*$Vauflage$V+564';
+$forbroschoa590250s68='0.2311*$Vauflage$V+613';
+$forbroschoa590250s72='0.2332*$Vauflage$V+638';
+$forbroschoa590250s76='0.222*$Vauflage$V+813';
+$forbroschoa590250s80='0.2224*$Vauflage$V+856';
+
+
+
+
+$forbroschoa5r1351='(0.005291517875*$Vseiteno$V*$Vauflage$V)+(6.69196425*$Vseiteno$V)';
+$forbroschoa5r1352='(0.00535270132142857*$Vseiteno$V*$Vauflage$V)+(3.90609075*$Vseiteno$V)';
+$forbroschoa5r1353='(0.00522370744230769*$Vseiteno$V*$Vauflage$V)+(6.76680325*$Vseiteno$V)';
+
+$forbroschoa5r1353001='(0.006046875*$Vseiteno$V*$Vauflage$V)+(9.73125*$Vseiteno$V)';
+$forbroschoa5r1353002='(0.00611549978571429*$Vseiteno$V*$Vauflage$V)+(8.3415015*$Vseiteno$V)';
+$forbroschoa5r1353003='(0.0067658575*$Vseiteno$V*$Vauflage$V)+(0.0688525*$Vseiteno$V)';
\ No newline at end of file
diff --git a/tests/Customer/F/papierContainer.xml b/tests/Customer/F/papierContainer.xml
new file mode 100644
index 0000000..1de895d
--- /dev/null
+++ b/tests/Customer/F/papierContainer.xml
@@ -0,0 +1,1168 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/Customer/F/parameters.txt b/tests/Customer/F/parameters.txt
new file mode 100644
index 0000000..c54abfb
--- /dev/null
+++ b/tests/Customer/F/parameters.txt
@@ -0,0 +1,561 @@
+$pauschal1='25';
+$pauschal2='36';
+
+$datenemail='0';
+$datenpost='4';
+$datenjpg='3';
+$datenandere='5';
+
+$lackbogenfix='9';
+$lackbogenfixpart='20';
+$lackbogen1='0.15';
+$lackbogen2='0.30';
+
+$nummerfix='19';
+$nummer1='0.005';
+$barcodefix='26';
+$barcode1='0.009';
+
+$foliefix='12';
+$foliem1='0.23';
+$foliem2='0.46';
+$folieg1='0.15';
+$folieg2='0.29';
+$foliesamt1='0.25';
+$foliesamt2='0.49';
+
+$einschweisfix='2';
+$einschweis1='0.23';
+
+$banderolfix='2';
+$banderol1='0.12';
+
+$lochenfix='5';
+$lochen2var='0.5';
+$lochen4var='0.9';
+
+$adkrueckseite='0.69';
+$adkschweiss='0.20';
+$adkexpressfix='19';
+$adkexpressvar='0.22';
+$adkexpplusfix='29';
+$adkexpplusvar='0.33';
+$adkemail='0';
+$adkmuster='21';
+$adkmusterkarton='9';
+
+$aufkdatenandere='5';
+$aufkdigf1='10';
+$aufkdigsorte='5';
+$aufkdig40='0.11';
+$aufkdig10='0.04';
+$aufkmuster='9';
+$aufkexpress='10';
+$aufkexpplus='15';
+$aufkdigschlitzfix='7';
+$aufkdigschlitz='0.02';
+
+$biergast40fix='0';
+$biergast44fix='0';
+$biergastp1='1.00';
+
+
+
+$blockoffsetf1='5.1';
+$blockoffsetp1='1.01';
+
+$briefoffsetf1='10';
+$briefoffsetp1='1.01';
+$briefoffsetf2='20';
+$briefoffsetp2='1.15';
+$briefdatenjpg='3';
+$briefdatenandere='5';
+$briefdatenemail='0';
+$briefdatenpost='4';
+$briefdigf1='12';
+$briefdig44='0.17';
+$briefdig40='0.10';
+$briefdig41='0.13';
+$briefdig11='0.06';
+$briefdig10='0.03';
+$briefmuster='9';
+$briefexpress='9';
+$briefexpplus='14';
+
+$briefuoffsetf1='19';
+$briefuoffsetp1='1.05';
+
+$digbogenfix='9';
+$digbogensortfix='3';
+$digbogen44='0.17';
+$digbogen40='0.10';
+$digbogen41='0.13';
+$digbogen55='0.53';
+$digbogen54='0.35';
+$digbogen50='0.28';
+$digbogen11='0.042';
+$digbogen10='0.021';
+$digbogenmuster='11';
+$digbogenexpress='14';
+$digbogenexpplus='19';
+
+$eddoseeink='0.45';
+$eddoseherstw='0.45';
+$eddoseherstt='0.53';
+$eddosefixk='17';
+$eddosep1='1.15';
+
+$eintrittfix='8';
+$eintrittsortfix='7';
+$eintritt44='0.18';
+$eintritt40='0.10';
+$eintritt11='0.042';
+$eintritt10='0.021';
+$eintrittnummerfix1='19';
+$eintrittnummer1='0.005';
+$eintrittnummerfix2='25';
+$eintrittnummer2='0.008';
+$eintrittnummerfix3='29';
+$eintrittnummer3='0.01';
+$eintrittperfofix1='15';
+$eintrittperfo1='0.01';
+$eintrittperfofix2='22';
+$eintrittperfo2='0.015';
+
+$eintrittexpress='9';
+$eintrittexpressproz='0.05';
+$eintrittexpplus='14';
+$eintrittexpplusproz='0.10';
+$eintrittdatenandere='5';
+$eintrittdatenjpg='2';
+$eintrittmuster='8';
+
+$etikdigf1='10';
+$etiksortfix='5';
+$etikdig40='0.10';
+$etikdig10='0.04';
+$etikmuster='7';
+$etikexpress='8';
+$etikexpressproz='0.05';
+$etikexpplus='11';
+
+
+$faltoffsetf1='5.3';
+$faltoffsetp1='1.00';
+$faltdatenjpg='3';
+$faltdatenandere='5';
+$faltdatenemail='0';
+$faltdatenpost='4';
+$faltdigf1='10';
+$faltsortfix='4';
+$faltdig44='0.17';
+$faltdig40='0.10';
+$faltdig41='0.15';
+$faltdig11='0.042';
+$faltdig10='0.021';
+$faltdig54='0.31';
+$faltdig50='0.24';
+
+$faltfixfalz1='5';
+$faltvarfalz1='0.01';
+$faltfixnutfalz1='6';
+$faltvarnutfalz1='0.05';
+$faltfixnutplan1='5';
+$faltvarnutplan1='0.02';
+$faltfixfalz2='7';
+$faltvarfalz2='0.015';
+$faltfixnutfalz2='10';
+$faltvarnutfalz2='0.08';
+$faltfixnutplan2='5';
+$faltvarnutplan2='0.05';
+$faltfixfalz3='10';
+$faltvarfalz3='0.020';
+$faltfixnutfalz3='15';
+$faltvarnutfalz3='0.10';
+$faltfixnutplan3='8';
+$faltvarnutplan3='0.08';
+$faltexpress='10';
+$faltexpressproz='0.05';
+$faltexpplus='15';
+$faltexpplusproz='0.08';
+$faltdatenjpg='3';
+$faltdatenandere='5';
+$faltschneidfix='7';
+$faltschneidvar='3';
+$faltmuster='9';
+
+$flyoffsetf1='5.1';
+$flyoffsetp1='1.00';
+$flydatenjpg='3';
+$flydatenandere='5';
+$flydatenemail='0';
+$flydatenpost='4';
+$flydigf1='10';
+$flysortfix='2';
+$flydig44='0.16';
+$flydig40='0.085';
+$flydig41='0.14';
+$flydig11='0.040';
+$flydig10='0.023';
+$flymuster='8';
+$flyexpress='8';
+$flyexpressproz='0.05';
+$flyexpplus='11';
+$flyexpplusproz='0.08';
+$flydigfbogen='8';
+$flyschneidfix='4';
+$flyschneidvar='2';
+
+
+$flystanzoffsetf1='40';
+$flystanzoffsetstanz='0.014';
+$flystanzoffsetp1='1.03';
+$flystanzdigf1='28';
+$flystanzdigstanz='0.011';
+$flystanzdig44='0.16';
+$flystanzdig40='0.085';
+$flystanzdig41='0.14';
+$flystanzdig11='0.08';
+$flystanzdig10='0.04';
+$flystanzmuster='12';
+$flystanzexpress='15';
+$flystanzexpressproz='0.005';
+$flystanzexpplus='22';
+$flystanzexpplusproz='0.01';
+$flystanzdigfbogen='8';
+
+$fotokihrentwurffix='20';
+$fotokihrentwurfdruck='0.09';
+$fotokbindtisch='1.10';
+
+$fotokf1='35';
+$fotok40='0.12';
+$fotokbinda3h='0.90';
+$fotokbinda3q='1.10';
+$fotokbinda4='0.50';
+$fotokindex='1.4';
+$fotokfolie='0.6';
+$fotokfoliefix='1';
+$fotokschweiss='0.21';
+$fotokschweissfix='1';
+$fotokexpress='15';
+$fotokexpressvar='0.23';
+$fotokemail='2';
+$fotokpost='2';
+
+$kartdigf1='12';
+$kartsortfix='4';
+$kartfixnutplan1='5';
+$kartvarnutplan1='0.04';
+$kartdig44='0.20';
+$kartdig40='0.10';
+$kartdig41='0.15';
+$kartdig11='0.06';
+$kartdig10='0.03';
+$kartexpress='9';
+$kartexpplus='14';
+$kartdatenandere='5';
+$kartschneidfix='7';
+$kartschneidvar='3';
+
+$kartmuster='9';
+
+$klebebindfix='35';
+$klebebindgemischtfix='8';
+$klebebind='0.60';
+$klebebind44='0.15';
+$klebebind40='0.10';
+$klebebind54='0.31';
+$klebebind50='0.24';
+$klebebind11='0.042';
+$klebebind10='0.022';
+$klebebind1414druck11='0.062';
+$klebebind1414druck10='0.032';
+$kle1414druck11='0.062';
+$klebebindmuster='14';
+$klebebindexpress='15';
+$klebebindexpressproz='0.10';
+$klebebindexpplus='19';
+$klebebindexpplusproz='0.20';
+$klebebindeinschweiss='0.19';
+
+$loseblattfix='15';
+$loseblattdeckfix='6';
+$loseblattschlussfix='6';
+$loseblattgemischtfix='8';
+$loseblattvar='0.05';
+$loseblattzwisch='0.03';
+$loseblatt44='0.155';
+$loseblatt40='0.080';
+$loseblatt41='0.14';
+$loseblatt11='0.042';
+$loseblatt10='0.022';
+$loseblatt1414d10='0.032';
+$loseblatt1414d11='0.062';
+
+$loseblatt44g='0.140';
+$loseblatt40g='0.070';
+$loseblatt11g='0.031';
+$loseblatt10g='0.018';
+$loseblatt1414d10g='0.028';
+$loseblatt1414d11g='0.052';
+
+
+
+$loseblattmuster='9';
+$loseblattexpress='11';
+$loseblattexpressauf='0.005';
+$loseblattexpplus='16';
+$loseblattexpplusauf='0.008';
+$loseblattdatenjpg='5';
+$loseblattdatenandere='8';
+$loseblattbanderole='0.15';
+$loseblatteinschweis='0.19';
+$loseblattklammf='5';
+$loseblattklamm1='0.05';
+
+
+$pdoseeink='0.92';
+$pdoseherstw='0.46';
+$pdoseherstt='0.51';
+$pdosefixk='17';
+$pdosep1='1.15';
+
+$pkmailingdigf='40';
+$pkmailingdig44='0.16';
+$pkmailingdig41='0.16';
+$pkmailingdig11='0.08';
+$pkmailingdig10='0.05';
+$pkmailingexpress='13';
+$pkmailingexpressproz='0.05';
+$pkmailingexpplus='19';
+$pkmailingexpplusproz='0.10';
+$pkmailingdatenjpg='4';
+$pkmailingdatenandere='10';
+$pkmailingmuster='9';
+$pkmailingsort='5';
+
+$planenf1='5';
+$planenp1='1.01';
+$saumschmal='1.9';
+$saumrund='4.6';
+
+
+
+$planefix='6';
+$planevar='1.04';
+$planesort='5';
+$poesschmal='0.5';
+$poeslang='0.95';
+$poesrund='1.1';
+
+
+$plakoffsetf1='5';
+$plakoffsetp1='1.03';
+$plottdigf1='12';
+$plottdigp1='1.10';
+$plakdigf1='10';
+$plakdig44='0.18';
+$plakdig40='0.10';
+$plakdig11='0.04';
+$plakdig10='0.02';
+
+$postdigf1='10';
+$postdigsortfix='5';
+$postdig54='0.30';
+$postdig44='0.18';
+$postdig50='0.22';
+$postdig40='0.10';
+$postdig51='0.26';
+$postdig41='0.14';
+$postdig11='0.06';
+$postdig10='0.03';
+$postmuster='8';
+$postexpress='9';
+$postexpressproz='0.05';
+$postexpplus='14';
+$postexpplusproz='0.10';
+$postdigfbogen='8';
+$postoffsetf1='10';
+$postoffsetp1='1.10';
+$postdatenandere='5';
+$postdatenjpg='3';
+
+$rbroschoffsf1='0';
+$rbroschoffsp1='1.00';
+$rbroschfixproseite135a4='9.00';
+$rbroschfixvomfix135a4='38.00';
+$rbroschfixvon500135a4='10.00';
+$rbroschvarproseitevon500135a4='3.75';
+
+$rbroschoffauf1='1.03';
+$rbroschoffauf2='1.02';
+$rbroschoffauf4='1.04';
+$rbroschoffauf6='1.06';
+$rbroschoffauf8='1.08';
+$rbroschoffauf10='1.10';
+
+
+$rbroschdigf1='20';
+$rbroschgemischtfix='10';
+$szrbroschdigf1='15';
+$rbroschdig44='0.14';
+$rbroschdig54='0.31';
+$rbroschdig50='0.24';
+$rbroschdig11='0.042';
+$rbroschdig40='0.10';
+$rbroschdig10='0.021';
+$rbroschdig1414dr11='0.062';
+$rbroschumfix='11';
+$persofix1='69';
+$persovar1='0.01';
+$persofix2='99';
+$persovar2='0.02';
+
+$rbroschklammer1='0.055';
+$rbroschklammer4='0.13';
+$rbroschringklammer1='0.19';
+$rbroschringklammer4='0.24';
+$rbroschklammerfix1='5';
+$rbroschklammerfix2='8';
+$rbroschklammerfix4='12';
+$rbroschexpress='12';
+$rbroschexpressauf='0.02';
+$rbroschexpplus='18';
+$rbroschexpplusauf='0.05';
+$rbroschdatenandere='11';
+$rbroschmuster='14';
+
+
+$schokoverfix='8';
+$schokoversortfix='8';
+$schokovervariabel='0.65';
+
+$schokoverkarton='0.18';
+$schokovermilka1='0.85';
+$schokoverlindt1='1.25';
+$schokovergut1='1.00';
+$schokover44='0.20';
+$schokover40='0.12';
+$schokover50='0.27';
+$schokover54='0.35';
+$schokoverexpress='9';
+$schokoverexpressproz='0.1';
+$schokoverexpplus='16';
+$schokoverexpplusproz='0.15';
+$schokoschweiss='0.17';
+$schokovermuster='8';
+
+
+
+$spiralfix='10';
+$spiralumfix='9';
+$spiralgemischtfix='9';
+$spiraldeckfix='5';
+$spiralschlussfix='5';
+$spiralbind='0.5';
+$spiralbindungfix='0.50';
+$spiralbindungvar='0.001';
+
+$spiral44='0.165';
+$spiral40='0.09';
+$spiral11='0.042';
+$spiral10='0.024';
+$spiral00='0.005';
+$spiral1414d11='0.062';
+$spiral1414d10='0.034';
+
+$abheftstreifen='0.21';
+$spiralmuster='9';
+$spiralexpress='11';
+$spiralexpressauf='0.11';
+$spiralexpplus='17';
+$spiralexpplusauf='0.16';
+$spiraldatenjpg='5';
+$spiraldatenandere='8';
+
+$cspiralfix='15';
+$cspiralgemischtfix='9';
+$cspiralumfix='9';
+$cspiraldeckfix='7';
+$cspiralschlussfix='7';
+$cspiralbindungfix='0.5';
+$cspiralbindungvar='0.003';
+
+$cspiral44='0.165';
+$cspiral40='0.09';
+$cspiral11='0.042';
+$cspiral10='0.024';
+$cspiral1414d11='0.062';
+$cspiral1414d10='0.034';
+
+$schulspiralbindungfix='0.5';
+$schulspiralgemischtfix='8';
+$schulspiral44='0.165';
+$schulspiral40='0.09';
+$schulspiral11='0.041';
+$schulspiral10='0.023';
+$schulspiral1414d11='0.061';
+$schulspiral1414d10='0.033';
+$schulpapiersorten='0.2';
+$schulpapiersortenfix='12';
+
+$cspiraltaschea5='0.33';
+$cspiraltaschea4='0.52';
+$cspiralgummia5='0.22';
+$cspiralgummia4='0.38';
+
+$cspiralmuster='9';
+$schulpmuster='0';
+
+$cspiralexpress='11';
+$cspiralexpressauf='0.11';
+$cspiralexpplus='17';
+$cspiralexpplusauf='0.16';
+
+
+$stempelfix='7';
+$stempelp1='1.4';
+$stempelprofix='7';
+$stempelp2='1.3';
+$stempelprifix='7';
+$stempelp3='1.3';
+
+
+
+$tischdatenandere='5';
+$tischdigfix='18';
+$tischdig40='0.20';
+$tischmuster='8';
+$tischexpress='12';
+$tischexpressproz='0.05';
+$tischexpplus='14';
+$tischexpplusproz='0.10';
+
+
+$tuerdigf1='10';
+$tuersortfix='5';
+$tuerdig44='0.16';
+$tuerdig40='0.085';
+$tuerdig41='0.14';
+$tueroffsetf1='25';
+$tueroffsetp1='1.05';
+$tuerstanza4fix1='15';
+$tuerstanza4var1='14';
+
+
+
+$visidigfix='15';
+$visidigsortfix='5';
+$visidig44='0.20';
+$visidig40='0.10';
+$visioffsetfix='10';
+$visioffsetp1='1.10';
+$visieckenvar='1';
+$visieckenfix='4.5';
+
+$wkalfix='19';
+$wkalsortfix='6';
+$wkaldig40='0.46';
+$wkalexpress='12';
+$wkalmuster='13';
\ No newline at end of file
diff --git a/tests/Mock/PaperRepostory.php b/tests/Mock/PaperRepostory.php
index 1092acd..f52fafe 100644
--- a/tests/Mock/PaperRepostory.php
+++ b/tests/Mock/PaperRepostory.php
@@ -221,6 +221,34 @@ class PaperRepostory implements ObjectRepository
$papier['50135']->setDescription1('135 g/m² Bilderdruck glänzend (FSC-zertifiziert)');
$papier['50135']->setDescription2('135 gloss');
+ $papier['100'] = new Paper();
+ $papier['100']->setArtNr('100');
+ $papier['100']->setGrammatur('0');
+ $papier['100']->setPreis('0');
+ $papier['100']->setDescription1('ohne Deckblatt');
+ $papier['100']->setDescription2('ohne Deckblatt');
+
+ $papier['101'] = new Paper();
+ $papier['101']->setArtNr('101');
+ $papier['101']->setGrammatur('0');
+ $papier['101']->setPreis('0');
+ $papier['101']->setDescription1('ohne Deckblatt');
+ $papier['101']->setDescription2('ohne Deckblatt');
+
+ $papier['10080'] = new Paper();
+ $papier['10080']->setArtNr('10080');
+ $papier['10080']->setGrammatur('80');
+ $papier['10080']->setPreis('0.0173');
+ $papier['10080']->setDescription1('80 g/m² Naturpapier (Oberfläche wie Kopierpapier, hochweiß, FSC-zert.)');
+ $papier['10080']->setDescription2('080 Prep');
+
+ $papier['10090'] = new Paper();
+ $papier['10090']->setArtNr('10090');
+ $papier['10090']->setGrammatur('90');
+ $papier['10090']->setPreis('0.0196');
+ $papier['10090']->setDescription1('90 g/m² Naturpapier (Oberfläche wie Kopierpapier, hochweiß, FSC-zert.)');
+ $papier['10090']->setDescription2('090 Prep');
+
return $papier[$criteria['artNr']];
}