Subversion Repositories wpShopGermany4

Rev

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

Rev 8071 Rev 8072
Line 610... Line 610...
610
			
610
			
611
			$pdf->setXY($prod_left + 10, $prod_top + $offset + $sum_multi_offset);
611
			$pdf->setXY($prod_left + 10, $prod_top + $offset + $sum_multi_offset);
612
            $pdf->Cell( (($bTaxCol)?87:102), 8, _('Rabatt'), 1, 0, 'L');
612
            $pdf->Cell( (($bTaxCol)?87:102), 8, _('Rabatt'), 1, 0, 'L');
613
			
613
			
614
			$pdf->setXY($prod_left + 97, $prod_top + $offset + $sum_multi_offset);
614
			$pdf->setXY($prod_left + 97, $prod_top + $offset + $sum_multi_offset);
615
            $pdf->Cell(15, 8, _('Anteilig'), 1, 0, 'C');
615
            $pdf->Cell(15, 8, _('anteilig'), 1, 0, 'C');
616
			
616
			
617
			$pdf->setXY($prod_left + 112, $prod_top + $offset + $sum_multi_offset);
617
			$pdf->setXY($prod_left + 112, $prod_top + $offset + $sum_multi_offset);
618
            $pdf->Cell(15, 8, '1', 1, 0, 'C');
618
            $pdf->Cell(15, 8, '1', 1, 0, 'C');
619
			
619
			
620
			$pdf->setXY($prod_left + 127, $prod_top + $offset + $sum_multi_offset);
620
			$pdf->setXY($prod_left + 127, $prod_top + $offset + $sum_multi_offset);
Line 625... Line 625...
625
			
625
			
626
			$offset += 8;
626
			$offset += 8;
627
			
627
			
628
	    }
628
	    }
629
		
629
		
-
 
630
		// Wertgutschein
-
 
631
		foreach ($arCalculation['coupon'] as $c) {
-
 
632
			  
-
 
633
			$pdf->SetFont('Arial', '', 9);
-
 
634
            $pdf->setXY($prod_left, $prod_top + $offset + $sum_multi_offset);
-
 
635
            $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++;
-
 
636
			
-
 
637
			$pdf->setXY($prod_left + 10, $prod_top + $offset + $sum_multi_offset);
-
 
638
            $pdf->Cell( (($bTaxCol)?87:102), 8, _('Wertgutschein').' ('.$c['code'].')', 1, 0, 'L');
-
 
639
			
-
 
640
			$pdf->setXY($prod_left + 97, $prod_top + $offset + $sum_multi_offset);
-
 
641
            $pdf->Cell(15, 8, _('anteilig'), 1, 0, 'C');
-
 
642
			
-
 
643
			$pdf->setXY($prod_left + 112, $prod_top + $offset + $sum_multi_offset);
-
 
644
            $pdf->Cell(15, 8, $c['amount'], 1, 0, 'C');
-
 
645
			
-
 
646
			$pdf->setXY($prod_left + 127, $prod_top + $offset + $sum_multi_offset);
-
 
647
            $pdf->Cell(25, 8, wpsg_ff($c[$taxdisplay.'_single'], $this->get_option('wpsg_currency')), 1, 0, 'R');
-
 
648
            
-
 
649
            $pdf->setXY($prod_left + 152, $prod_top + $offset + $sum_multi_offset);
-
 
650
            $pdf->Cell(25, 8, wpsg_ff($c[$taxdisplay], $this->get_option('wpsg_currency')), 1, 0, 'R');
-
 
651
			
-
 
652
			$offset += 8; 
-
 
653
			
-
 
654
		}
-
 
655
		
630
        // Gebühr
656
        // Gebühr
631
        if (wpsg_tf(wpsg_getStr($this->view['storno_fee'])) > 0) {
657
        if (wpsg_tf(wpsg_getStr($this->view['storno_fee'])) > 0) {
632
            
658
            
633
            $pdf->SetFont('Arial', '', 9);
659
            $pdf->SetFont('Arial', '', 9);
634
            $pdf->setXY($prod_left, $prod_top + $offset + $sum_multi_offset);
660
            $pdf->setXY($prod_left, $prod_top + $offset + $sum_multi_offset);
Line 668... Line 694...
668
            $pdf->Cell(25, 8, '-'.wpsg_ff($this->view['storno_fee_value'], $this->get_option('wpsg_currency')), 1, 0, 'R');
694
            $pdf->Cell(25, 8, '-'.wpsg_ff($this->view['storno_fee_value'], $this->get_option('wpsg_currency')), 1, 0, 'R');
669
            
695
            
670
            $offset += 8;
696
            $offset += 8;
671
 
697
 
672
        }
698
        }
673
 
699
		
674
        // Bestellbetrag einer einzelnen Bestellung
700
        // Bestellbetrag einer einzelnen Bestellung
675
        if ($bNoTax) {
701
        if ($bNoTax) {
676
			
702
			
677
            $pdf->Text($prod_left + 115, $prod_top + $offset + $sum_multi_offset + 6, __("Bestellbetrag (NETTO):", "wpsg"));
703
            $pdf->Text($prod_left + 115, $prod_top + $offset + $sum_multi_offset + 6, __("Bestellbetrag (NETTO):", "wpsg"));
678
			$pdf->setXY($prod_left + 140, $prod_top + $offset + $sum_multi_offset + 1);
704
			$pdf->setXY($prod_left + 140, $prod_top + $offset + $sum_multi_offset + 1);
679
			$pdf->Cell(37, 8, wpsg_ff($arCalculation['sum']['netto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
705
			$pdf->Cell(37, 8, wpsg_ff($arCalculation['sum']['topay_netto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
680
			
706
			
681
        } else  {
707
        } else  {
682
			
708
			
683
            $pdf->Text($prod_left + 115, $prod_top + $offset + $sum_multi_offset + 6, __("Bestellbetrag (BRUTTO):", "wpsg"));
709
            $pdf->Text($prod_left + 115, $prod_top + $offset + $sum_multi_offset + 6, __("Bestellbetrag (BRUTTO):", "wpsg"));
684
			$pdf->setXY($prod_left + 140, $prod_top + $offset + $sum_multi_offset + 1);
710
			$pdf->setXY($prod_left + 140, $prod_top + $offset + $sum_multi_offset + 1);
685
			$pdf->Cell(37, 8, wpsg_ff($arCalculation['sum']['brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
711
			$pdf->Cell(37, 8, wpsg_ff($arCalculation['sum']['topay_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
686
			
712
			
687
        }
713
        }
688
 
714
 
689
        $sum_multi_offset += ($offset + 30);
715
        $sum_multi_offset += ($offset + 30);
690
		
716