first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/**
* NOTICE OF LICENSE
*
* This source file is subject to the Software License Agreement
* that is bundled with this package in the file LICENSE.txt.
*
* @author Peter Sliacky (Zelarg)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
checkoutPaymentParser.add_cashondelivery_fee = {
all_hooks_content: function (content) {
},
additionalInformation: function (element) {
var paymentOption = element.attr('id').match(/payment-option-\d+/)[0];
var feeHtml = element.find('#add_cashondelivery_fee_FEE').html();
var fee = payment.parsePrice(feeHtml);
element.last().append('<div class="payment-option-fee hidden" id="' + paymentOption + '-fee">' + fee + '</div>');
}
}