Skip to content

Commit b80aa7f

Browse files
committed
fix: funzioni dei plugin con stesso nome
1 parent 729ca96 commit b80aa7f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

plugins/importFE/edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function upload(btn) {
127127
// Ricerca automatica
128128
if (Interaction::isEnabled()) {
129129
echo '
130-
<button type="button" class="btn btn-primary" onclick="search(this)">
130+
<button type="button" class="btn btn-primary" onclick="searchInvoices(this)">
131131
<i class="fa fa-refresh"></i> '.tr('Ricerca fatture').'
132132
</button>';
133133
}
@@ -265,7 +265,7 @@ function importAll(btn) {
265265
}
266266
echo '
267267
268-
function search(btn) {
268+
function searchInvoices(btn) {
269269
var restore = buttonLoading(btn);
270270
271271
// Mostra un\'animazione di caricamento nella lista

plugins/importFE_ZIP/edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function upload1(btn) {
190190
// Ricerca automatica
191191
if (Interaction::isEnabled()) {
192192
echo '
193-
<button type="button" class="btn btn-primary" onclick="search(this)">
193+
<button type="button" class="btn btn-primary" onclick="searchInvoicesZip(this)">
194194
<i class="fa fa-refresh mr-1"></i> '.tr('Ricerca fatture').'
195195
</button>';
196196
}
@@ -313,7 +313,7 @@ function importAll(btn) {
313313
}
314314
echo '
315315
316-
function search(btn) {
316+
function searchInvoicesZip(btn) {
317317
var restore = buttonLoading(btn);
318318
319319
// Mostra un\'animazione di caricamento nella lista

plugins/receiptFE/edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
<i class="fa fa-cloud-download mr-1"></i> '.tr('Importa tutte').'
162162
</button>
163163
164-
<button type="button" class="btn btn-primary" onclick="search(this)">
164+
<button type="button" class="btn btn-primary" onclick="searchReceipts(this)">
165165
<i class="fa fa-refresh mr-1"></i> '.tr('Ricerca ricevute').'
166166
</button>
167167
</div>
@@ -238,7 +238,7 @@ function applySearchFilter() {
238238
}
239239
}
240240
241-
function search(button) {
241+
function searchReceipts(button) {
242242
var restore = buttonLoading(button);
243243
244244
// Mostra un\'animazione di caricamento nella lista

0 commit comments

Comments
 (0)