forked from EvergreenCrypto/docker-finance
Merge pull request #310 into master
1721ecd1container: lib_taxes: print locations of output (Aaron Fiore)81e97efdcontainer: lib_reports: print locations of output (Aaron Fiore)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# docker-finance | modern accounting for the power-user
|
||||
#
|
||||
# Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
# Copyright (C) 2021-2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -365,10 +365,16 @@ function lib_reports::__reports()
|
||||
"$_index" \
|
||||
""
|
||||
|
||||
lib_utils::print_custom "\n Now, open your browser to:\n"
|
||||
[ -z "$DOCKER_FINANCE_CLIENT_FLOW" ] && lib_utils::die_fatal
|
||||
local -r _client_out_dir="${DOCKER_FINANCE_CLIENT_FLOW}/profiles/${global_parent_profile}/${global_child_profile}/reports/${_year}"
|
||||
|
||||
[ -z "${DOCKER_FINANCE_CLIENT_FLOW}" ] && lib_utils::die_fatal
|
||||
lib_utils::print_custom "\n file://${DOCKER_FINANCE_CLIENT_FLOW}/profiles/${global_parent_profile}/${global_child_profile}/reports/${_year}/${_index}.html\n\n"
|
||||
lib_utils::print_custom "\n Reports are located:\n\n"
|
||||
|
||||
lib_utils::print_custom "\tclient (host): ${_client_out_dir}/\n\n"
|
||||
lib_utils::print_custom "\tcontainer: ${_out_dir}/\n"
|
||||
|
||||
lib_utils::print_custom "\n On your client (host), open your browser to:\n\n"
|
||||
lib_utils::print_custom "\tfile://${_client_out_dir}/${_index}.html\n\n"
|
||||
|
||||
lib_utils::print_info "Done!"
|
||||
}
|
||||
|
||||
@@ -1119,7 +1119,13 @@ function lib_taxes::__taxes_write()
|
||||
local -r _return=$?
|
||||
|
||||
if [ $_return -eq 0 ]; then
|
||||
lib_utils::print_custom "\n"
|
||||
[ -z "$DOCKER_FINANCE_CLIENT_FLOW" ] && lib_utils::die_fatal
|
||||
|
||||
lib_utils::print_custom "\n Taxes are located:\n\n"
|
||||
|
||||
lib_utils::print_custom "\tclient (host): ${DOCKER_FINANCE_CLIENT_FLOW}/profiles/${global_parent_profile}/${global_child_profile}/taxes/${global_arg_year}/\n\n"
|
||||
lib_utils::print_custom "\tcontainer: ${_tax_root_dir}/\n\n"
|
||||
|
||||
lib_utils::print_info "Done!"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user