You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Persistent margin and rounding settings for Synergy Wholesale TLD pricing sync.
8
+
- Configurable minimum renew and transfer costs with sub-cent precision, applied before the TLD sync margin and rounding. Zero prices remain unchanged.
row.querySelector('label small').textContent = 'Configured in the Synergy Wholesale registrar settings. Applied before margin and rounding; zero prices are unchanged.';
60
+
row.querySelector('input').id = id;
61
+
row.querySelector('input').disabled = true;
62
+
row.querySelector('input').value = value || '';
63
+
return row;
64
+
}
65
+
66
+
function enhance() {
67
+
if (document.querySelector('.sw-tldsync-setting')) {
68
+
return;
69
+
}
70
+
71
+
var marginType = document.getElementById('inputMarginType');
72
+
var profitPercent = document.getElementById('inputMarginPercent');
73
+
var profitFixed = document.getElementById('inputMarginFixed') || profitPercent;
74
+
var rounding = document.getElementById('inputRoundingValue');
75
+
var importButton = document.getElementById('doTldImport');
76
+
if (!marginType || !profitPercent || !rounding || !importButton) {
77
+
return;
78
+
}
79
+
80
+
restore(marginType, saved.marginType);
81
+
restore(profitPercent, saved.profitMargin);
82
+
restore(profitFixed, saved.profitMargin);
83
+
restore(rounding, saved.rounding);
84
+
85
+
var anchor = rounding.closest('.form-group') || rounding.parentNode;
0 commit comments