private void ConfigureLossesSalesGrid(DataTable data)
        {
            if (data.Rows.Count.Equals(0))
            {
                LossesDataGridView.Height     = 50;
                LossesChart.Visible           = false;
                LossesDataGridView.DataSource = null;
                LossesLabel.Text = string.Empty;
                return;
            }
            LossesLabel.Location = new Point(675,
                                             ResumeLossesDataGridView.Height + ResumeLossesDataGridView.Location.Y + 25);
            LossesDataGridView.Location   = new Point(675, LossesLabel.Location.Y + 25);
            LossesLabel.Text              = "Detalle de mermas registradas.";
            LossesDataGridView.DataSource = data;
            DataGridViewConfigurator configurator = DataGridViewConfigurator.CreateConfigurator(LossesDataGridView);
            IList <string>           columns      = new List <string> {
                "id_rol"
            };

            configurator.HideColumns(columns);
            configurator.ChangeHeader("fecha_orden", "Fecha");
            configurator.ChangeHeader("producto", "Producto");
            configurator.NumericIntegerColumn("cantidad_merma", "Cantidad");
            configurator.CurrencyColumn("precio_kg", "Precio (KG)");
            configurator.CurrencyColumn("precio_productos", "Total");
            configurator.ChangeHeader("productor", "Productor");
            configurator.AdjustHeight();
            LossesChart.Location = new Point(675,
                                             LossesDataGridView.Height + LossesDataGridView.Location.Y + 25);
            LossesChart.DataSource                 = data;
            LossesChart.Series[0].XValueMember     = "producto";
            LossesChart.Series[0].YValueMembers    = "cantidad_merma";
            LossesChart.Series[0]["PieLabelStyle"] = "Disabled";
            LossesChart.Titles.Clear();
            LossesChart.Titles.Add("Distribución de mermas por producto vs cantidad");
            LossesChart.Visible = true;
        }