DIBS-Payment-Services/Zen-Cart — pull request #10 by syntaxerror (2014-08-14 12:18:44+00:00)
Title: Changing the way "DIBS Order ID" is added

When viewing the order list in Zen Cart, all orders with a comment on the first order history status is marked as containing a customer comment.

Thus inserting "DIBS Order ID" into this will clutter up the display and control for the store owner, as all DIBS orders will be marked this way. Also the old code failed to insert this if the order status was set to 'default' in the module config.

With this change we rather insert the "DIBS Order ID" in a second insert to the order history, holding the DIBS info only. If the customer writes anything it's going into the first witch is always automatically made by Zen Cart for new orders.

![order_list_mess](https://cloud.githubusercontent.com/assets/858132/3919720/dfa405ac-23ac-11e4-9a43-be124bafe4bb.png)
![order_list](https://cloud.githubusercontent.com/assets/858132/3919721/e1e54bdc-23ac-11e4-8a94-df6472f93dd2.png)
![order_status_history](https://cloud.githubusercontent.com/assets/858132/3919724/e4488af6-23ac-11e4-9ae0-ed094bd552cc.png)