FrontAccountingERP / FA

Official FrontAccounting mirror repository
91 stars 95 forks source link

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

Open aksikitaindonesia opened 3 years ago

aksikitaindonesia commented 3 years ago

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();