The loss of money, for example a salary deduction or possibly losing a job, is equal to “having to travel 18 min” and also goes into the decision of whether there is an obligation to go to Minyan. There is a difference between a financial loss or foregoing a profit. In each situation a Rav should be consulted.