@maximvanmaanen
Thank you for checking. Effectively there isn’t any problem with the plugin in the log file.
The problem seems to be in the counter.
I have just received a new order the invoice Number is 2089 !
If I remind you what happened since 01/01/2020 this is really odd
The last invoice # 580 (internet order 26 december)
3 january internet order Invoice # 1
6 january :
manual order Invoice # 4
I change the plugin config to Invoice gets Same # as order
7 january :
internet order (#2089) Invoice #2089
=> it seems that I can change de config
I change the plugin config to IReinit nvoice counter, next number 581.
Hereafter the debug log
Array
(
[bewpi_disable_free_products] => 0
[bewpi_view_pdf] => browser
[bewpi_download_invoice_account] => 1
[bewpi_email_it_in] => 0
[bewpi_email_it_in_account] =>
[bewpi_invoice_number_column] => 1
[bewpi_email_types] => Array
(
[0] => new_order
[1] => customer_completed_order
)
)
Array
(
[bewpi_template_name] => minimal
[bewpi_color_theme] => #616261
[bewpi_theme_text_black] => 0
[bewpi_date_format] => l j F Y
[bewpi_display_prices_incl_tax] => 0
[bewpi_shipping_taxable] => 0
[bewpi_show_payment_status] => 1
[bewpi_disable_packing_slips] => 0
[bewpi_company_logo] => 41
[bewpi_company_name] => xxxx
[bewpi_company_address] => xxxxx
[bewpi_company_details] =>
[bewpi_company_phone] =>
[bewpi_company_email_address] =>
[bewpi_company_registration_number] =>
[bewpi_company_vat_id] =>
[bewpi_title] => Facture client
[bewpi_intro_text] =>
[bewpi_show_ship_to] => 1
[bewpi_show_customer_notes] => 1
[bewpi_terms] => Les conditions générales de ventes et les mentions légales sont disponibles sur xxx
[bewpi_left_footer_column] => Merci de votre commande et à bient?t!
[bewpi_right_footer_column] =>
[bewpi_invoice_number_type] => sequential_number
[bewpi_reset_counter] => 0
[bewpi_next_invoice_number] => 581
[bewpi_invoice_number_digits] => 5
[bewpi_invoice_number_prefix] => AN
[bewpi_invoice_number_suffix] =>
[bewpi_invoice_number_format] => [number]-[Y]
[bewpi_reset_counter_yearly] => 0
[bewpi_show_sku] => 0
[bewpi_show_subtotal] => 1
[bewpi_show_tax] => 0
[bewpi_show_tax_total] => 1
[bewpi_show_discount] => 1
[bewpi_show_shipping] => 1
)
Array
(
[bewpi_mpdf_debug] => 0
)