Marked as 'AdvertsingProfitControl (New Add Form)' by its folder name. I think this was one of the first appearences of a modify record form, however I may have gotten the order mixed up here with the previous commit. Reguardless, this version still introduced the first appearence of a new 'Modify Record' form.

This commit is contained in:
2021-01-28 20:02:35 -06:00
parent 21eaae4d67
commit 676a9dd890
24 changed files with 7495 additions and 491 deletions
+7 -6
View File
@@ -50,7 +50,7 @@ namespace AdvertsingProfitControl
writer.RenderBeginTag(HtmlTextWriterTag.Head);
writer.AddAttribute(HtmlTextWriterAttribute.Type, "text/css");
writer.RenderBeginTag(HtmlTextWriterTag.Style);
writer.Write("td{margins:0px; padding:0; border:1px solid black; text-align:left}");
writer.Write("td{margins:0px; padding:0; border:1px solid black; text-align:left} table{table-layout:fixed;} td{ width: 1px; white-space:nowrap; }");
writer.RenderEndTag();//style
writer.RenderEndTag();//Head
writer.RenderBeginTag(HtmlTextWriterTag.Body);
@@ -63,15 +63,16 @@ namespace AdvertsingProfitControl
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("<center>Weekly Inventory Control</center>");
writer.RenderEndTag();//td
//New row for Name & Location
writer.RenderEndTag();//tr (header row)
writer.RenderBeginTag(HtmlTextWriterTag.Tr);
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "5");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; text-align:left; width:560px");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; text-align:left"); //; width:560px
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Name & Location");
writer.RenderEndTag();//td
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "3");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; width:240px");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none"); //; width:240px
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Week Ending <u>" + CleanDate(databaseReader.RetrieveDateStringById(dateId, databaseTracker.DatabaseConnectionString)) + "</u>");
writer.RenderEndTag();//td
@@ -94,12 +95,12 @@ namespace AdvertsingProfitControl
//Begin rendering the description row and the Sunday row in the sales table.
writer.RenderBeginTag(HtmlTextWriterTag.Tr);
//Date td
writer.AddAttribute(HtmlTextWriterAttribute.Style, "text-align:center; width:100px"); //; width:100px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "text-align:center"); //; width:100px
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Date");
writer.RenderEndTag();//td
//Supplier and invoices td
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center; width:250px"); //width:250px;
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center"); //width:250px;
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Suppliers and Invoice Number");
writer.RenderEndTag();//td
@@ -109,7 +110,7 @@ namespace AdvertsingProfitControl
writer.Write("Net Amount of Invoices At Cost");
writer.RenderEndTag();//td
//Net amount extended retail
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center; width:25px"); //width:50px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center"); //width:50px
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "2");
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Net Amount of <br>Invoices<br> Extended Retail");