예제 #1
0
        void btnConfirm_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                Facade.IInvoiceBatches facInvoiceBatches = new Facade.Invoice();

                if (facInvoiceBatches.UpdateInvoiceDate(m_batchId, dteInvoiceDate.SelectedDate.Value, ((Entities.CustomPrincipal)Page.User).UserName))
                {
                    mwhelper.CausePostBack = false;
                    mwhelper.OutputData    = dteInvoiceDate.SelectedDate.Value.ToString("dd/MM/yyyy");
                    mwhelper.CloseForm     = true;
                }
            }
        }