|
@@ -186,9 +186,6 @@
|
|
|
this.xrLabel64 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel65 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel61 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
- this.xrSubreport1 = new DevExpress.XtraReports.UI.XRSubreport();
|
|
|
- this.ContractId = new DevExpress.XtraReports.Parameters.Parameter();
|
|
|
- this.xrLabel60 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel59 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel58 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel57 = new DevExpress.XtraReports.UI.XRLabel();
|
|
@@ -246,6 +243,16 @@
|
|
|
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
+ this.SubBand1 = new DevExpress.XtraReports.UI.SubBand();
|
|
|
+ this.xrLabel60 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
+ this.xrSubreport1 = new DevExpress.XtraReports.UI.XRSubreport();
|
|
|
+ this.ContractId = new DevExpress.XtraReports.Parameters.Parameter();
|
|
|
+ this.SubBand2 = new DevExpress.XtraReports.UI.SubBand();
|
|
|
+ this.xrLabel80 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
+ this.xrSubreport2 = new DevExpress.XtraReports.UI.XRSubreport();
|
|
|
+ this.SubBand3 = new DevExpress.XtraReports.UI.SubBand();
|
|
|
+ this.xrLabel81 = new DevExpress.XtraReports.UI.XRLabel();
|
|
|
+ this.xrSubreport3 = new DevExpress.XtraReports.UI.XRSubreport();
|
|
|
this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
|
|
|
this.xrControlStyle1 = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
|
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
|
@@ -307,8 +314,6 @@
|
|
|
this.xrLabel64,
|
|
|
this.xrLabel65,
|
|
|
this.xrLabel61,
|
|
|
- this.xrSubreport1,
|
|
|
- this.xrLabel60,
|
|
|
this.xrLabel59,
|
|
|
this.xrLabel58,
|
|
|
this.xrLabel57,
|
|
@@ -367,6 +372,10 @@
|
|
|
this.xrLabel2,
|
|
|
this.xrLabel1});
|
|
|
this.Detail.Name = "Detail";
|
|
|
+ this.Detail.SubBands.AddRange(new DevExpress.XtraReports.UI.SubBand[] {
|
|
|
+ this.SubBand1,
|
|
|
+ this.SubBand2,
|
|
|
+ this.SubBand3});
|
|
|
//
|
|
|
// xrLabel79
|
|
|
//
|
|
@@ -512,28 +521,6 @@
|
|
|
this.xrLabel61.StylePriority.UseBorders = false;
|
|
|
this.xrLabel61.StylePriority.UseFont = false;
|
|
|
//
|
|
|
- // xrSubreport1
|
|
|
- //
|
|
|
- this.xrSubreport1.Name = "xrSubreport1";
|
|
|
- this.xrSubreport1.ParameterBindings.Add(new DevExpress.XtraReports.UI.ParameterBinding("ContractId", this.ContractId));
|
|
|
- this.xrSubreport1.ReportSource = new MTWorkHR.Infrastructure.Reports.ContractAllowances();
|
|
|
- //
|
|
|
- // ContractId
|
|
|
- //
|
|
|
- this.ContractId.AllowNull = true;
|
|
|
- this.ContractId.Name = "ContractId";
|
|
|
- this.ContractId.Type = typeof(int);
|
|
|
- this.ContractId.ValueInfo = "1";
|
|
|
- //
|
|
|
- // xrLabel60
|
|
|
- //
|
|
|
- this.xrLabel60.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
|
- this.xrLabel60.Multiline = true;
|
|
|
- this.xrLabel60.Name = "xrLabel60";
|
|
|
- this.xrLabel60.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
|
|
- this.xrLabel60.StylePriority.UseBorders = false;
|
|
|
- this.xrLabel60.StylePriority.UseFont = false;
|
|
|
- //
|
|
|
// xrLabel59
|
|
|
//
|
|
|
this.xrLabel59.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
|
@@ -985,6 +972,85 @@
|
|
|
this.xrLabel1.Name = "xrLabel1";
|
|
|
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
|
|
//
|
|
|
+ // SubBand1
|
|
|
+ //
|
|
|
+ this.SubBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
|
|
+ this.xrLabel60,
|
|
|
+ this.xrSubreport1});
|
|
|
+ this.SubBand1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
|
|
+ new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Visible", "Iif(([ContractTypeId] == 1), true, false)\n")});
|
|
|
+ this.SubBand1.Name = "SubBand1";
|
|
|
+ //
|
|
|
+ // xrLabel60
|
|
|
+ //
|
|
|
+ this.xrLabel60.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
|
+ this.xrLabel60.Multiline = true;
|
|
|
+ this.xrLabel60.Name = "xrLabel60";
|
|
|
+ this.xrLabel60.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
|
|
+ this.xrLabel60.StylePriority.UseBorders = false;
|
|
|
+ this.xrLabel60.StylePriority.UseFont = false;
|
|
|
+ //
|
|
|
+ // xrSubreport1
|
|
|
+ //
|
|
|
+ this.xrSubreport1.Name = "xrSubreport1";
|
|
|
+ this.xrSubreport1.ParameterBindings.Add(new DevExpress.XtraReports.UI.ParameterBinding("ContractId", this.ContractId));
|
|
|
+ this.xrSubreport1.ReportSource = new MTWorkHR.Infrastructure.Reports.ContractAllowances();
|
|
|
+ //
|
|
|
+ // ContractId
|
|
|
+ //
|
|
|
+ this.ContractId.AllowNull = true;
|
|
|
+ this.ContractId.Name = "ContractId";
|
|
|
+ this.ContractId.Type = typeof(int);
|
|
|
+ this.ContractId.ValueInfo = "1";
|
|
|
+ //
|
|
|
+ // SubBand2
|
|
|
+ //
|
|
|
+ this.SubBand2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
|
|
+ this.xrLabel80,
|
|
|
+ this.xrSubreport2});
|
|
|
+ this.SubBand2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
|
|
+ new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Visible", "Iif(([ContractTypeId] == 4), true, false)\n")});
|
|
|
+ this.SubBand2.Name = "SubBand2";
|
|
|
+ //
|
|
|
+ // xrLabel80
|
|
|
+ //
|
|
|
+ this.xrLabel80.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
|
+ this.xrLabel80.Multiline = true;
|
|
|
+ this.xrLabel80.Name = "xrLabel80";
|
|
|
+ this.xrLabel80.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
|
|
+ this.xrLabel80.StylePriority.UseBorders = false;
|
|
|
+ this.xrLabel80.StylePriority.UseFont = false;
|
|
|
+ //
|
|
|
+ // xrSubreport2
|
|
|
+ //
|
|
|
+ this.xrSubreport2.Name = "xrSubreport2";
|
|
|
+ this.xrSubreport2.ParameterBindings.Add(new DevExpress.XtraReports.UI.ParameterBinding("ContractId", this.ContractId));
|
|
|
+ this.xrSubreport2.ReportSource = new MTWorkHR.Infrastructure.Reports.ContractTasks();
|
|
|
+ //
|
|
|
+ // SubBand3
|
|
|
+ //
|
|
|
+ this.SubBand3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
|
|
+ this.xrLabel81,
|
|
|
+ this.xrSubreport3});
|
|
|
+ this.SubBand3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
|
|
+ new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Visible", "Iif(([ContractTypeId] == 3), true, false)\n")});
|
|
|
+ this.SubBand3.Name = "SubBand3";
|
|
|
+ //
|
|
|
+ // xrLabel81
|
|
|
+ //
|
|
|
+ this.xrLabel81.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
|
+ this.xrLabel81.Multiline = true;
|
|
|
+ this.xrLabel81.Name = "xrLabel81";
|
|
|
+ this.xrLabel81.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
|
|
+ this.xrLabel81.StylePriority.UseBorders = false;
|
|
|
+ this.xrLabel81.StylePriority.UseFont = false;
|
|
|
+ //
|
|
|
+ // xrSubreport3
|
|
|
+ //
|
|
|
+ this.xrSubreport3.Name = "xrSubreport3";
|
|
|
+ this.xrSubreport3.ParameterBindings.Add(new DevExpress.XtraReports.UI.ParameterBinding("ContractId", this.ContractId));
|
|
|
+ this.xrSubreport3.ReportSource = new MTWorkHR.Infrastructure.Reports.ProjectStages();
|
|
|
+ //
|
|
|
// sqlDataSource1
|
|
|
//
|
|
|
this.sqlDataSource1.ConnectionName = "LocalConnectionString";
|
|
@@ -1330,12 +1396,16 @@
|
|
|
this.DataMember = "Contracts";
|
|
|
this.DataSource = this.sqlDataSource1;
|
|
|
this.LocalizationItems.AddRange(new DevExpress.XtraReports.Localization.LocalizationItem[] {
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.BottomMargin, "Default", "HeightF", 33.33333F),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.ContractId, "Default", "Description", "ContractId"),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 9.75F)),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this, "Default", "Margins", new DevExpress.Drawing.DXMargins(100F, 100F, 84.16666F, 100F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this, "Default", "Margins", new DevExpress.Drawing.DXMargins(100F, 100F, 73.83333F, 33.33333F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this, "en-US", "Margins", new DevExpress.Drawing.DXMargins(100F, 100F, 84.16666F, 100F)),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this.Detail, "Default", "HeightF", 759.1667F),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this.TopMargin, "Default", "HeightF", 84.16666F),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.Detail, "Default", "HeightF", 667.5F),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.SubBand1, "Default", "HeightF", 75.83334F),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.SubBand2, "Default", "HeightF", 88.33334F),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.SubBand3, "Default", "HeightF", 80F),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.TopMargin, "Default", "HeightF", 73.83333F),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel1, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(122.4999F, 33.83331F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel1, "Default", "SizeF", new System.Drawing.SizeF(201.6667F, 23F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel1, "Default", "Text", "xrLabel1"),
|
|
@@ -1573,7 +1643,7 @@
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel6, "Default", "Text", "xrLabel6"),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel6, "Default", "TextFormatString", "{0:d}"),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel60, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold)),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel60, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(22.49995F, 665.1667F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel60, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(22.50005F, 0F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel60, "Default", "SizeF", new System.Drawing.SizeF(600F, 23F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel60, "Default", "Text", "Allowances"),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel61, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold)),
|
|
@@ -1655,13 +1725,25 @@
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel8, "Default", "SizeF", new System.Drawing.SizeF(272.4999F, 47.16666F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel8, "en-US", "SizeF", new System.Drawing.SizeF(272.4999F, 47.16666F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel8, "Default", "Text", "Employee Contract"),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel80, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel80, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(22.49995F, 0F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel80, "Default", "SizeF", new System.Drawing.SizeF(600F, 23F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel80, "Default", "Text", "Tasks"),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel81, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel81, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(23.33333F, 0F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel81, "Default", "SizeF", new System.Drawing.SizeF(600F, 23F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel81, "Default", "Text", "Projects"),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel9, "Default", "Font", new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel9, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(21.66667F, 0F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel9, "Default", "SizeF", new System.Drawing.SizeF(600F, 23F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel9, "en-US", "SizeF", new System.Drawing.SizeF(618.3333F, 23F)),
|
|
|
new DevExpress.XtraReports.Localization.LocalizationItem(this.xrLabel9, "Default", "Text", "Company Information:"),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport1, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(23.33323F, 688.1667F)),
|
|
|
- new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport1, "Default", "SizeF", new System.Drawing.SizeF(599.1667F, 44.66663F))});
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport1, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(23.33333F, 23F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport1, "Default", "SizeF", new System.Drawing.SizeF(599.1667F, 44.66663F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport2, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(22.49995F, 23.00008F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport2, "Default", "SizeF", new System.Drawing.SizeF(600F, 58.66657F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport3, "Default", "LocationFloat", new DevExpress.Utils.PointFloat(23.33333F, 22.99988F)),
|
|
|
+ new DevExpress.XtraReports.Localization.LocalizationItem(this.xrSubreport3, "Default", "SizeF", new System.Drawing.SizeF(600F, 48.83344F))});
|
|
|
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
|
|
|
this.ContractId});
|
|
|
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
|
@@ -1759,5 +1841,12 @@
|
|
|
private DevExpress.XtraReports.UI.XRLabel xrLabel76;
|
|
|
private DevExpress.XtraReports.UI.XRLabel xrLabel79;
|
|
|
private DevExpress.XtraReports.UI.XRLabel xrLabel78;
|
|
|
+ private DevExpress.XtraReports.UI.XRSubreport xrSubreport2;
|
|
|
+ private DevExpress.XtraReports.UI.XRLabel xrLabel80;
|
|
|
+ private DevExpress.XtraReports.UI.XRLabel xrLabel81;
|
|
|
+ private DevExpress.XtraReports.UI.XRSubreport xrSubreport3;
|
|
|
+ private DevExpress.XtraReports.UI.SubBand SubBand1;
|
|
|
+ private DevExpress.XtraReports.UI.SubBand SubBand2;
|
|
|
+ private DevExpress.XtraReports.UI.SubBand SubBand3;
|
|
|
}
|
|
|
}
|