Invoice PDF view and removed useless reference_id from Db