IB A340 repair at Quito - expensive but its early days yet and we shall have to wait and see what decisions are made.
Picking up on some of the other comments on this thread:-
Joetom - QF 747 at BKK was not an insurance CTL - cost of repairs was well below aircraft's insurance agreed value.
Armchairpilot94116 - Thai A300 was not a write off. Thai made commercial decision to take cash-in-lieu of repairs. Aircraft was certainly repairable within insurance agreed value.