Subversion Repositories wpShopGermany4

Rev

Rev 8274 | Rev 8301 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8274 Rev 8280
Line 214... Line 214...
214
	$summe = 0;
214
	$summe = 0;
215
 
215
 
216
	$bKopf = false; $pnr = 1; $offset = 0; $count = 0;
216
	$bKopf = false; $pnr = 1; $offset = 0; $count = 0;
217
	foreach ($this->view['basket']['arCalculation']['product'] as $p)
217
	foreach ($this->view['basket']['arCalculation']['product'] as $p)
218
	{
218
	{
-
 
219
		
219
		$product = wpsg_product::getInstance($p['product_id']);
220
		$product = wpsg_product::getInstance($p['product_id']);
-
 
221
		if (($p['product_key']??'') !== '') $product->setProductKey($p['product_key']);
220
 
222
 
221
		if (!$bKopf)
223
		if (!$bKopf)
222
		{
224
		{
223
 
225
 
224
			$pdf->SetFont('Arial', 'B', 9);
226
			$pdf->SetFont('Arial', 'B', 9);
Line 254... Line 256...
254
		$pdf->setXY($prod_left, $prod_top + $offset);
256
		$pdf->setXY($prod_left, $prod_top + $offset);
255
		
257
		
256
		if ($this->get_option('wpsg_mod_rechnungen_anr') == '1') $pdf->Cell(10, 8, $product->getNr(), 0, 0, 'C');
258
		if ($this->get_option('wpsg_mod_rechnungen_anr') == '1') $pdf->Cell(10, 8, $product->getNr(), 0, 0, 'C');
257
		else $pdf->Cell(10, 8, $pnr.".", 0, 0, 'C');
259
		else $pdf->Cell(10, 8, $pnr.".", 0, 0, 'C');
258
		
260
		
259
		if ($this->get_option('wpsg_rechnungen_pdetailname') == '1') $produkt_text = $this->getProductName($this->getProduktID($p['product_id']), true);
261
		if ($this->get_option('wpsg_rechnungen_pdetailname') == '1') $produkt_text = $product->getProductName(true);
260
		else $produkt_text = $this->getProductName($this->getProduktID($p['product_id']), false);
262
		else $produkt_text = $product->getProductName(false);
261
 
263
 
262
		$produktBeschreibung = trim(strip_tags($product->getShortDescription()));
264
		$produktBeschreibung = trim(strip_tags($product->getShortDescription()));
263
		
265
		
264
		if ($this->isOtherLang())
266
		if ($this->isOtherLang())
265
		{
267
		{