Create working Invoice

Invoice is now correctly created with the values from the order table
and model table.