<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/15/2025 14:06:19" ReportInfo.Modified="01/15/2025 15:56:51" ReportInfo.CreatorVersion="2024.2.15.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {
    private void Table1_ManualBuild(object sender, EventArgs e)
    {
      // get the data source by its name
      DataSourceBase rowData = Report.GetDataSource(&quot;Reporte&quot;);
      // init the data source
      rowData.Init();
      
      // print the first table row - it is a header
      Table1.PrintRow(0);
      // each PrintRow call must be followed by either PrintColumn or PrintColumns call
      // to print cells on the row
      Table1.PrintColumns();
      
      // now enumerate the data source and print the table body
      while (rowData.HasMoreRows)
      {
        // print the table body  
        Table1.PrintRow(1);
        Table1.PrintColumns();
        
        // go next data source row
        rowData.Next();
      }
      
      // print the last table row - it is a footer
      Table1.PrintRow(2);
      Table1.PrintColumns();
    }
    
    
    
  }
}
</ScriptText>
  <Dictionary>
    <TableDataSource Name="Reporte" ReferenceName="Data.Reporte" DataType="System.Int32" Enabled="true">
      <Column Name="N° Orden" DataType="System.String"/>
      <Column Name="Descripcion" DataType="System.String"/>
      <Column Name="Destino" DataType="System.String"/>
      <Column Name="Monto" DataType="System.Decimal"/>
      <Column Name="Fecha" DataType="System.DateTime"/>
    </TableDataSource>
    <Parameter Name="FechaInicio" DataType="System.DateTime" AsString="1/1/0001 12:00:00 a. m."/>
    <Parameter Name="FechaFin" DataType="System.DateTime" AsString="1/1/0001 12:00:00 a. m."/>
    <Parameter Name="Sede" DataType="System.String" AsString="&lt;Seleccione&gt;"/>
  </Dictionary>
  <ReportPage Name="Page1" PaperWidth="215.9" PaperHeight="279.4" RawPaperSize="1" Watermark.Font="Arial, 60pt">
    <PageHeaderBand Name="PageHeader1" Width="740.5" Height="85.05" Border.Lines="All">
      <TextObject Name="Text1" Width="699.3" Height="28.35" Text="Balance General - [Sede]" Font="Tahoma, 20pt"/>
      <TextObject Name="Text2" Top="47.25" Width="103.95" Height="28.35" Text="Desde: [FechaInicio]" Format="Date" Format.Format="dd/MM/yy" Font="Tahoma, 20pt"/>
      <TextObject Name="Text3" Left="85.05" Top="47.25" Width="189" Height="28.35" Text="[FechaInicio]" Format="Date" Format.Format="dd/MM/yy" Font="Tahoma, 20pt"/>
      <TextObject Name="Text4" Left="245.7" Top="47.25" Width="94.5" Height="28.35" Text="Hasta:" Format="Date" Format.Format="dd/MM/yy" Font="Tahoma, 20pt"/>
      <TextObject Name="Text5" Left="330.75" Top="47.25" Width="189" Height="28.35" Text="[FechaFin]" Format="Date" Format.Format="dd/MM/yy" Font="Tahoma, 20pt"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="87.72" Width="740.5" Height="85.05">
      <TableObject Name="Table1" Top="9.83" Width="740.14" Height="56.7" ManualBuildEvent="Table1_ManualBuild">
        <TableColumn Name="Column1" Width="114.15"/>
        <TableColumn Name="Column2" Width="114.15"/>
        <TableColumn Name="Column3" Width="218.1"/>
        <TableColumn Name="Column4" Width="145.65"/>
        <TableColumn Name="Column5" Width="148.09"/>
        <TableRow Name="Row1">
          <TableCell Name="Cell1" Border.Lines="All" Border.Color="LightGray" Fill.Color="LightSkyBlue" Text="N° Orden" Padding="5, 0, 0, 0" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell2" Border.Lines="All" Border.Color="LightGray" Fill.Color="LightSkyBlue" Text="Descripción&#13;&#10;" Padding="0, 0, 5, 0" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell3" Border.Lines="All" Border.Color="LightGray" Fill.Color="LightSkyBlue" Text="Destino&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell17" Border.Lines="All" Border.Color="LightGray" Fill.Color="LightSkyBlue" Text="Monto" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell22" Border.Lines="All" Border.Color="LightGray" Fill.Color="LightSkyBlue" Text="Fecha" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
        </TableRow>
        <TableRow Name="Row2">
          <TableCell Name="Cell6" Border.Lines="All" Border.Color="LightGray" Text="[Reporte.N° Orden]" Padding="5, 0, 0, 0" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell7" Border.Lines="All" Border.Color="LightGray" Text="[Reporte.Descripcion]" Padding="0, 0, 5, 0" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell8" Border.Lines="All" Border.Color="LightGray" Text="[Reporte.Destino]" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell15" Border.Lines="All" Border.Color="LightGray" Text="[Reporte.Monto]" HorzAlign="Right" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell20" Border.Lines="All" Border.Color="LightGray" Text="[Reporte.Fecha]" Format="Date" Format.Format="dd/MM/yyyy" HorzAlign="Right" Font="Tahoma, 8pt"/>
        </TableRow>
        <TableRow Name="Row3">
          <TableCell Name="Cell11" Border.Lines="All" Border.Color="LightGray" Fill.Color="SteelBlue" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell12" Border.Lines="All" Border.Color="LightGray" Fill.Color="SteelBlue" Padding="0, 0, 5, 0" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell13" Border.Lines="All" Border.Color="LightGray" Fill.Color="SteelBlue" Text="Total:" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell18" Border.Lines="All" Border.Color="LightGray" Fill.Color="SteelBlue" Text="[Sum(Cell15)]" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell23" Border.Lines="All" Border.Color="LightGray" Fill.Color="SteelBlue" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        </TableRow>
      </TableObject>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="175.43" Width="740.5" Height="28.35">
      <TextObject Name="Text6" Left="170.1" Width="434.7" Height="28.35" Text="Generado por el Sistema Admistrador de Divisas " Font="Arial, 14pt" TextFill.Color="Gainsboro"/>
    </PageFooterBand>
  </ReportPage>
</Report>
