From 478aa15a9dcf86dff9408694f4450244f217cbe9 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 16 Feb 2026 21:31:48 +0000
Subject: [PATCH] Release version 4.0
---
public.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/public.php b/public.php
index 06eb6c9..a0e2a68 100644
--- a/public.php
+++ b/public.php
@@ -24,6 +24,9 @@
} elseif ($event['entity'] === 'client') {
$synchronizer = new \SIPL\UCRM\wFirma\ContractorSynchronizer($wFirmaApi, $helper);
} elseif ($event['entity'] === 'invoice') {
+ $qrSync = new \SIPL\UCRM\wFirma\InvoiceQrCodeSynchronizer($helper);
+ $qrSync->synchronize($event['entityId'], $event['extraData']['entityBeforeEdit'] ?? null);
+
$synchronizer = new \SIPL\UCRM\wFirma\InvoiceSynchronizer($wFirmaApi, $helper);
} elseif ($event['entity'] === 'payment') {
$synchronizer = new \SIPL\UCRM\wFirma\PaymentSynchronizer($wFirmaApi, $helper);
--
Gitblit v1.10.0