fix(kasse): Express-Hinweis nennt den Anzeigenamen des Anbieters statt 'Paypal v2'
This commit is contained in:
@@ -529,7 +529,8 @@ class website_cashdesk {
|
|||||||
$pm_id = (int)$r->id;
|
$pm_id = (int)$r->id;
|
||||||
}
|
}
|
||||||
$this->layout_object->assign('express_active', 1);
|
$this->layout_object->assign('express_active', 1);
|
||||||
$this->layout_object->assign('express_label', ucfirst(str_replace('_', ' ', $e['module'])));
|
$express_provider = $this->payment_provider($e['module']);
|
||||||
|
$this->layout_object->assign('express_label', $express_provider ? $express_provider->label() : ucfirst(str_replace('_', ' ', $e['module'])));
|
||||||
|
|
||||||
if (isset($_POST['cashdesk_action']) || isset($_POST['save_address'])) {
|
if (isset($_POST['cashdesk_action']) || isset($_POST['save_address'])) {
|
||||||
return; // Kunde hat das Formular selbst abgeschickt
|
return; // Kunde hat das Formular selbst abgeschickt
|
||||||
|
|||||||
Reference in New Issue
Block a user