Redesign of monthly cash flow.

This commit is contained in:
2020-08-05 17:34:31 +02:00
parent 6346841e5b
commit 784b25e9d8
4 changed files with 747 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ logfile=$(mktemp)
office_dir="/home/chris/O.OPEN/Büro"
base_dir_bank_statement="/home/chris/O.OPEN/Bank-Konten/Commerzbank/Geschaefts-Konto/Kontoauszüge"
src_base_dir_cash_flow="${office_dir}/Einnahmen/"
#src_base_dir_cash_flow="${office_dir}/Einnahmen/"
bill_receipts="Rechnungen Einnahmen"
bill_cost="Rechnungen Ausgaben"
@@ -185,7 +185,7 @@ fi
src_dir_cash_receipts="${office_dir}/Einnahmen/${year}"
src_dir_cash_receipts="${office_dir}/Einnahmen/${year}/$month"
src_dir_cash_storno="${office_dir}/Einnahmen/${year}/Stornorechnungen"
src_dir_cash_cost="${office_dir}/Ausgaben/${year}/$month"
src_dir_bank_statement="$base_dir_bank_statement/${year}"
@@ -384,7 +384,8 @@ while IFS='' read -r -d '' _rg_pdf ; do
echo_failed
error $(cat $logfile)
fi
done < <(find "$src_dir_cash_receipts" -maxdepth 1 -type f -name "rg-${year}-${month}*.pdf" -print0)
#done < <(find "$src_dir_cash_receipts" -maxdepth 1 -type f -name "rg-${year}-${month}*.pdf" -print0)
done < <(find "$src_dir_cash_receipts" -maxdepth 1 -type f -name "*.pdf" -print0)
echo
found_contract_file=false