summaryrefslogtreecommitdiff
path: root/views/admin/dataprotection.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2018-09-20 12:51:07 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2018-09-20 12:51:07 +0000
commit806c5f484d02b4ddc2263cb8c65822e36c9a72d4 (patch)
tree1f2a3e9fbbfa13395261677ac5b01669545c24a9 /views/admin/dataprotection.phtml
parentffe2c578ed26485e4869762e88c97e90b181bab3 (diff)
- Anonymisieren von Adressen/Kundendaten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7159 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/dataprotection.phtml')
-rw-r--r--views/admin/dataprotection.phtml36
1 files changed, 3 insertions, 33 deletions
diff --git a/views/admin/dataprotection.phtml b/views/admin/dataprotection.phtml
index 1d7a740..2ee9fdd 100644
--- a/views/admin/dataprotection.phtml
+++ b/views/admin/dataprotection.phtml
@@ -46,39 +46,9 @@
</div>
<div class="panel-body">
- <?php /* periodisches Löschen der persönlichen Daten */ ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_complete', __('vollständig abgeschlossene Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_complete'));?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_completeeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_completeeinheit')); ?>
-
- <br />
-
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_storno', __('stonierte Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_storno')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_stornoeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_stornoeinheit')); ?>
-
- <br />
-
- <?php /* TODO: Abfrage greift nicht */ ?>
- <?php if ($this->get_option('wpsg_showincompleteorder') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_uncomplete', __('unvollständige Bestellungen', 'wpsg'), $this->get_option('wpsg_customerdatadelete_uncomplete')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_uncompleteeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_uncompleteeinheit')); ?>
- <?php } ?>
-
- <br />
-
- <?php /* Abomodul aktiv */ ?>
- <?php if ($this->hasMod('wpsg_mod_abo') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_abos', __('gekündigte Abos', 'wpsg'), $this->get_option('wpsg_customerdatadelete_abos')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_aboseinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_aboseinheit')); ?>
- <?php } ?>
-
- <br />
-
- <?php /* Rechnungsmodul aktiv*/ ?>
- <?php if ($this->hasMod('wpsg_mod_rechnungen') == '1') { ?>
- <?php echo wpsg_drawForm_Input ('wpsg_customerdatadelete_rechnung', __('Rechnungen geschrieben', 'wpsg'), $this->get_option('wpsg_customerdatadelete_complete')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_rechnungeinheit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_rechnungeinheit')); ?>
- <?php } ?>
-
+ <?php echo wpsg_drawForm_Input('wpsg_customerdatadelete', __('Letzte Aktivität älter als', 'wpsg'), $this->get_option('wpsg_customerdatadelete'));?>
+ <?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_unit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_unit')); ?>
+
</div>
</div>