Currencies can now be enabled and disabled.

This commit is contained in:
James Cole
2018-11-10 10:04:46 +01:00
parent daa8aa5c9d
commit e491dda229
25 changed files with 457 additions and 51 deletions

View File

@@ -100,6 +100,7 @@ class NewUserController extends Controller
if (null === $currency) {
$currency = $currencyRepository->findByCodeNull('EUR');
}
$currencyRepository->enable($currency);
$this->createAssetAccount($request, $currency); // create normal asset account
$this->createSavingsAccount($request, $currency, $language); // create savings account