public override object[] CollectSearchCriteria()
        {
            List <GetInvoicesPaymentBriefReport_Result> list =
                GetInvoicesPaymentBriefReport_Result.GetItemsList(null, (int?)InvoiceTypeID, (int?)PaymentTypeID, (DateTime?)FromDate,
                                                                  (DateTime?)ToDate, (int?)UserID);

            if (list != null)
            {
                return(list.ToArray());
            }
            return(null);
        }
예제 #2
0
        public void MedicalInitialize(Invoice invoice)
        {
            if (invoice == null)
            {
                return;
            }

            ActiveMedicalInvoice = invoice;
            Invoice = ActiveMedicalInvoice;
            patientTopTitle_UC1.Initialize(invoice.PatientObject);

            grdPayments.DataSource = GetInvoicesPaymentBriefReport_Result.GetItemsList(ActiveMedicalInvoice.ID, null, null, null,
                                                                                       null, null);

            LoadControls(ActiveMedicalInvoice);
        }