Subversion Repositories wpShopGermany4

Rev

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

Rev 5439 Rev 5934
Line 17... Line 17...
17
		<?php $i = 0; foreach ($this->view['wpsg_mod_userpayment']['data'] as $zv) { $i ++; ?>
17
		<?php $i = 0; foreach ($this->view['wpsg_mod_userpayment']['data'] as $zv) { $i ++; ?>
18
		<tr>
18
		<tr>
19
			<td class="wpsg_label"><?php echo __('ID', 'wpsg'); ?>:</td>
19
			<td class="wpsg_label"><?php echo __('ID', 'wpsg'); ?>:</td>
20
			<td class="wpsg_value"><?php echo $zv['id']; ?></td>
20
			<td class="wpsg_value"><?php echo $zv['id']; ?></td>
21
			<td class="wpsg_delcol">
21
			<td class="wpsg_delcol">
22
				<a class="wpsg_icon wpsg_icon_remove" href="#" title="<?php echo __('Zahlvariante löschen', 'wpsg'); ?>" onclick="return wpsg_removeZV(<?php echo $zv['id']; ?>);"></a>
22
				<a class="wpsg_glyphicon_right glyphicon glyphicon-minus-sign" href="#" title="<?php echo __('Zahlvariante löschen', 'wpsg'); ?>" onclick="return wpsg_removeZV(<?php echo $zv['id']; ?>);"></a>
23
				
23
				
24
				<script type="text/javascript">
24
				<script type="text/javascript">
25
 
25
 
26
					jQuery(document).ready(function() {
26
					jQuery(document).ready(function() {
27
						
27
						
28
						jQuery('#zv_<?php echo $zv['id']; ?>_name').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
28
						jQuery('#zv_<?php echo $zv['id']; ?>_name').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
29
							submitdata: { 
29
							submitdata: { 
30
					    		field: 'name',
30
					    		field: 'name',
31
					    		zv_id: '<?php echo $zv['id']; ?>'
31
					    		zv_id: '<?php echo $zv['id']; ?>'
32
							}, 					
32
							}, 					
33
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
33
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
34
							placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
34
							placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
35
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
35
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
36
					    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
36
					    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
37
						} );
37
						} );
38
 
38
 
39
						jQuery('#zv_<?php echo $zv['id']; ?>_hint').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
39
						jQuery('#zv_<?php echo $zv['id']; ?>_hint').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
40
							submitdata: { 
40
							submitdata: { 
41
					    		field: 'hint',
41
					    		field: 'hint',
42
					    		zv_id: '<?php echo $zv['id']; ?>'
42
					    		zv_id: '<?php echo $zv['id']; ?>'
43
							}, 					
43
							}, 					
44
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
44
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
45
							placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
45
							placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
46
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
46
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
47
					    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
47
					    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
48
						} );
48
						} );
49
 
49
 
50
						jQuery('#zv_<?php echo $zv['id']; ?>_rabgeb').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
50
						jQuery('#zv_<?php echo $zv['id']; ?>_rabgeb').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', {
51
							submitdata: {
51
							submitdata: {
52
								field: 'rabgeb',
52
								field: 'rabgeb',
53
								zv_id: '<?php echo $zv['id']; ?>'
53
								zv_id: '<?php echo $zv['id']; ?>'
54
							},
54
							},
55
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
55
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
56
							placeholder: '<?php echo __('Definieren ...', 'wpsg'); ?>',
56
							placeholder: '<?php echo __('Definieren ...', 'wpsg'); ?>',
57
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
57
							indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
58
							tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
58
							tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
59
						} );
59
						} );
60
 
60
 
61
						jQuery('#zv_<?php echo $zv['id']; ?>_mwst').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', { 
61
						jQuery('#zv_<?php echo $zv['id']; ?>_mwst').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1', { 
62
							submitdata: {
62
							submitdata: {
63
								field: 'mwst_key',
63
								field: 'mwst_key',
64
								zv_id: '<?php echo $zv['id']; ?>'
64
								zv_id: '<?php echo $zv['id']; ?>'
65
							},
65
							},
66
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
66
							submit: '<?php echo __('Speichern', 'wpsg'); ?>',
Line 95... Line 95...
95
		</tr>
95
		</tr>
96
		<tr>
96
		<tr>
97
			<td class="wpsg_label"><?php echo __('Bezeichnung', 'wpsg'); ?>:</td>
97
			<td class="wpsg_label"><?php echo __('Bezeichnung', 'wpsg'); ?>:</td>
98
			<td class="wpsg_value" id="zv_<?php echo $zv['id']; ?>_name"><?php echo wpsg_hspc($zv['name']); ?></td>	
98
			<td class="wpsg_value" id="zv_<?php echo $zv['id']; ?>_name"><?php echo wpsg_hspc($zv['name']); ?></td>	
99
			<td class="wpsg_delcol">
99
			<td class="wpsg_delcol">
100
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name"></a>
100
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name"></a>
101
			</td>				
101
			</td>				
102
		</tr>
102
		</tr>
103
		<tr>
103
		<tr>
104
			<td class="wpsg_label"><?php echo __('Aktiv', 'wpsg'); ?>:</td>
104
			<td class="wpsg_label"><?php echo __('Aktiv', 'wpsg'); ?>:</td>
105
			<td class="wpsg_value">
105
			<td class="wpsg_value">
