diff --git a/js/mlinvoice.js b/js/mlinvoice.js index 053e16b9..b6bbf462 100644 --- a/js/mlinvoice.js +++ b/js/mlinvoice.js @@ -305,7 +305,7 @@ var MLInvoice = (function CreateMLInvoice() { if (typeof colorClasses !== 'undefined') { $toast.addClass(colorClasses); } else { - $toast.addClass('text-white bg-success'); + $toast.addClass('text-success-emphasis bg-success-subtle'); } var $flex = $('
') .appendTo($toast); @@ -334,12 +334,12 @@ var MLInvoice = (function CreateMLInvoice() { function errormsg(msg, timeout) { - infomsg(msg, timeout, 'text-white bg-danger'); + infomsg(msg, timeout, 'text-danger-emphasis bg-danger-subtle'); } function warningmsg(msg, timeout) { - infomsg(msg, timeout, 'bg-warning'); + infomsg(msg, timeout, 'text-warning-emphasis bg-warning-subtle'); } function clearMessages() diff --git a/js/mlinvoice.min.js b/js/mlinvoice.min.js index 43c88527..0c99a706 100644 --- a/js/mlinvoice.min.js +++ b/js/mlinvoice.min.js @@ -1,3 +1,3 @@ -/*! mlinvoice 2024-12-09 */ -var MLInvoice=function(){var a=[],n=!1,o={},t="none",i=[],r=!0,c=2,d={},s="DD.MM.YYYY";function l(e,t){o[e]=t}function p(e,t,a){var n=o[e]||e;return n===e&&void 0!==a&&(n=a),"object"==typeof t&&$.each(t,function(e,t){n=n.replace(new RegExp(e,"g"),t)}),n}function u(e,t){var t=void 0===t?c:t,a=p("DecimalSeparator"),n=p("ThousandSeparator",[],""),e=parseFloat(e).toFixed(t).replace(".",a);if(n){for(var o=e.split(a),i=new RegExp("(\\d+)(\\d{3})"+a+"?");i.test(o[0]);)o[0]=o[0].replace(i,"$1"+n+"$2");e=o[0],1'),a=(void 0!==a?n.addClass(a):n.addClass("text-white bg-success"),$('
').appendTo(n)),e=($('
').text(e).appendTo(a),$('