I changed the string for the pdf name and set it to
$name_pdf = $order->order_id."_"."_Badacenter.pdf";
1) As others have requested, I too would like to have the number after the text. I have tested several versions to no avail.
2) I have set the number for next invoice to "999004", but I get the number 11 for order id in the pdf name.
How must this line look to give a pdf name such as "Invoice_9001.pdf" with the invoice having the same number as the order_id?
Thank you very much!