bug fixes, senderID polishing, support fees, paperless partial

This commit is contained in:
Kwesi Banson
2024-07-02 09:25:00 +00:00
parent 318fddbff0
commit edb78d1bfc
116 changed files with 1488 additions and 368 deletions

View File

@@ -40,6 +40,25 @@ class UtilityController extends Controller
public function ntfyTest(){
$this->sendNtfy('In the ERP');
}
public function paperlessTest(){
$file_path = "documents/oasl.pdf";
$tags_arr = [1,2];
$created_at = date('Y-m-d H:i:s');
$document_type = 1;
$title = "OASL has entered the chat";
$top = $this->sendToPaperless($file_path, $tags_arr, $created_at, $document_type, $title);
dd($top);
}
function getPaperlessAttributes($name){
$retval = $this->getToPaperlessParamValues($name);
// dd($retval['results']);
$tip = json_decode($retval);
foreach ($tip->results as $value) {
dd($value);
}
dd($tip->results);
}
function insertOnboardingProgress(){
$all_clients = Models\Client::get();
$count_cl = 0;