Mail Weiterleitung / verlauf / Notizen Buchnungen
This commit is contained in:
parent
f1a1baa913
commit
644ec93c53
47 changed files with 663 additions and 59 deletions
|
|
@ -170,12 +170,12 @@ class Passolution
|
|||
$pdf_file->create(['contents' => $this->htmlText], $this->pdf_name, 'save', $this->pdf_path.$this->pdf_dir);
|
||||
}
|
||||
|
||||
public function findOrCreatePDF($create = false){
|
||||
public function findOrCreatePDF($create = false, $resync = false){
|
||||
|
||||
$this->createPDFName();
|
||||
$this->storagePath();
|
||||
$bool = Storage::disk('public')->exists( $this->pdf_dir.$this->pdf_name );
|
||||
if(!$bool && $create){
|
||||
if(!$bool && $create || $resync){
|
||||
$this->read();
|
||||
$this->onlyCreatePDF();
|
||||
$bool = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue