Added code to pull in all items in the new modify record form. Updated the database reader code and broke the main form. Fixed a bug where weekly sales and taxable would not set the dirty flag if text was cleared from a text box after pulling from the database. Known bug: when an ad special row's group is changed to another ad special group, i.e. "Weekend Ad" to "New Years Ad", the pending edit color is not shown in the header cells of the members and only the ad special row.
This commit is contained in:
@@ -416,8 +416,8 @@ namespace AdvertsingProfitControl
|
||||
_gCostOfSalesCalculatedTotal = costOfSalesSum;
|
||||
|
||||
object[] invoiceTotalRow = new object[invoiceTable.Columns.Count];
|
||||
invoiceTotalRow[0] = "Total Purchases";
|
||||
invoiceTotalRow[4] = costOfSalesSum;
|
||||
invoiceTotalRow[2] = "Total Purchases";
|
||||
invoiceTotalRow[5] = costOfSalesSum;
|
||||
invoiceTable.Rows.Add(invoiceTotalRow);
|
||||
|
||||
return invoiceTable;
|
||||
|
||||
Reference in New Issue
Block a user