Subversion Repositories wpShopGermany4

Rev

Rev 7919 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7919 Rev 8186
Line 167... Line 167...
167
	AddDeliverynotePage($this, $pdf);
167
	AddDeliverynotePage($this, $pdf);
168
 
168
 
169
	$filename = $this->view['filename'].".pdf";
169
	$filename = $this->view['filename'].".pdf";
170
	
170
	
171
	$bKopf = false; $pnr = 1; $offset = 0; $count = 0;
171
	$bKopf = false; $pnr = 1; $offset = 0; $count = 0;
-
 
172
 
172
	foreach ($this->view['data']['products'] as $p)
173
	foreach ($this->view['data']['products'] as $p)
173
	{
174
	{
174
		
175
		
175
		if (!is_array($p)) continue;
176
		if (!is_array($p)) continue;
176
		
177
		
Line 230... Line 231...
230
		$produkt_text = $this->getProductName($this->getProduktID($p['p_id']), true);
231
		$produkt_text = $this->getProductName($this->getProduktID($p['p_id']), true);
231
		
232
		
232
		/* Wenn Detailname nicht vorhanden, wird der Name auf dem Lieferschein verwendet*/
233
		/* Wenn Detailname nicht vorhanden, wird der Name auf dem Lieferschein verwendet*/
233
		$produkt_text = $this->getProductName($this->getProduktID($p['p_id']), false);
234
		$produkt_text = $this->getProductName($this->getProduktID($p['p_id']), false);
234
 
235
 
235
		$produktBeschreibung = trim(strip_tags($p['beschreibung']));
236
		$produktBeschreibung = trim(strip_tags($product_data['beschreibung']));
236
		
237
		
237
		if ($this->isOtherLang())
238
		if ($this->isOtherLang())
238
		{
239
		{
239
				
240
				
240
			$trans_db = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_PRODUCTS."` WHERE `lang_parent` = '".wpsg_q($this->getProduktID($p['productkey']))."' AND `lang_code` = '".wpsg_q($this->getCurrentLanguageCode())."'");
241
			$trans_db = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_PRODUCTS."` WHERE `lang_parent` = '".wpsg_q($this->getProduktID($p['productkey']))."' AND `lang_code` = '".wpsg_q($this->getCurrentLanguageCode())."'");