Subversion Repositories wpShopGermany4

Rev

Rev 4068 | Rev 4943 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4061 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Migration der alten MwSt. Sätze in die Länder
5
	 */
6
 
7
?>
8
<form method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=migratemwst&noheader=1">
9
 
10
	<h3><?php echo __('Standardland', 'wpsg'); ?></h3>
11
 
12
	<?php echo wpsg_drawForm_Input('', __('Name', 'wpsg'), $this->view['defaultCountry']->name, array('text' => true)); ?>
13
 
14
	<br />
15
 
16
	<h3><?php echo __('Produkte im Datenbestand', 'wpsg'); ?></h3>
17
	<?php if (wpsg_isSizedArray($this->view['distinctProductTax'])) { ?>
18
	<?php foreach ($this->view['distinctProductTax'] as $dp) { ?>
19
 
20
		<?php if (wpsg_isSizedInt($dp['id'])) { ?>
21
		<?php echo wpsg_drawForm_Select('mwst['.$dp['id'].']', wpsg_translate(__('#1# Produkte mit #2# Mehrwertsteuer (#3#)', 'wpsg'), $dp['count_product'], wpsg_ff($dp['value'], '%'), $dp['name']), wpsg_tax_groups(true), 'c'); ?>
22
		<?php } else { ?>
23
		<?php echo wpsg_drawForm_Select('mwst['.$dp['id'].']', wpsg_translate(__('#1# Produkte mit ungültigem Steuersatz', 'wpsg'), $dp['count_product']), wpsg_tax_groups(true), 'c'); ?>
24
		<?php } ?>
25
 
26
	<?php } ?>
27
	<?php } else { ?>
28
	<p><?php echo __('Keine Produkte die noch keiner Mehrwertsteuergruppe zugewiesen wurden im Datenbestand.', 'wpsg'); ?>
29
	<?php } ?>
30
 
4080 daniel 31
	<?php if (wpsg_isSizedArray($this->view['arConf'])) { ?>
4061 daniel 32
	<h3><?php echo __('Modulkonfigurationen', 'wpsg'); ?></h3>
33
 
4080 daniel 34
	<?php foreach ($this->view['arConf'] as $key => $label) { ?>
35
	<?php echo wpsg_drawForm_Select('conf['.$key.']', $label, wpsg_tax_groups(), 'c'); ?>
4061 daniel 36
	<?php } ?>
37
 
38
	<?php } ?>
39
 
4068 daniel 40
	<?php if ($this->hasMod('wpsg_mod_userpayment')) { ?>
4061 daniel 41
	<?php if (wpsg_isSizedArray($this->view['arPaymentMethods'])) { ?>
42
	<h3><?php echo __('Zahlvarianten', 'wpsg'); ?></h3>
43
	<?php foreach ($this->view['arPaymentMethods'] as $pm) { ?>
44
	<?php echo wpsg_drawForm_Select('pv['.$pm['id'].']', __($pm['name'], 'wpsg'), wpsg_tax_groups(), 'c'); ?>
45
	<?php } ?>
46
	<?php } ?>
4067 daniel 47
	<?php } ?>
4061 daniel 48
 
4068 daniel 49
	<?php if ($this->hasMod('wpsg_mod_versandarten')) { ?>
4061 daniel 50
	<?php if (wpsg_isSizedArray($this->view['arShippingMethods'])) { ?>
51
	<h3><?php echo __('Versandarten', 'wpsg'); ?></h3>
52
	<?php foreach ($this->view['arShippingMethods'] as $sm) { ?>
53
	<?php echo wpsg_drawForm_Select('sv['.$sm['id'].']', __($sm['name'], 'wpsg'), wpsg_tax_groups(), 'c'); ?>
54
	<?php } ?>
55
	<?php } ?>
4067 daniel 56
	<?php } ?>
4061 daniel 57
 
58
	<br />
59
 
60
	<input type="submit" name="submit" class="button-primary" value="<?php echo __('Mehrwertsteuersätze zuweisen', 'wpsg'); ?>" />
61
 
62
</form>