Esempio n. 1
0
 public void UpdatePOInvoice(T_Invoice poInvoice)
 {
     POInvoiceList.Remove(POInvoiceList.Find(o => o.id == poInvoice.id));
     POInvoiceList.Add(poInvoice);
 }
Esempio n. 2
0
 private void AddButton_Click(object sender, EventArgs e)
 {
     DateTime now = DateTime.Now;
     T_Invoice invoice = new T_Invoice() { pono = this.PO.pono, id = Guid.NewGuid().ToString(), paydate = now, registdate = now, register = Global.UserNo, registerdesc = Global.UserName };
     _POInvoices.Add(invoice);
     _AddList.Add(invoice.id);
     this.gvPayInvoices.RefreshData();
 }
Esempio n. 3
0
 public void AddPOInvoice(T_Invoice poInvoice)
 {
     POInvoiceList.Add(poInvoice);
 }