Subversion Repositories wpShopGermany4

Rev

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

Rev 8074 Rev 8075
Line 172... Line 172...
172
    // wpsg_debug($this->view['kunde']); // DEBUG
172
    // wpsg_debug($this->view['kunde']); // DEBUG
173
    // wpsg_debug($this->view['data']); // DEBUG
173
    // wpsg_debug($this->view['data']); // DEBUG
174
    // wpsg_debug($this->view['multi_data']['orders']); // DEBUG
174
    // wpsg_debug($this->view['multi_data']['orders']); // DEBUG
175
 
175
 
176
    $pdf = new wpsg_fpdf();
176
    $pdf = new wpsg_fpdf();
177
    //$pdf->SetAutoPageBreak(true, 5);
177
    $pdf->SetAutoPageBreak(false, 5);
178
    AddRechnungPage($this, $pdf);
178
    AddRechnungPage($this, $pdf);
179
 
179
 
180
	$checkPageBreak = function($shop, $offset, $lines) use ($pdf, $prod_top) {
180
	$checkPageBreak = function($shop, $offset, $lines) use ($pdf, $prod_top) {
181
		
181
		
182
		if ($prod_top + $offset + ($lines * 5) > 290) {
182
		if ($prod_top + $offset + ($lines * 5) > 290) {