Skip to content

Commit eb3ddd1

Browse files
authored
RATEPAYSWSX-326: add mandatory star(*) for required fields (#76)
1 parent 80fa469 commit eb3ddd1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/Components/Checkout/Service/DataValidationService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Shopware\Core\Framework\Validation\DataValidationDefinition;
2121
use Shopware\Core\Framework\Validation\DataValidator;
2222
use Shopware\Core\System\SalesChannel\SalesChannelContext;
23-
use Symfony\Component\HttpFoundation\ParameterBag;
2423

2524
class DataValidationService
2625
{

src/Resources/views/storefront/page/checkout/ratepay/common/bank-account.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="form-row">
2323
<div class="form-group col-sm-4">
2424
<label class="form-label" for="rp-iban-account-holder">
25-
<strong>{{ "ratepay.storefront.checkout.fields.accountHolder"|trans|sw_sanitize }}</strong>
25+
<strong>{{ "ratepay.storefront.checkout.fields.accountHolder"|trans|sw_sanitize }}{{ "general.required"|trans|sw_sanitize }}</strong>
2626
</label>
2727
{% if ratepay.accountHolders|length == 1 %}
2828
<input type="text"
@@ -50,7 +50,7 @@
5050
</div>
5151
<div class="form-group col-sm-4">
5252
<label class="form-label" for="rp-iban-account-number">
53-
<strong>{{ "ratepay.storefront.checkout.fields.iban"|trans|sw_sanitize }}</strong>
53+
<strong>{{ "ratepay.storefront.checkout.fields.iban"|trans|sw_sanitize }}{{ "general.required"|trans|sw_sanitize }}</strong>
5454
</label>
5555
<input
5656
type="text"

0 commit comments

Comments
 (0)