File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ public function createOrder(array $invoiceRaw)
720720 // Check what actions are enabled for call list processing
721721 $ attachPdfToOrder = strtolower (\Ease \Shared::cfg ('ATTACH_CALL_LIST_PDF ' , 'true ' )) === 'true ' ;
722722 $ sendByEmail = strtolower (\Ease \Shared::cfg ('SEND_CALL_LIST_EMAIL ' , 'true ' )) === 'true ' ;
723-
723+
724724 // Generate PDF only if it will be used (attached to order OR sent by email)
725725 $ shouldGeneratePdf = $ attachPdfToOrder || $ sendByEmail ;
726726
@@ -734,7 +734,7 @@ public function createOrder(array $invoiceRaw)
734734 ).'.pdf ' ;
735735
736736 file_put_contents ($ callLogFilename , $ pdfCallLog );
737-
737+
738738 // Attach to order only if enabled
739739 if ($ attachPdfToOrder ) {
740740 \AbraFlexi \Priloha::addAttachmentFromFile ($ order , $ callLogFilename );
You can’t perform that action at this time.
0 commit comments