Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix preview issue #833

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Fix preview issue #833

wants to merge 12 commits into from

Conversation

MohamadNateqi
Copy link
Contributor

@MohamadNateqi MohamadNateqi commented Jul 12, 2024

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.

Copy link
Member

@alexmigf alexmigf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alexmigf
Copy link
Member

@MohamadNateqi can you fix the conflicts here?

# Conflicts:
#	includes/documents/abstract-wcpdf-order-document.php
@MohamadNateqi
Copy link
Contributor Author

@alexmigf Done.

@alexmigf
Copy link
Member

alexmigf commented Oct 9, 2024

@MohamadNateqi can you fix the conflicts again please?

@MohamadNateqi
Copy link
Contributor Author

@alexmigf Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PDF preview is not reflecting the selected option in "Display number" setting
2 participants