Fix: [ bug #1388 ] Wrong date when invoicing several orders

Fix: [ bug #1388 ] Wrong date when invoicing several orders