diff options
Diffstat (limited to 'views/mods/mod_userpayment')
| -rw-r--r-- | views/mods/mod_userpayment/list.phtml | 21 | ||||
| -rw-r--r-- | views/mods/mod_userpayment/settings_edit.phtml | 19 |
2 files changed, 0 insertions, 40 deletions
diff --git a/views/mods/mod_userpayment/list.phtml b/views/mods/mod_userpayment/list.phtml index 4b3fa42..cd5aa82 100644 --- a/views/mods/mod_userpayment/list.phtml +++ b/views/mods/mod_userpayment/list.phtml @@ -99,27 +99,6 @@ });
/* ]]> */</script>
- <?php echo wpsg_drawForm_TextStart(); ?>
- <input type="checkbox" value="1" <?php echo (($zv['mwst_laender'] == '1')?'checked="checked"':''); ?> id="zv_mwst_laender_<?php echo $zv['id']; ?>" />
- <a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign form-control-feedback" data-wpsg-tip="wpsg_shippay_mwstland" 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>
- <?php echo wpsg_drawForm_TextEnd(__('Keine MwSt. wenn Land steuerfrei', 'wpsg')); ?>
- <script type="text/javascript">/* <![CDATA[ */
- jQuery('#zv_mwst_laender_<?php echo $zv['id']; ?>').bind('change', function() {
-
- var value = 0;
- if (jQuery(this).prop("checked") === true) value = 1;
-
- jQuery.ajax( {
- url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1',
- data: {
- field: 'mwst_laender',
- zv_id: '<?php echo $zv['id']; ?>',
- value: value
- }
- } );
- } );
- /* ]]> */</script>
-
</div>
<?php if ($i == sizeof($this->view['wpsg_mod_userpayment']['data'])) { ?><hr /><?php } ?>
diff --git a/views/mods/mod_userpayment/settings_edit.phtml b/views/mods/mod_userpayment/settings_edit.phtml index c67ccf0..c1ce75b 100644 --- a/views/mods/mod_userpayment/settings_edit.phtml +++ b/views/mods/mod_userpayment/settings_edit.phtml @@ -7,25 +7,6 @@ ?>
<script type="text/javascript">
- /**
- * Speichert die Änderung in der Checkbox der MwSt.
- */
- function wpsg_saveZVMwSt(oElement, zv_id)
- {
-
- if (jQuery(oElement).attr("checked")) value = '1'; else value = '0';
-
- jQuery.ajax( {
- url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1',
- data: {
- field: 'mwst_laender',
- zv_id: zv_id,
- value: value
- }
- } );
-
- } // function wpsg_saveZVMwSt(oElement, va_id)
-
function wpsg_addZV()
{
|
