namespace SelfScan
{
    public class Customizer : MercatorUi.ICustomizers.IStringUpdater
    {
        public string StringUpdate(string stringToModify)
        {
            string id = Api.StrExtract(stringToModify, "<ID>", "</ID>");
            if (id == "SELECT_CLI")
                stringToModify = stringToModify.Replace("=@barcode)", "=@barcode) and (c_sommeil=0)");
            return stringToModify;
        }
    }
}