106
				<input type="checkbox" value="1" <?php echo (($zv['aktiv'] == '1')?'checked="checked"':''); ?> id="zv_<?php echo $zv['id']; ?>_aktiv" />
106
				<input type="checkbox" value="1" <?php echo (($zv['aktiv'] == '1')?'checked="checked"':''); ?> id="zv_<?php echo $zv['id']; ?>_aktiv" />
107
			</td>
107
			</td>
108
			<td class="wpsg_delcol">
108
			<td class="wpsg_delcol">
109
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ"></a>
109
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ"></a>
110
			</td>
110
			</td>
111
		</tr>
111
		</tr>
112
		<tr>
112
		<tr>
113
			<td class="wpsg_label"><?php echo __('Hinweistext', 'wpsg'); ?>:</td>
113
			<td class="wpsg_label"><?php echo __('Hinweistext', 'wpsg'); ?>:</td>
114
			<td class="wpsg_value" id="zv_<?php echo $zv['id']; ?>_hint"><?php echo wpsg_hspc($zv['hint']); ?></td>
114
			<td class="wpsg_value" id="zv_<?php echo $zv['id']; ?>_hint"><?php echo wpsg_hspc($zv['hint']); ?></td>
115
			<td class="wpsg_delcol">
115
			<td class="wpsg_delcol">
116
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint"></a>
116
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint"></a>
117
			</td>
117
			</td>
118
		</tr>		
118
		</tr>		
119
		<tr>
119
		<tr>
120
			<td class="wpsg_label"><?php echo __('Gebühr/Rabatt', 'wpsg'); ?>:</td>
120
			<td class="wpsg_label"><?php echo __('Gebühr/Rabatt', 'wpsg'); ?>:</td>
121
			<td class="wpsg_value">
121
			<td class="wpsg_value">
122
				<div style="float:left; width:70%" id="zv_<?php echo $zv['id']; ?>_rabgeb" class="editable"><?php echo wpsg_hspc(wpsg_ff($zv['rabgeb'], true)); ?></div>
122
				<div style="float:left; width:70%" id="zv_<?php echo $zv['id']; ?>_rabgeb" class="editable"><?php echo wpsg_hspc(wpsg_ff($zv['rabgeb'], true)); ?></div>
123
				<div style="float:right;"><?php echo $this->get_option('wpsg_currency'); ?> / %</div>
123
				<div style="float:right;"><?php echo $this->get_option('wpsg_currency'); ?> / %</div>
124
			</td>
124
			</td>
125
			<td class="wpsg_delcol">				
125
			<td class="wpsg_delcol">				
126
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr"></a>
126
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr"></a>
127
			</td>
127
			</td>
128
		</tr>		
128
		</tr>		
129
		<tr>
129
		<tr>
130
			<td class="wpsg_label"><?php echo __('Steuersatz', 'wpsg'); ?>:</td>
130
			<td class="wpsg_label"><?php echo __('Steuersatz', 'wpsg'); ?>:</td>
131
			<td id="zv_<?php echo $zv['id']; ?>_mwst" class="wpsg_value wpsg_editable"><?php 
131
			<td id="zv_<?php echo $zv['id']; ?>_mwst" class="wpsg_value wpsg_editable"><?php 
Line 133... Line 133...
133
				$tax_groups = wpsg_tax_groups();
133
				$tax_groups = wpsg_tax_groups();
134
				echo wpsg_hspc($tax_groups[$zv['mwst_key']]); 
134
				echo wpsg_hspc($tax_groups[$zv['mwst_key']]); 
135
			
135
			
136
			?></td>
136
			?></td>
137
			<td class="wpsg_delcol">
137
			<td class="wpsg_delcol">
138
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr"></a>
138
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_gebuehr"></a>
139
			</td>
139
			</td>
140
		</tr>
140
		</tr>
141
		<tr>
141
		<tr>
142
			<td class="wpsg_label"><?php echo __('Keine MwSt. wenn Land steuerfrei', 'wpsg'); ?>:</td>
142
			<td class="wpsg_label"><?php echo __('Keine MwSt. wenn Land steuerfrei', 'wpsg'); ?>:</td>
143
			<td class="wpsg_value">
143
			<td class="wpsg_value">
144
				<input onchange="wpsg_saveZVMwSt(this, <?php echo $zv['id']; ?>);" <?php echo (($zv['mwst_laender'] == '1')?'checked="checked"':''); ?> type="checkbox" value="1" />
144
				<input onchange="wpsg_saveZVMwSt(this, <?php echo $zv['id']; ?>);" <?php echo (($zv['mwst_laender'] == '1')?'checked="checked"':''); ?> type="checkbox" value="1" />
145
			</td>
145
			</td>
146
			<td class="wpsg_delcol">
146
			<td class="wpsg_delcol">
147
				<a class="wpsg_form_help" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland"></a>
147
				<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland"></a>
148
			</td>
148
			</td>
149
		</tr>
149
		</tr>
150
		<?php if ($i < sizeof($this->view['wpsg_mod_userpayment']['data'])) { ?>
150
		<?php if ($i < sizeof($this->view['wpsg_mod_userpayment']['data'])) { ?>
151
		<tr class="wpsg_spacer"><td colspan="3"><hr /></td></tr>
151
		<tr class="wpsg_spacer"><td colspan="3"><hr /></td></tr>
152
		<?php } ?>				
152
		<?php } ?>