OrderPanel: fix adding order into databse

- Ha's fix