Date in the Transaction form not populating - bug fix

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

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

Submitted a fix for this here:

1 Like