Both of you have solid answers, I don’t really have any solid fixes myself.
I guess my best idea would be you skip the current day and pay double on the second day, which may give you enough time to collect your missions/raid that last ruin/ catch those fleeing bandits.
A picture illustrating my original issue of being moments away from money but having units leave the warband.