Hey ??
i still have the same problem with the invoice number.
I moved the line to 57. But it doesnt work.
Is this correct?
if($id == $options['email_type'] || $id == $options['attach_to_new_order']){
$order_number = str_replace("#", "", $order->get_order_number());
// Update db with sequential invoice number
$this->set_sequential_invoice_number($order_number);
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]