Added MNO docs to Paperless, fixed new clients info on dashboard

This commit is contained in:
Kwesi Banson
2024-07-04 11:32:19 +00:00
parent 132f151728
commit 101012c684
20 changed files with 128 additions and 63 deletions

View File

@@ -112,10 +112,13 @@ class PaperLessNgx {
# set parameters and push to paperless
$tags_correspondent = $this->getDocumentCorrespondent($category);
if ($store_location == "general_files") {
$file_path = "documents/general_files/" . $filename; //"documents/oasl.pdf";
$file_path = "documents/general_files/" . $filename;
}
else if ($store_location == "mno_files") {
$file_path = "documents/mno_files/" . $filename;
}
else{
$file_path = "documents/client_files/" . $filename; //"documents/oasl.pdf";
$file_path = "documents/client_files/" . $filename;
}
$tags_arr[] = $tags_correspondent['tags']; //[1,2];