From b7736cfb71f73b036d34995a5540eeb202ce3e19 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 16 Feb 2026 21:31:48 +0000
Subject: [PATCH] Put full URL to public.php in "KSeF QR Code" field
---
src/UcrmPaymentMethods.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/UcrmPaymentMethods.php b/src/UcrmPaymentMethods.php
index 052cfd3..577e516 100644
--- a/src/UcrmPaymentMethods.php
+++ b/src/UcrmPaymentMethods.php
@@ -3,8 +3,8 @@
namespace SIPL\UCRM\wFirma;
class UcrmPaymentMethods {
- protected $api;
- protected static $definition = [
+ protected \Ubnt\UcrmPluginSdk\Service\UcrmApi $api;
+ protected static array $definition = [
'Credit card' => '',
'Compensation' => '',
];
@@ -21,7 +21,7 @@
return self::$definition[$method];
}
- function update() {
+ function update(): void {
$methods = $this->api->get('/payment-methods');
foreach ($methods as $method) {
if (isset(self::$definition[$method['name']])) {
--
Gitblit v1.10.0