Giter Club home page Giter Club logo

Comments (4)

turbo124 avatar turbo124 commented on May 26, 2024

image

Cannot recreate, try placing it in the public notes

image

from invoiceninja.

kr4z33 avatar kr4z33 commented on May 26, 2024

I get the same issues on the hosted environment, I am adding the $payment_qrcode immediately after a $payment_button, which seems to trigger the bug.

The payment button seems to have a dangling close paragraph html tag </p> that ends up printed, which might be a related issue.

from invoiceninja.

Anexgohan avatar Anexgohan commented on May 26, 2024

Cannot recreate, try placing it in the public notes

I tested in a fresh docker container with the same result.

In public notes field it does work as you suggested but all others it displays a long string rather then a QR. Clearly not functioning properly.

Here are some screenshots to support my argument that it is broken,

chrome_A6G8hBavEi
chrome_wrL0ci4aiV
chrome_y7Zv9wxTWb


Lastly, a screenshot taken from invoiceninja demo page https://demo.invoiceninja.com/

chrome_PuVcwdLXuW

from invoiceninja.

turbo124 avatar turbo124 commented on May 26, 2024

In the next release, if you wish to use the payment qr code in a custom design, you'll want to use the variable

$payment_qrcode_raw

This variable will not have the html entities encoded so will display as expected.

from invoiceninja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.