diff options
| author | thomas <noreply@maennchen1.de> | 2018-12-18 08:44:29 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2018-12-18 08:44:29 +0000 |
| commit | f360ac72dbc68d94f75c389c6d94b04db7718933 (patch) | |
| tree | 6d7179135d215cb2c8d65ed286f810d092e5c562 /views/admin/shopdata.phtml | |
| parent | c475248280c760e15b50f1db6c918a2a9b4edffe (diff) | |
- Integration Zweigstelle
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7239 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/shopdata.phtml')
| -rw-r--r-- | views/admin/shopdata.phtml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/views/admin/shopdata.phtml b/views/admin/shopdata.phtml index 99f93f7..aa19de1 100644 --- a/views/admin/shopdata.phtml +++ b/views/admin/shopdata.phtml @@ -55,6 +55,24 @@ <div class="panel panel-default">
<div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('Zweigstelle', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
+ <?php echo wpsg_drawForm_Checkbox('wpsg_shopdata_2', __('Zweigstelle vorhanden', 'wpsg'), $this->get_option('wpsg_shopdata_2')); ?>
+ <div class="wpsg_shopdata_2_activ" style="display:none;">
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_street', __('Straße', 'wpsg'), $this->get_option('wpsg_shopdata_2_street'), array('help' => 'wpsg_shopdata_2_street')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_zip', __('Postleitzahl', 'wpsg'), $this->get_option('wpsg_shopdata_2_zip'), array('help' => 'wpsg_shopdata_2_zip')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_city', __('Ort', 'wpsg'), $this->get_option('wpsg_shopdata_2_city'), array('help' => 'wpsg_shopdata_2_city')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_country', __('Land', 'wpsg'), $this->get_option('wpsg_shopdata_2_country'), array('help' => 'wpsg_shopdata_2_country')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_tel', __('Telefon', 'wpsg'), $this->get_option('wpsg_shopdata_2_tel'), array('help' => 'wpsg_shopdata_2_tel')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_fax', __('Fax', 'wpsg'), $this->get_option('wpsg_shopdata_2_fax'), array('help' => 'wpsg_shopdata_2_fax')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_shopdata_2_email', __('E-Mail', 'wpsg'), $this->get_option('wpsg_shopdata_2_email'), array('help' => 'wpsg_shopdata_2_email')); ?>
+ </div>
+ </div>
+ </div>
+
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
<h3 class="panel-title"><?php echo __('Bankdaten', 'wpsg'); ?></h3>
</div>
<div class="panel-body">
@@ -94,6 +112,13 @@ jQuery(document).ready(function() {
+ jQuery('#wpsg_shopdata_2').bind('change', function() {
+
+ if (jQuery(this).is(':checked')) jQuery('.wpsg_shopdata_2_activ').show();
+ else jQuery('.wpsg_shopdata_2_activ').hide();
+
+ } ).change();
+
} );
|
