This information must be shown to the user

Comments

agoradesign created an issue. See original summary.

agoradesign’s picture

Status: Active » Needs review
StatusFileSize
new1.68 KB
agoradesign’s picture

StatusFileSize
new1.69 KB

improve variable name

agoradesign’s picture

StatusFileSize
new1.86 KB

changed the shipped Twig template a little bit

  • agoradesign committed 2ce6465 on 8.x-1.x
    Issue #3095336 by agoradesign, jrochate: MULTIBANCO: add the SIBS...
agoradesign’s picture

Status: Needs review » Fixed

committed.. please re-open, if there's any problem @rochate

jrochate’s picture

It looks (and works) good.

Some shop providers print the ref numbers using space as thousand separator, but some don't (to make it easier for a copy&paste).

I think that can be left to the theme side, by replacing twig template and use |number_format for that.

Like this:

<p>{{ 'MB reference'|t }}: <strong>{{ pmt_ref|number_format(0,'',' ') }}</strong></p>

  • agoradesign committed 46d3d62 on 8.x-1.x authored by jrochate
    Issue #3095336 by agoradesign, jrochate: MULTIBANCO: add the SIBS...
agoradesign’s picture

good addition! thanks :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jrochate’s picture

StatusFileSize
new835 bytes

Hi.

There is a problem with my own proposed twig on #8:

- the references started by ZERO become incomplete, because the nine chars are valid.

Here is a new twig that solve this by not converting to number and splitting the string in 3.

agoradesign’s picture

Status: Closed (fixed) » Needs review

please change status next time - or better create a new issue. because otherwise I'd just oversee or forget that issue... now it's visible in the queue again

  • agoradesign committed 7389008 on 8.x-1.x authored by jrochate
    Issue #3095336 by agoradesign, jrochate: MULTIBANCO: add the SIBS...
agoradesign’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.