Files
grzanieplus.pl/plugins/stPrzelewy24Plugin/modules/stPrzelewy24Backend/templates/_config_form.php
2025-03-12 17:06:23 +01:00

14 lines
474 B
PHP

<?php include st_admin_get_template_path(__FILE__) ?>
<script>
jQuery(function($) {
$('#config_payment_channels_enabled').change(function() {
const fields = $('.row_report_key, .row_channels, .row_highlighted_for_product, .row_highlighted_for_basket');
if ($(this).prop('checked')) {
fields.removeClass('hidden');
} else {
fields.addClass('hidden');
}
});
});
</script>