using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using MercatorApi;
using MercatorUi;

namespace Gescom
{
    public class Customizer : MercatorUi.ICustomizers.IStringUpdater
    {

        public string StringUpdate(string stringToModify)
        {
            string id = Api.StrExtract(stringToModify, "<ID>", "</ID>");
            if (id.StartsWith("ALLOWANCES_FOOTERS_"))
                return stringToModify.Replace("select id,intitule from", "select id,intitule,debut,fin from");
            else
                return stringToModify;
        }
    }
}