diff --git a/plugins/fio_cz/fio_cz.zip b/plugins/fio_cz/fio_cz.zip index 7a2e0d167..6c0ea070f 100644 Binary files a/plugins/fio_cz/fio_cz.zip and b/plugins/fio_cz/fio_cz.zip differ diff --git a/plugins/fio_cz/src/manifest.json b/plugins/fio_cz/src/manifest.json index d30a0c7e9..d10a9ebf2 100644 --- a/plugins/fio_cz/src/manifest.json +++ b/plugins/fio_cz/src/manifest.json @@ -5,7 +5,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https://www.fio.cz/bankovni-sluzby/api-bankovnictvi", "url": "https://github.com/Ubiquiti-App/UCRM-plugins/tree/master/plugins/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null @@ -37,8 +37,8 @@ { "key": "importUnattached", "label": "Import all payments.", - "description": "Import all payments. Payments without match will be imported as \"Unattached payments\". Fill 1 to enable or 0 to disable this feature (when disabled, the unmatched payment will only be logged and skipped).", - "required": 1, + "description": "Import all payments. Payments without match will be imported as \"Unattached payments\".", + "required": 0, "type": "checkbox" }, { diff --git a/plugins/fio_cz/src/src/FioCz/FioCz.php b/plugins/fio_cz/src/src/FioCz/FioCz.php index 608f9c1da..61eb14c33 100644 --- a/plugins/fio_cz/src/src/FioCz/FioCz.php +++ b/plugins/fio_cz/src/src/FioCz/FioCz.php @@ -89,7 +89,7 @@ function ($transaction) { 'amount' => $transaction['column1']['value'], 'currency' => $transaction['column14']['value'], 'date' => $transaction['column0']['value'], - 'reference' => $transaction['column5']['value'], + 'reference' => $transaction['column5']['value'] ?? '', 'id' => $transaction['column22']['value'], 'data' => $data, ]; diff --git a/plugins_2.1.x.json b/plugins_2.1.x.json index 15d6edba8..55eda7bff 100644 --- a/plugins_2.1.x.json +++ b/plugins_2.1.x.json @@ -31,7 +31,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https:\/\/www.fio.cz\/bankovni-sluzby\/api-bankovnictvi", "url": "https:\/\/github.com\/Ubiquiti-App\/UCRM-plugins\/tree\/master\/plugins\/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/plugins_2.2.x.json b/plugins_2.2.x.json index 15d6edba8..55eda7bff 100644 --- a/plugins_2.2.x.json +++ b/plugins_2.2.x.json @@ -31,7 +31,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https:\/\/www.fio.cz\/bankovni-sluzby\/api-bankovnictvi", "url": "https:\/\/github.com\/Ubiquiti-App\/UCRM-plugins\/tree\/master\/plugins\/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/plugins_2.3.x.json b/plugins_2.3.x.json index 517119ab7..82cd9eb89 100644 --- a/plugins_2.3.x.json +++ b/plugins_2.3.x.json @@ -31,7 +31,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https:\/\/www.fio.cz\/bankovni-sluzby\/api-bankovnictvi", "url": "https:\/\/github.com\/Ubiquiti-App\/UCRM-plugins\/tree\/master\/plugins\/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/plugins_2.4.x.json b/plugins_2.4.x.json index 517119ab7..82cd9eb89 100644 --- a/plugins_2.4.x.json +++ b/plugins_2.4.x.json @@ -31,7 +31,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https:\/\/www.fio.cz\/bankovni-sluzby\/api-bankovnictvi", "url": "https:\/\/github.com\/Ubiquiti-App\/UCRM-plugins\/tree\/master\/plugins\/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/plugins_2.5.x.json b/plugins_2.5.x.json index 517119ab7..82cd9eb89 100644 --- a/plugins_2.5.x.json +++ b/plugins_2.5.x.json @@ -31,7 +31,7 @@ "displayName": "Fio bank payment import", "description": "This plugin enables you to import payments from Fio bank to UCRM. See https:\/\/www.fio.cz\/bankovni-sluzby\/api-bankovnictvi", "url": "https:\/\/github.com\/Ubiquiti-App\/UCRM-plugins\/tree\/master\/plugins\/fio_cz", - "version": "1.2.8", + "version": "1.2.11", "unmsVersionCompliancy": { "min": "2.1.0", "max": null