From 81e97efd0a615984602eb9de28ae8fbadf99844b Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Tue, 10 Mar 2026 14:11:30 -0700 Subject: [PATCH 1/2] container: lib_reports: print locations of output And clarify URI perspective. --- .../src/finance/lib/internal/lib_reports.bash | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/container/src/finance/lib/internal/lib_reports.bash b/container/src/finance/lib/internal/lib_reports.bash index 0f615e5..b101dcb 100644 --- a/container/src/finance/lib/internal/lib_reports.bash +++ b/container/src/finance/lib/internal/lib_reports.bash @@ -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!" } From 1721ecd1f5d093c96065f33dee3da0ff95144d14 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Tue, 10 Mar 2026 14:17:35 -0700 Subject: [PATCH 2/2] container: lib_taxes: print locations of output --- container/src/finance/lib/internal/lib_taxes.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/container/src/finance/lib/internal/lib_taxes.bash b/container/src/finance/lib/internal/lib_taxes.bash index f399e41..213a949 100644 --- a/container/src/finance/lib/internal/lib_taxes.bash +++ b/container/src/finance/lib/internal/lib_taxes.bash @@ -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