Fix cart line render for purchase direct invoice.

- Fix edit for array.