Subversion Repositories wpShopGermany4

Rev

Rev 6195 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1508 daniel 1
<?php
2
 
3
	/**
4
	 * Das Template wird in der Bestellansicht eingebunden und zeigt die Kontodaten des Kunden an, die er während der Bestellung angegeben hat
5
	 */
6
 
7
?>
7932 daniel 8
 
1508 daniel 9
<br />
7932 daniel 10
 
11
<?php echo wpsg_drawForm_Text(__('Name der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['name'], 'wpsg_mod_autodebit_name'); ?>
3429 daniel 12
 
13
<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
7932 daniel 14
 
15
    <?php echo wpsg_drawForm_Text(__('BIC der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['bic'], 'wpsg_mod_autodebit_bic'); ?>
16
 
3429 daniel 17
<?php } else { ?>
7932 daniel 18
 
19
    <?php echo wpsg_drawForm_Text(__('BLZ der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['blz'], 'wpsg_mod_autodebit_blz'); ?>
20
 
3429 daniel 21
<?php } ?>
22
 
7932 daniel 23
<?php echo wpsg_drawForm_Text(__('Inhaber', 'wpsg'), $this->view['wpsg_mod_autodebit']['inhaber'], 'wpsg_mod_autodebit_owner'); ?>
3429 daniel 24
 
25
<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
7932 daniel 26
 
27
    <?php echo wpsg_drawForm_Text(__('IBAN Nr.', 'wpsg'), $this->view['wpsg_mod_autodebit']['iban'], 'wpsg_mod_autodebit_iban'); ?>
28
 
3429 daniel 29
<?php } else { ?>
7932 daniel 30
 
31
    <?php echo wpsg_drawForm_Text(__('Kontonummer', 'wpsg'), $this->view['wpsg_mod_autodebit']['knr'], 'wpsg_mod_autodebit_knr'); ?>
32
 
33
<?php } ?>
34
 
35
<script>
36
 
37
    jQuery('#wpsg_mod_autodebit_name').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
38
        submitdata: {
39
        	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
40
            field: 'name'
41
        },
42
        submit: '<?php echo __('Speichern', 'wpsg'); ?>',
43
        placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
44
        indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
45
        tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
46
    });
47
 
48
    jQuery('#wpsg_mod_autodebit_owner').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
49
        submitdata: {
50
        	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
51
            field: 'owner'
52
        },
53
        submit: '<?php echo __('Speichern', 'wpsg'); ?>',
54
        placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
55
        indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
56
        tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
57
    });
58
 
59
    <?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
60
 
61
        jQuery('#wpsg_mod_autodebit_bic').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
62
            submitdata: {
63
            	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
64
                field: 'bic'
65
            },
66
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
67
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
68
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
69
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
70
        });
71
 
72
        jQuery('#wpsg_mod_autodebit_iban').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
73
            submitdata: {
74
            	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
75
                field: 'iban'
76
            },
77
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
78
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
79
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
80
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
81
        });
82
 
83
    <?php } else { ?>
84
 
85
        jQuery('#wpsg_mod_autodebit_blz').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
86
            submitdata: {
87
            	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
88
                field: 'blz'
89
            },
90
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
91
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
92
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
93
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
94
        });
95
 
96
        jQuery('#wpsg_mod_autodebit_knr').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_autodebit&do=inlinedit&noheader=1', {
97
            submitdata: {
98
            	order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
99
                field: 'knr'
100
            },
101
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
102
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
103
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
104
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
105
        });
106
 
107
    <?php } ?>
108
 
109
</script>