invoiceninja / ui

Invoice Ninja: Web admin portal built with React
https://app.invoicing.co
Other
52 stars 45 forks source link

[BUG] Rendering bugs with Templates #1879

Closed Braunson closed 5 days ago

Braunson commented 1 week ago

When I try to edit my Payment template, it doesn't load the body at all but it does show a preview as if there was?

2024-07-04-17201294751

Another issue is using the new Web UI is when editing the Statement template, it looks like $start_date and $end_date are in the template but never get compiled and show the exact same string in the rendered preview.

Same as above goes for the vendor in the template Purchase Order.

turbo124 commented 1 week ago

I'm not able to replicate this. Are you able to use the three dot menu, then <> menu option and advise the text that is included in that window? for some reason it is not populating in the tinymce window.

Braunson commented 5 days ago

Checking the tinymce code (as per your instructions) shows nothing in the source code popup textarea.

I am seeing a JS error in the console but it's seemingly unrealated:

@sentry-bfeb32cd.js:5 Failed to load plugin: mceCodeEditor from url plugins/mceCodeEditor/plugin.min.js
turbo124 commented 5 days ago

how have you installed the application? this looks like a resource is not loading.

Braunson commented 5 days ago

This is using the new web UI version in Chrome, no apps installed.

turbo124 commented 5 days ago

@Braunson How have you setup the app? ie softaculous, docker, release file etc etc.

Braunson commented 5 days ago

I have not, I pay InvoiceNinja to have this hosted. I originally reported this on discord and was sent here.

turbo124 commented 5 days ago

@Braunson sorry, you should not have been sent here, i'll look into this for you, ping us contact@invoiceninja.com and we can dive into this a bit more.