Subversion Repositories wpShopGermany4

Rev

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

Rev 8086 Rev 8088
Line 190... Line 190...
190
    $sum_multi_offset = 0;
190
    $sum_multi_offset = 0;
191
    $orders = $this->view['multi_data']['orders']; 
191
    $orders = $this->view['multi_data']['orders']; 
192
 
192
 
193
	// noMwSt
193
	// noMwSt
194
    $head_data = array_values($this->view['multi_data']['order_data'])[0];
194
    $head_data = array_values($this->view['multi_data']['order_data'])[0];
195
    if ($this->view['kunde']['ustidnr'] != "" && $head_data['oCalculation']->getTaxMode() === '3' && $head_data['oOrder']->isInnerEu()) {
195
    if ( ($head_data['oCalculation']->getTaxMode() === wpsg_calculation::TAXMODE_B2B) && ($head_data['oOrder']->isInnerEu()) ) {
196
        $bNoTax = true;
196
        $bNoTax = true;
197
    } else {
197
    } else {
198
	    $bNoTax = false;
198
	    $bNoTax = false;
199
    }
199
    }
200
	
200
	
Line 531... Line 531...
531
            
531
            
532
            if ($bTaxCol) {
532
            if ($bTaxCol) {
533
                 
533
                 
534
                if ($bNoTax) {
534
                if ($bNoTax) {
535
                    
535
                    
536
                    $mwst = wpsg_ff('0.00', '%');
536
                    $mwst = wpsg_ff(0.00, '%');
537
                    
537
                    
538
                } else { 
538
                } else { 
539
                    
539
                    
540
                    if ($arCalculation['shipping'][0]['tax_key'] === '0') {
540
                    if ($arCalculation['shipping'][0]['tax_key'] === '0') {
541
                    
541
                    
Line 582... Line 582...
582
            
582
            
583
            if ($bTaxCol) {
583
            if ($bTaxCol) {
584
                
584
                
585
                if ($bNoTax) {
585
                if ($bNoTax) {
586
					
586
					
587
                    $mwst = wpsg_ff('0.00', '%');
587
                    $mwst = wpsg_ff(0.00, '%');
588
					
588
					
589
                } else {
589
                } else {
590
                    
590
                    
591
                    if ($arCalculation['payment'][0]['tax_key'] === '0') {
591
                    if ($arCalculation['payment'][0]['tax_key'] === '0') {
592
                        
592
                        
Line 687... Line 687...
687
            
687
            
688
            if ($bTaxCol) {
688
            if ($bTaxCol) {
689
                
689
                
690
                if ($bNoTax) {
690
                if ($bNoTax) {
691
					
691
					
692
                    $mwst = wpsg_ff('0.00', '%');
692
                    $mwst = wpsg_ff(0.00, '%');
693
					
693
					
694
                } else {                    
694
                } else {                    
695
                    
695
                    
696
                    $mwst = wpsg_ff($this->view['storno_fee_tax_value'], '%');
696
                    $mwst = wpsg_ff($this->view['storno_fee_tax_value'], '%');
697
                    
697