diff --git a/src/assets.cpp b/src/assets.cpp index c9ee503..eaad277 100644 --- a/src/assets.cpp +++ b/src/assets.cpp @@ -265,6 +265,13 @@ void budget::assets_module::handle(const std::vector& args){ throw budget_exception("This asset class already exists"); } + std::cout << "Is this part of your retirement (FI) ? [yes/no] ? "; + + std::string answer; + + std::getline(std::cin, answer); + clas.fi = answer == "yes" || answer == "y"; + auto id = add_asset_class(clas); std::cout << "Asset Clas " << id << " has been created" << std::endl; } else if (subsubcommand == "edit") {