Subversion Repositories wpShopGermany4

Rev

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

<?php

        /**
         * Das Template wird in der Bestellansicht eingebunden und zeigt die Kontodaten des Kunden an, die er während der Bestellung angegeben hat
         */

?>
    
<br />
    
<?php echo wpsg_drawForm_Text(__('Name der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['name'], 'wpsg_mod_autodebit_name'); ?>

<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>

    <?php echo wpsg_drawForm_Text(__('BIC der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['bic'], 'wpsg_mod_autodebit_bic'); ?>
    
<?php } else { ?>
    
    <?php echo wpsg_drawForm_Text(__('BLZ der Bank', 'wpsg'), $this->view['wpsg_mod_autodebit']['blz'], 'wpsg_mod_autodebit_blz'); ?>
    
<?php } ?>

<?php echo wpsg_drawForm_Text(__('Inhaber', 'wpsg'), $this->view['wpsg_mod_autodebit']['inhaber'], 'wpsg_mod_autodebit_owner'); ?>

<?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>

    <?php echo wpsg_drawForm_Text(__('IBAN Nr.', 'wpsg'), $this->view['wpsg_mod_autodebit']['iban'], 'wpsg_mod_autodebit_iban'); ?>
    
<?php } else { ?>
    
    <?php echo wpsg_drawForm_Text(__('Kontonummer', 'wpsg'), $this->view['wpsg_mod_autodebit']['knr'], 'wpsg_mod_autodebit_knr'); ?>
    
<?php } ?>

<script>
    
    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', {
        submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
            field: 'name'
        },
        submit: '<?php echo __('Speichern', 'wpsg'); ?>',
        placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
        indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
        tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
    });
    
    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', {
        submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
            field: 'owner'
        },
        submit: '<?php echo __('Speichern', 'wpsg'); ?>',
        placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
        indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
        tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
    });
    
    <?php if ($this->get_option('wpsg_mod_autodebit_iban') == '1') { ?>
    
        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', {
            submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
                field: 'bic'
            },
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
        });
        
        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', {
            submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
                field: 'iban'
            },
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
        });
    
    <?php } else { ?>
    
        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', {
            submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
                field: 'blz'
            },
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
        });
        
        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', {
            submitdata: {
                order_id: <?php echo intval($_REQUEST['edit_id']); ?>,
                field: 'knr'
            },
            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
        });
    
    <?php } ?>
    
</script>