private List <Entities.SubContractorDataItem> LoadBatch() { using (Facade.IPreInvoice facPreInvoice = new Facade.PreInvoice()) { rdiInvoiceDate.SelectedDate = facPreInvoice.GetBatchInvoiceDate(BatchID); return(facPreInvoice.GetJobSubContractorsForBatch(BatchID)); } }
private void LoadBatchSummary() { Facade.IPreInvoice facPreInvoice = new Facade.PreInvoice(); DataSet ds = facPreInvoice.GetSummaryForBatchForSubbySelfBill(BatchID); grdSubbies.DataSource = ds; lblInvoicedate.Text = facPreInvoice.GetBatchInvoiceDate(BatchID).ToString("dd/MM/yyyy"); }