Fix: [ bug #1381 ] PHP Warning when listing stock transactions page