/// <summary>
 /// Cash and bank combofill function
 /// </summary>
 public void cashAndBAnkCombofill()
 {
     List<DataTable> listObj = new List<DataTable>();
     SalesInvoiceBll BllSalesInvoice = new SalesInvoiceBll();
     try
     {
         listObj = BllSalesInvoice.BankOrCashComboFill();
         cmbCashOrbank.DataSource = listObj[0];
         cmbCashOrbank.ValueMember = "ledgerId";
         cmbCashOrbank.DisplayMember = "ledgerName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("SI: 08" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }