object frmCalidadTrazabilidadMaestra: TfrmCalidadTrazabilidadMaestra
  Caption = 'Hoja Maestra de Trazabilidad Total de Lote (RG-13)'
  ClientHeight = 620
  ClientWidth = 900
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  Position = poScreenCenter
  OnShow = FormShow
  TextHeight = 15
  object pnlTop: TPanel
    Left = 0
    Top = 0
    Width = 900
    Height = 60
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 0
    object lblLoteSearch: TLabel
      Left = 20
      Top = 20
      Width = 145
      Height = 15
      Caption = 'Lote Panettone / Producto:'
      Font.Style = [fsBold]
    end
    object edtLoteSearch: TEdit
      Tag = 999
      Left = 175
      Top = 16
      Width = 250
      Height = 23
      TabOrder = 0
    end
    object btnGenerar: TButton
      Left = 440
      Top = 15
      Width = 160
      Height = 25
      Caption = '🌳 Generar Árbol RG-13'
      TabOrder = 1
      OnClick = btnGenerarClick
    end
  end
  object pnlBottom: TPanel
    Left = 0
    Top = 570
    Width = 900
    Height = 50
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 1
    object btnImprimir: TButton
      Left = 740
      Top = 10
      Width = 140
      Height = 32
      Caption = '🖨 Imprimir RG-13'
      TabOrder = 0
      OnClick = btnImprimirClick
    end
  end
  object dbgTrazabilidad: TDBGrid
    Left = 0
    Top = 60
    Width = 900
    Height = 510
    Align = alClient
    DataSource = dsTraz
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -12
    TitleFont.Name = 'Segoe UI'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'fase_proceso'
        Title.Caption = 'Fase del Proceso'
        Width = 140
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'tipo_componente'
        Title.Caption = 'Tipo Componente'
        Width = 130
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'descripcion_componente'
        Title.Caption = 'Descripción / Ingrediente'
        Width = 250
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'lote_componente'
        Title.Caption = 'Lote de Origen'
        Width = 150
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'cantidad_usada'
        Title.Caption = 'Cantidad'
        Width = 90
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'unidad'
        Title.Caption = 'Unidad'
        Width = 60
        Visible = True
      end>
  end
  object dsTraz: TDataSource
    DataSet = dmgCalidad.qryTrazabilidad
    Left = 400
    Top = 250
  end
end
