Subversion Repositories wpShopGermany4

Rev

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

Rev 6843 Rev 6901
Line 919... Line 919...
919
	}
919
	}
920
	
920
	
921
	$this->callMods('wpsg_mod_rechnungen_pdf', array(&$pdf, &$this->view['data']['id'], &$this->view['preview'], &$this->view['invoice']));
921
	$this->callMods('wpsg_mod_rechnungen_pdf', array(&$pdf, &$this->view['data']['id'], &$this->view['preview'], &$this->view['invoice']));
922
	
922
	
923
	$filename = $this->view['filename'].".pdf";
923
	$filename = $this->view['filename'].".pdf";
924
	 
924
 
-
 
925
    ob_end_clean();
-
 
926
 
925
	if ($this->view['preview'])
927
	if ($this->view['preview'])
926
	{
928
	{
-
 
929
	    
927
		$pdf->Output($filename, 'I');
930
		$pdf->Output($filename, 'I');
-
 
931
        
928
	}
932
	}
929
	else
933
	else
930
	{
934
	{
931
		
935
		
932
		$pdf->Output($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])).$filename, 'F');
936
		$pdf->Output($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])).$filename, 'F');