Phil: Set completed flag for all lines when an order is finished or canc...

...elled