Jump to content

One Order Invoices and delivery slip cannot exist at the same time


VBLED

Recommended Posts

The problem is I have to print the delivery slip firstly, and then I found the button: Gernerate Invoice is missing.

So I have to delete the delivery slip file and then this button come back, and then I can generate invoice.

If I firstly generate the invoice then I can not get the delivery note, this is very bad.

Link to comment
Share on other sites

OK,  I found a solution:

Change the file src\PrestaShopBundle\Resources\views\Admin\Sell\Order\Order\Blocks\View\documents.html.twig

Remove the if condition below:

{% if  orderForViewing.documents.documents is empty and orderForViewing.invoiceManagementIsEnabled %}

//keep inside code.

{% endif %}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...