wpovernight / woocommerce-pdf-invoices-packing-slips

Create, print & automatically email PDF invoices & packing slips for WooCommerce orders.
https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Other
100 stars 46 forks source link

Fix preview issue #833

Open MohamadNateqi opened 1 month ago

MohamadNateqi commented 1 month ago

close #829

This PR aims to fix three issues on preview:

  1. Number format: The document setting for the preview process was null, which is fixed, and now number formats are applied.
  2. Date: The preview was not updated based on the display_date setting, which is fixed by introducing a new initiate_date and calling it during the preview process.
  3. Number: The preview was not updated based on the display_number setting, which is fixed by introducing a new generate_document_number and calling it during the preview process.
alexmigf commented 2 weeks ago

@MohamadNateqi can you fix the conflicts here?

MohamadNateqi commented 2 weeks ago

@alexmigf Done.