Bas, thanks for the reply.
First I add after line 67. When generating the bill appeared “Internal error”. I tried after line 77, but the situation was the same. In both cases, the invoice number was increased.
I am doing something wrong? After what line to copy instruction?
Bas, where we can add:
if ( $document->order->get_total() == 0 ) return;
File bewpi-document.php seems no longer exist.
Why not leave permanently in the plugin?
Best regards
Thank Bas, it works!!!
Congratulations for your plugin and support.