fix(cms/zahlarten): Platzhalter [#customer_freetextfield3] im Bestelltext ersetzen wie in der Kasse
This commit is contained in:
@@ -440,6 +440,8 @@ class website_dyncontent {
|
|||||||
}
|
}
|
||||||
$this->layout_object->assign('zahlarten', $list);
|
$this->layout_object->assign('zahlarten', $list);
|
||||||
$this->layout_object->assign('zahlarten_gruppe', $group);
|
$this->layout_object->assign('zahlarten_gruppe', $group);
|
||||||
|
// Platzhalter im Bestelltext (z.B. "Kundenspezifisch" bei Haendlern), wie content_cash_desk_neu.tpl
|
||||||
|
$this->layout_object->assign('zahlarten_freitext3', isset($customer->freetextfield3) ? (string)$customer->freetextfield3 : '');
|
||||||
return $this->layout_object->_fetch('content_box_zahlarten.tpl');
|
return $this->layout_object->_fetch('content_box_zahlarten.tpl');
|
||||||
} catch (Throwable $e) {
|
} catch (Throwable $e) {
|
||||||
error_log('zahlarten_liste: '.$e->getMessage());
|
error_log('zahlarten_liste: '.$e->getMessage());
|
||||||
|
|||||||
@@ -30,7 +30,8 @@
|
|||||||
{if $pm->module == 'mollie' && $pm->argument == 'applepay'}<span class="zl-muted">(auf Apple-Geräten)</span>{/if}
|
{if $pm->module == 'mollie' && $pm->argument == 'applepay'}<span class="zl-muted">(auf Apple-Geräten)</span>{/if}
|
||||||
{if $pm->module == 'mollie' && $pm->argument == 'creditcard'}<span class="zl-muted">Visa, Mastercard, American Express</span>{/if}
|
{if $pm->module == 'mollie' && $pm->argument == 'creditcard'}<span class="zl-muted">Visa, Mastercard, American Express</span>{/if}
|
||||||
</div>
|
</div>
|
||||||
{if $pm->order_text}<div class="zl-text">{$pm->order_text}</div>{/if}
|
{* [#customer_freetextfield3] wie in der Kasse: individueller Text je Kunde (Haendler "Kundenspezifisch") *}
|
||||||
|
{if $pm->order_text}<div class="zl-text">{$pm->order_text|replace:'[#customer_freetextfield3]':$zahlarten_freitext3}</div>{/if}
|
||||||
{if isset($pm->paymentAddShown) && $pm->paymentAddShown != 0}
|
{if isset($pm->paymentAddShown) && $pm->paymentAddShown != 0}
|
||||||
<div class="zl-fee">
|
<div class="zl-fee">
|
||||||
{if $pm->accountType == '1' || $pm->accountType == '3'}Abzug{else}Aufschlag{/if}:
|
{if $pm->accountType == '1' || $pm->accountType == '3'}Abzug{else}Aufschlag{/if}:
|
||||||
|
|||||||
Reference in New Issue
Block a user