Model and Entry 85%

The entry_detail only save the first record of the global array