Completely removed all the old database interaction code, save the database converter form. Updated the formatting in the weekly and taxable areas on the modify record form. Re-enabled holiday checking on the main form.
This commit is contained in:
@@ -214,24 +214,24 @@ namespace AdvertsingProfitControl
|
||||
//removedCharacterOffset++;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (abbreviations.Count > 0)
|
||||
{
|
||||
LogConsole.WriteToLog(FrmLogConsole.Level.Debug, "Detected abbreviation(s) in input string \"" + adItemText + "\":");
|
||||
foreach (var abbreviation in abbreviations)
|
||||
{
|
||||
LogConsole.WriteToLog(FrmLogConsole.Level.Debug, abbreviation);
|
||||
}
|
||||
}
|
||||
else if (words.Count > 0)
|
||||
{
|
||||
LogConsole.WriteToLog(FrmLogConsole.Level.Debug, "Detected words(s) in input string \"" + adItemText + "\":");
|
||||
foreach (var word in words)
|
||||
{
|
||||
LogConsole.WriteToLog(FrmLogConsole.Level.Debug, word);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
//#if DEBUG
|
||||
// if (abbreviations.Count > 0)
|
||||
// {
|
||||
// LogConsole.WriteToLog(FrmLogConsole.Level.Debug, "Detected abbreviation(s) in input string \"" + adItemText + "\":");
|
||||
// foreach (var abbreviation in abbreviations)
|
||||
// {
|
||||
// LogConsole.WriteToLog(FrmLogConsole.Level.Debug, abbreviation);
|
||||
// }
|
||||
// }
|
||||
// else if (words.Count > 0)
|
||||
// {
|
||||
// LogConsole.WriteToLog(FrmLogConsole.Level.Debug, "Detected words(s) in input string \"" + adItemText + "\":");
|
||||
// foreach (var word in words)
|
||||
// {
|
||||
// LogConsole.WriteToLog(FrmLogConsole.Level.Debug, word);
|
||||
// }
|
||||
// }
|
||||
//#endif
|
||||
|
||||
return cleanedInputString;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user