Normally partner A will get salary at the end of year or end of term (assumed), so he hasnt got any money yet on Jul 1, then he will only get $10000.
But if he got the money at the beginning of the year, $10000 will be his salary ,and another $10000 will be loss to company, and then company has to claim it.