Skip to content

SO view document (or order) date is wrong: set to today #45

@aksikitaindonesia

Description

@aksikitaindonesia

Issue:
The document (or order) date in view_sales_order.php always shows the current date, whatever the real value is in the db

Cause:
The document_date variable is set to today when preparing the SO children data in view_sales_order.php line 145:
$this->document_date = new_doc_date();

Fix:
Comment out the line, so the document_date won't be changed:
// $this->document_date = new_doc_date();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions