using System;
using System.Text;
using System.Windows.Forms;
using MercatorApi;
using MercatorExtensions;
using MercatorUi;
using System.Data.SqlClient;
// <CompileWithRoslyn />
namespace Gescom
{
public class Customizer : MercatorUi.ICustomizers.ISqlCommandUpdater
{
public void SqlCommandUpdate(SqlCommand sqlCommandToModify, Form form)
{
if ((form is MercatorUi.Forms.Gescom.GescomCashDepositBankRemittingForm gescomCashDepositBankRemittingForm) && (gescomCashDepositBankRemittingForm.Type == MercatorUi.Forms.Gescom.GescomCashDepositBankRemittingForm.GescomCashDepositBankRemittingEnum.BankRemitting))
sqlCommandToModify.CommandText += "\r\n\r\n"
+ "exec SP_RESET_NON_CASH";
}
}
}