forked from EvergreenCrypto/docker-finance
container: lib_reports: print locations of output
And clarify URI perspective.
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!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user