Moved SaleForm code to Controller, have to put Exception handlers for PermissionException
This commit is contained in:
@ -44,7 +44,7 @@ namespace Tanshu.Accounts.PointOfSale.Updates
|
||||
{
|
||||
//Guid gd = new Guid(dgvPending.Rows[e.RowIndex].Cells[2].Value.ToString());
|
||||
PendingBillsBO current = (PendingBillsBO)bsPending.Current;
|
||||
using (SalesForm frmSale = new SalesForm(current.voucherID))
|
||||
using (SalesForm frmSale = new SalesForm(current.voucherID, new BillController()))
|
||||
frmSale.ShowDialog();
|
||||
btnShowBill_Click(this, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user