estadisticas terminadas con detalle del mejor vendedor

This commit is contained in:
Carlos Sandoval
2024-06-30 03:09:38 -06:00
parent d81f706053
commit 8e6571fbc9
15 changed files with 469 additions and 311 deletions
+118 -72
View File
@@ -48,16 +48,19 @@
this.totalNetoMes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lbProductDia = new System.Windows.Forms.Label();
this.lbVendedorDia = new System.Windows.Forms.Label();
this.lbTotalDia = new System.Windows.Forms.Label();
this.lbTotalMes = new System.Windows.Forms.Label();
this.lbUtilidadDia = new System.Windows.Forms.Label();
this.lbUtilidadMes = new System.Windows.Forms.Label();
this.lbVendedorMes = new System.Windows.Forms.Label();
this.lbProductoMes = new System.Windows.Forms.Label();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.lbDiaSEnvio = new System.Windows.Forms.Label();
this.lbMesSEnvio = new System.Windows.Forms.Label();
this.lbTotalDiaNeto = new System.Windows.Forms.Label();
this.lbGananciasBrutasDia = new System.Windows.Forms.Label();
this.lbGananciasBrutasMes = new System.Windows.Forms.Label();
this.lbTotalImporteDia = new System.Windows.Forms.Label();
this.btnVentasDia = new System.Windows.Forms.Button();
this.btnVentasMes = new System.Windows.Forms.Button();
this.lbEnviosDia = new System.Windows.Forms.Label();
this.lbTotalImporteMes = new System.Windows.Forms.Label();
this.lbEnvioMes = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dgvDia)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvMes)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
@@ -160,7 +163,7 @@
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(27, 387);
this.label2.Location = new System.Drawing.Point(33, 482);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(121, 17);
this.label2.TabIndex = 4;
@@ -176,7 +179,7 @@
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4,
this.totalNetoMes});
this.dgvMes.Location = new System.Drawing.Point(24, 406);
this.dgvMes.Location = new System.Drawing.Point(30, 501);
this.dgvMes.Name = "dgvMes";
this.dgvMes.RowHeadersWidth = 51;
this.dgvMes.Size = new System.Drawing.Size(599, 150);
@@ -251,29 +254,30 @@
this.lbVendedorDia.Text = "Mejor vendedos:";
this.lbVendedorDia.Click += new System.EventHandler(this.lbVendedorDia_Click);
//
// lbTotalDia
// lbUtilidadDia
//
this.lbTotalDia.AutoSize = true;
this.lbTotalDia.BackColor = System.Drawing.Color.Transparent;
this.lbTotalDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalDia.ForeColor = System.Drawing.Color.Transparent;
this.lbTotalDia.Location = new System.Drawing.Point(333, 356);
this.lbTotalDia.Name = "lbTotalDia";
this.lbTotalDia.Size = new System.Drawing.Size(90, 17);
this.lbTotalDia.TabIndex = 8;
this.lbTotalDia.Text = "Total del dia:";
this.lbUtilidadDia.AutoSize = true;
this.lbUtilidadDia.BackColor = System.Drawing.Color.Transparent;
this.lbUtilidadDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbUtilidadDia.ForeColor = System.Drawing.Color.Transparent;
this.lbUtilidadDia.Location = new System.Drawing.Point(419, 355);
this.lbUtilidadDia.Name = "lbUtilidadDia";
this.lbUtilidadDia.Size = new System.Drawing.Size(105, 17);
this.lbUtilidadDia.TabIndex = 8;
this.lbUtilidadDia.Text = "Utilidad del dia:";
this.lbUtilidadDia.Click += new System.EventHandler(this.lbTotalDia_Click);
//
// lbTotalMes
// lbUtilidadMes
//
this.lbTotalMes.AutoSize = true;
this.lbTotalMes.BackColor = System.Drawing.Color.Transparent;
this.lbTotalMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalMes.ForeColor = System.Drawing.Color.Transparent;
this.lbTotalMes.Location = new System.Drawing.Point(333, 575);
this.lbTotalMes.Name = "lbTotalMes";
this.lbTotalMes.Size = new System.Drawing.Size(97, 17);
this.lbTotalMes.TabIndex = 9;
this.lbTotalMes.Text = "Total del Mes:";
this.lbUtilidadMes.AutoSize = true;
this.lbUtilidadMes.BackColor = System.Drawing.Color.Transparent;
this.lbUtilidadMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbUtilidadMes.ForeColor = System.Drawing.Color.Transparent;
this.lbUtilidadMes.Location = new System.Drawing.Point(419, 664);
this.lbUtilidadMes.Name = "lbUtilidadMes";
this.lbUtilidadMes.Size = new System.Drawing.Size(112, 17);
this.lbUtilidadMes.TabIndex = 9;
this.lbUtilidadMes.Text = "Utilidad del mes:";
//
// lbVendedorMes
//
@@ -281,7 +285,7 @@
this.lbVendedorMes.BackColor = System.Drawing.Color.Transparent;
this.lbVendedorMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbVendedorMes.ForeColor = System.Drawing.Color.Transparent;
this.lbVendedorMes.Location = new System.Drawing.Point(659, 457);
this.lbVendedorMes.Location = new System.Drawing.Point(665, 552);
this.lbVendedorMes.Name = "lbVendedorMes";
this.lbVendedorMes.Size = new System.Drawing.Size(111, 17);
this.lbVendedorMes.TabIndex = 11;
@@ -294,7 +298,7 @@
this.lbProductoMes.BackColor = System.Drawing.Color.Transparent;
this.lbProductoMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbProductoMes.ForeColor = System.Drawing.Color.Transparent;
this.lbProductoMes.Location = new System.Drawing.Point(657, 387);
this.lbProductoMes.Location = new System.Drawing.Point(663, 482);
this.lbProductoMes.Name = "lbProductoMes";
this.lbProductoMes.Size = new System.Drawing.Size(153, 17);
this.lbProductoMes.TabIndex = 10;
@@ -306,7 +310,7 @@
this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1;
this.pictureBox2.Location = new System.Drawing.Point(785, 560);
this.pictureBox2.Location = new System.Drawing.Point(911, 680);
this.pictureBox2.Margin = new System.Windows.Forms.Padding(2);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(75, 56);
@@ -314,45 +318,45 @@
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// lbDiaSEnvio
// lbGananciasBrutasDia
//
this.lbDiaSEnvio.AutoSize = true;
this.lbDiaSEnvio.BackColor = System.Drawing.Color.Transparent;
this.lbDiaSEnvio.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbDiaSEnvio.ForeColor = System.Drawing.Color.Transparent;
this.lbDiaSEnvio.Location = new System.Drawing.Point(266, 373);
this.lbDiaSEnvio.Name = "lbDiaSEnvio";
this.lbDiaSEnvio.Size = new System.Drawing.Size(157, 17);
this.lbDiaSEnvio.TabIndex = 29;
this.lbDiaSEnvio.Text = "Total del dia sin envios:";
this.lbGananciasBrutasDia.AutoSize = true;
this.lbGananciasBrutasDia.BackColor = System.Drawing.Color.Transparent;
this.lbGananciasBrutasDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbGananciasBrutasDia.ForeColor = System.Drawing.Color.Transparent;
this.lbGananciasBrutasDia.Location = new System.Drawing.Point(358, 398);
this.lbGananciasBrutasDia.Name = "lbGananciasBrutasDia";
this.lbGananciasBrutasDia.Size = new System.Drawing.Size(166, 17);
this.lbGananciasBrutasDia.TabIndex = 29;
this.lbGananciasBrutasDia.Text = "Ganancias brutas del dia";
//
// lbMesSEnvio
// lbGananciasBrutasMes
//
this.lbMesSEnvio.AutoSize = true;
this.lbMesSEnvio.BackColor = System.Drawing.Color.Transparent;
this.lbMesSEnvio.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbMesSEnvio.ForeColor = System.Drawing.Color.Transparent;
this.lbMesSEnvio.Location = new System.Drawing.Point(266, 601);
this.lbMesSEnvio.Name = "lbMesSEnvio";
this.lbMesSEnvio.Size = new System.Drawing.Size(164, 17);
this.lbMesSEnvio.TabIndex = 30;
this.lbMesSEnvio.Text = "Total del mes sin envios:";
this.lbGananciasBrutasMes.AutoSize = true;
this.lbGananciasBrutasMes.BackColor = System.Drawing.Color.Transparent;
this.lbGananciasBrutasMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbGananciasBrutasMes.ForeColor = System.Drawing.Color.Transparent;
this.lbGananciasBrutasMes.Location = new System.Drawing.Point(352, 719);
this.lbGananciasBrutasMes.Name = "lbGananciasBrutasMes";
this.lbGananciasBrutasMes.Size = new System.Drawing.Size(171, 17);
this.lbGananciasBrutasMes.TabIndex = 30;
this.lbGananciasBrutasMes.Text = "Ganancias Brutas del dia:";
//
// lbTotalDiaNeto
// lbTotalImporteDia
//
this.lbTotalDiaNeto.AutoSize = true;
this.lbTotalDiaNeto.BackColor = System.Drawing.Color.Transparent;
this.lbTotalDiaNeto.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalDiaNeto.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbTotalDiaNeto.Location = new System.Drawing.Point(70, 356);
this.lbTotalDiaNeto.Name = "lbTotalDiaNeto";
this.lbTotalDiaNeto.Size = new System.Drawing.Size(114, 16);
this.lbTotalDiaNeto.TabIndex = 31;
this.lbTotalDiaNeto.Text = "Total neto del dia:";
this.lbTotalImporteDia.AutoSize = true;
this.lbTotalImporteDia.BackColor = System.Drawing.Color.Transparent;
this.lbTotalImporteDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalImporteDia.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbTotalImporteDia.Location = new System.Drawing.Point(70, 356);
this.lbTotalImporteDia.Name = "lbTotalImporteDia";
this.lbTotalImporteDia.Size = new System.Drawing.Size(133, 16);
this.lbTotalImporteDia.TabIndex = 31;
this.lbTotalImporteDia.Text = "Total Importe del dia:";
//
// btnVentasDia
//
this.btnVentasDia.Location = new System.Drawing.Point(876, 232);
this.btnVentasDia.Location = new System.Drawing.Point(660, 313);
this.btnVentasDia.Name = "btnVentasDia";
this.btnVentasDia.Size = new System.Drawing.Size(110, 23);
this.btnVentasDia.TabIndex = 32;
@@ -362,7 +366,7 @@
//
// btnVentasMes
//
this.btnVentasMes.Location = new System.Drawing.Point(876, 421);
this.btnVentasMes.Location = new System.Drawing.Point(666, 611);
this.btnVentasMes.Name = "btnVentasMes";
this.btnVentasMes.Size = new System.Drawing.Size(110, 23);
this.btnVentasMes.TabIndex = 33;
@@ -370,6 +374,42 @@
this.btnVentasMes.UseVisualStyleBackColor = true;
this.btnVentasMes.Click += new System.EventHandler(this.btnVentasMes_Click);
//
// lbEnviosDia
//
this.lbEnviosDia.AutoSize = true;
this.lbEnviosDia.BackColor = System.Drawing.Color.Transparent;
this.lbEnviosDia.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbEnviosDia.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbEnviosDia.Location = new System.Drawing.Point(70, 399);
this.lbEnviosDia.Name = "lbEnviosDia";
this.lbEnviosDia.Size = new System.Drawing.Size(147, 16);
this.lbEnviosDia.TabIndex = 34;
this.lbEnviosDia.Text = "Total de envios del dia:";
//
// lbTotalImporteMes
//
this.lbTotalImporteMes.AutoSize = true;
this.lbTotalImporteMes.BackColor = System.Drawing.Color.Transparent;
this.lbTotalImporteMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbTotalImporteMes.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbTotalImporteMes.Location = new System.Drawing.Point(84, 665);
this.lbTotalImporteMes.Name = "lbTotalImporteMes";
this.lbTotalImporteMes.Size = new System.Drawing.Size(140, 16);
this.lbTotalImporteMes.TabIndex = 35;
this.lbTotalImporteMes.Text = "Total Importe del mes:";
//
// lbEnvioMes
//
this.lbEnvioMes.AutoSize = true;
this.lbEnvioMes.BackColor = System.Drawing.Color.Transparent;
this.lbEnvioMes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbEnvioMes.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbEnvioMes.Location = new System.Drawing.Point(70, 719);
this.lbEnvioMes.Name = "lbEnvioMes";
this.lbEnvioMes.Size = new System.Drawing.Size(154, 16);
this.lbEnvioMes.TabIndex = 36;
this.lbEnvioMes.Text = "Total de envios del mes:";
//
// Estadiscticas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -379,16 +419,19 @@
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(1038, 772);
this.ControlBox = false;
this.Controls.Add(this.lbEnvioMes);
this.Controls.Add(this.lbTotalImporteMes);
this.Controls.Add(this.lbEnviosDia);
this.Controls.Add(this.btnVentasMes);
this.Controls.Add(this.btnVentasDia);
this.Controls.Add(this.lbTotalDiaNeto);
this.Controls.Add(this.lbMesSEnvio);
this.Controls.Add(this.lbDiaSEnvio);
this.Controls.Add(this.lbTotalImporteDia);
this.Controls.Add(this.lbGananciasBrutasMes);
this.Controls.Add(this.lbGananciasBrutasDia);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.lbVendedorMes);
this.Controls.Add(this.lbProductoMes);
this.Controls.Add(this.lbTotalMes);
this.Controls.Add(this.lbTotalDia);
this.Controls.Add(this.lbUtilidadMes);
this.Controls.Add(this.lbUtilidadDia);
this.Controls.Add(this.lbVendedorDia);
this.Controls.Add(this.lbProductDia);
this.Controls.Add(this.dgvMes);
@@ -419,13 +462,13 @@
private System.Windows.Forms.DataGridView dgvMes;
private System.Windows.Forms.Label lbProductDia;
private System.Windows.Forms.Label lbVendedorDia;
private System.Windows.Forms.Label lbTotalDia;
private System.Windows.Forms.Label lbTotalMes;
private System.Windows.Forms.Label lbUtilidadDia;
private System.Windows.Forms.Label lbUtilidadMes;
private System.Windows.Forms.Label lbVendedorMes;
private System.Windows.Forms.Label lbProductoMes;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.Label lbDiaSEnvio;
private System.Windows.Forms.Label lbMesSEnvio;
private System.Windows.Forms.Label lbGananciasBrutasDia;
private System.Windows.Forms.Label lbGananciasBrutasMes;
private System.Windows.Forms.DataGridViewTextBoxColumn Producto;
private System.Windows.Forms.DataGridViewTextBoxColumn Precio;
private System.Windows.Forms.DataGridViewTextBoxColumn precioCompra;
@@ -438,8 +481,11 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn totalNetoMes;
private System.Windows.Forms.Label lbTotalDiaNeto;
private System.Windows.Forms.Label lbTotalImporteDia;
private System.Windows.Forms.Button btnVentasDia;
private System.Windows.Forms.Button btnVentasMes;
private System.Windows.Forms.Label lbEnviosDia;
private System.Windows.Forms.Label lbTotalImporteMes;
private System.Windows.Forms.Label lbEnvioMes;
}
}