How long has she been on leave? (question order)
I'll tell you how long she has been on leave. (statement order)
Can you tell me how long she has been on leave?
This one is a question, but we use statement order for the dependent clause.
The main clause ("you can tell me") is in question order.