Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom invoice colour without hash sign is not interpreted on invoice #3121

Closed
vitis586 opened this issue Dec 29, 2023 · 0 comments
Closed

Comments

@vitis586
Copy link

Akaunting version

3.1.5

PHP version

Cloud Trial

Operating system

Cloud Trial

Steps to reproduce

  1. Create an invoice
  2. Download invoice - example with colour purple-900
    inv-00001-1703874729.pdf
  3. Go to Settings - Invoice and change colour to #662581 - the circle changes colour
  4. Download invoice
    inv-00001-1703876280.pdf
  5. Go to Settings - Invoice and change colour to 662581 - the circle changes colour again, so the colour gets interpreted correctly
  6. Download invoice
    inv-00001-1703876583.pdf

Expected result

There should be either an error when the colour does not have the hash sign or the colour should not be interpreted at all

Actual result

The colour code without the hash sign gets interpreted in the settings but not in the generated PDF invoice

Additional comments

No response

Relevant log output

No response

@vitis586 vitis586 changed the title Custom invoice colour wihtout has sign is not interpreted on invoice Custom invoice colour without hash sign is not interpreted on invoice Jan 5, 2024
@cuneytsenturk cuneytsenturk added this to the 3.1.6 milestone Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants