summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-26 11:46:25 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-26 11:46:25 +0200
commitc98be432234654daed55079646298030b2fe8b61 (patch)
treea6390f4ee9ef29c71ea32b51d24507d33b4585df /views
parent8bc89c66daf546d50cd57d4d969643e7c8ae4a9a (diff)
Kreditkarte: Prüfziffer blieb nach der Zahlung gespeichert
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_creditcard/order_view_afterpayment.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_creditcard/order_view_afterpayment.phtml b/views/mods/mod_creditcard/order_view_afterpayment.phtml
index 5670764..168f567 100644
--- a/views/mods/mod_creditcard/order_view_afterpayment.phtml
+++ b/views/mods/mod_creditcard/order_view_afterpayment.phtml
@@ -9,6 +9,6 @@
<?php echo wpsg_drawForm_Input('', __('Typ der Kreditkarte', 'wpsg'), $this->view['wpsg_mod_creditcard']['typ'], array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>
<?php echo wpsg_drawForm_Input('', __('Inhaber der Kreditkarte', 'wpsg'), $this->view['wpsg_mod_creditcard']['inhaber'], array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>
<?php echo wpsg_drawForm_Input('', __('Kreditkarten-Nummer', 'wpsg'), $this->view['wpsg_mod_creditcard']['knr'], array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>
-<?php echo wpsg_drawForm_Input('', __('Prüfziffer', 'wpsg'), $this->view['wpsg_mod_creditcard']['pruefz'], array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('Prüfziffer', 'wpsg'), (($this->view['wpsg_mod_creditcard']['pruefz'] !== '')?$this->view['wpsg_mod_creditcard']['pruefz']:__('gelöscht', 'wpsg')), array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>
<?php echo wpsg_drawForm_Input('', __('Gültig bis', 'wpsg'), $this->view['wpsg_mod_creditcard']['gueltigm'].'/'.$this->view['wpsg_mod_creditcard']['gueltigj'], array('text' => true, 'clear_after' => true, 'readonly' => true)); ?>