added copy table in loan detail view