Skip to content

Instantly share code, notes, and snippets.

@schoettl
Last active July 4, 2022 10:18
Show Gist options
  • Save schoettl/3b36d24af700df8be10969472d518621 to your computer and use it in GitHub Desktop.
Save schoettl/3b36d24af700df8be10969472d518621 to your computer and use it in GitHub Desktop.
Highlight important input fields when creating Verbindlichkeiten
// ==UserScript==
// @name Xentral Verbindlichkeit
// @namespace https://intensovet.de
// @match https://*.xentral.biz/*?module=verbindlichkeit&action=edit&id=*
// @grant none
// @version 1.0
// @author Jakob Schöttl
// @description Highlight important input fields when creating Verbindlichkeiten
// ==/UserScript==
$(function() {
$('#adresse').css('background', '#f9e182');
$('#projekt').css('background', '#f9e182');
$('#rechnung').css('background', '#f9e182');
$('#rechnungsdatum').css('background', '#f9e182');
$('#betrag').css('background', '#f9e182');
$('#freigabe').siblings().css('background', '#f9e182');
$('#rechnungsfreigabe').siblings().css('background', '#f9e182');
$('#zahlungsweise').css('background', '#f9e182');
$('#skonto').css('background', '#f9e182');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment