Date in the Transaction form not populating - bug fix


(Sherwin Gaddis) #1

The transaction form is not populating the Date column as intended. The issue is the date variable is being overwritten. Go to line 111 and change the code to this. Line 117 was overwriting the $date in the if statement.

             if (getdate() == strtotime($item['date'])) {
                            $date_1 = "Today, " . date('D M d Y', strtotime($item['date']));
                        } else {
                            $date_1 = date('D M d Y', strtotime($item['date']));

                        $date = oeFormatShortDate($item['refer_date']); //This is the line that is overwriting the previous $date variable

As note that the change in the date format.


(Brady Miller) #2

hi @juggernautsei ,
That is super odd. Looking/testing the fix now.

(Brady Miller) #3

Submitted a fix for this here: