mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-24 09:40:21 +00:00
testeando el notify
This commit is contained in:
@ -133,6 +133,7 @@ $(() => {
|
||||
const html = await response.text();
|
||||
$('#direccion-div').append(html);
|
||||
$('#addBillingAddressBtn').addClass('d-none');
|
||||
$('#btn-checkout').prop('disabled', false);
|
||||
hideLoader();
|
||||
return true;
|
||||
}
|
||||
@ -149,6 +150,13 @@ $(() => {
|
||||
const $div = $card.parent();
|
||||
$card.remove();
|
||||
$('#addBillingAddressBtn').removeClass('d-none');
|
||||
|
||||
$('#btn-checkout').prop('disabled', true);
|
||||
});
|
||||
|
||||
|
||||
$('input[name="paymentMethod"]').on('change', function() {
|
||||
const method = $(this).val();
|
||||
// set the hidden input value in the form
|
||||
$('input[name="method"]').val(method);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user