Well, if the fluid is diesel and not engine oil being thrown around from a failed or leaking seal at the crankshaft or camshaft, then there is an issue with the pump. The problem is that the entire fuel system is sealed and unused or excess diesel is sent back to the tank by the pump. This is then recircualted back to the engine and the cycle continues.
The problem is that if the pump or its bearings fail, tiny pieces of swarf (metal particles) are recirculated too. These go back to the tank then are pumped to the engine. Despite the filter, some tiny pieces get through and then they act like an abrasive destroying the pumps and the injectors.
The repair as outlined by the garage is what the dealer would do except they would replace the pump, injectors, fuel tank, fuel lines etc etc and it would cost a fortune. If the garage are willing to flush it all out for you then they are saving you money.
This job will take at least a day to do properly so allow two.
But do ensure the leak is diesel and NOT engine oil.