Skip to content

Commit f60ffed

Browse files
committed
Refactor PDF call log generation: Remove unnecessary blank lines for improved code readability
1 parent fc1fd38 commit f60ffed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AbraFlexiIpex/Ipex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)