Delivery note not generating, showing same as invoice

Same issue as Delivery note the same as invoice

Just recently migrated to V5.3.84-C78 from V4

Running on Shared Hosting, installed by Softaculous

I was trying everything out to make sure everything works but I found that the delivery note is not generating, it is just displaying the invoice

Showing Invoice

Showing delivery note (note delivery note is ticked)


@david any thoughts on this? I haven’t been able to reproduce it.


Can you please check the browser console for any errors or messages when you click on The Delivery Note option. Something doesn’t sounds right here.

No errors

Some more information:
Running PHP 7.4

When clicking view pdf to view the invoice console shows a request being made to:

Clicking the delivery note option console show a request being made to:

Thanks, that’s helpful.

Is it possible mod_rewrite isn’t enabled? I wouldn’t expect to see ‘index.php’ in the URL.

I had some custom rules because of some unrelated issues which I managed to fix
Commented out those rules but it is still showing the invoice instead of a delivery note

URL when viewing invoice:

URL when viewing delivery note:

Current .htaccess file:

<IfModule mod_rewrite.c>
  RewriteEngine On
  # added by me
  #RewriteBase /
  RewriteRule "^.env" - [F,L]
  #RewriteRule "^storage" - [F,L]
  RewriteRule ^(.well-known)($|/) - [L]
  #RewriteCond %{REQUEST_URI} !^/public/? [NC]
  RewriteRule ^(.*)$ public/$1 [L]

Does it make a difference if you use the web or desktop app?

No difference, still showing the invoice


it looks like we aren’t passing a cache buster ?t parameter for the delivery notes, i think it may be a cache issue?

Thanks, I’ll add it in the next release