* Calculate the max allowed loan for this company. * @return the max loan amount. */
| 105 | * @return the max loan amount. |
| 106 | */ |
| 107 | Money Company::GetMaxLoan() const |
| 108 | { |
| 109 | if (this->max_loan == COMPANY_MAX_LOAN_DEFAULT) return _economy.max_loan; |
| 110 | return this->max_loan; |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Sets the local company and updates the settings that are set on a |
no outgoing calls
no test coverage detected