117 lines
9.0 KiB
XML
117 lines
9.0 KiB
XML
<tsWPF:tsUserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" xmlns:tsWPF="clr-namespace:tsWPFCore;assembly=tsWPFCore" xmlns:bdGrupoSanchoToro="clr-namespace:bdGrupoSanchoToro;assembly=bdGrupoSanchoToro" xmlns:Serialization="clr-namespace:DevExpress.Xpf.LayoutControl.Serialization;assembly=DevExpress.Xpf.LayoutControl.v23.2" x:Class="ucExtractoBancario"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="768" d:DesignWidth="1366">
|
|
<tsWPF:tsUserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</tsWPF:tsUserControl.Resources>
|
|
<Grid Name="contenido" HorizontalAlignment="Stretch" Width="Auto">
|
|
<dxlc:LayoutControl Name="LayoutControl1" Orientation="Vertical">
|
|
<dxlc:LayoutGroup Header="Datos del Extracto" x:Name="lgDatos" View="GroupBox" IsLocked="True" Orientation="Horizontal" Width="Auto" HorizontalAlignment="Stretch">
|
|
<tsWPF:tsLayoutItem Label="Nº Extracto:" Width="200">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
|
|
<dxe:TextEdit TabIndex="1" EditValue="{Binding idExtracto, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" />
|
|
</tsWPF:tsLayoutItem>
|
|
<dxlc:LayoutGroup Orientation="Vertical" Width="340">
|
|
<tsWPF:tsLayoutItem Label="Caja:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit TabIndex="2" EditValue="{Binding idCajaNavigation.Descripcion, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Usuario:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit TabIndex="3" EditValue="{Binding usuarios.Nombre, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" />
|
|
</tsWPF:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<dxlc:LayoutGroup Orientation="Vertical" Width="250">
|
|
<tsWPF:tsLayoutItem Label="Fecha Inicial:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:DateEdit EditValue="{Binding FechaInicial, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" AllowNullInput="False" TabIndex="4" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Saldo Anterior:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit EditValue="{Binding SaldoAnterior, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" Mask="C2" MaskType="Numeric" MaskUseAsDisplayFormat="True" TabIndex="5" />
|
|
</tsWPF:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<dxlc:LayoutGroup Orientation="Vertical" Width="250">
|
|
<tsWPF:tsLayoutItem Label="Fecha Final:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:DateEdit EditValue="{Binding FechaFinal, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" AllowNullInput="False" TabIndex="6" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Saldo Final:">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit EditValue="{Binding SaldoFinal, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" Mask="C2" MaskType="Numeric" MaskUseAsDisplayFormat="True" TabIndex="7" />
|
|
</tsWPF:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<tsWPF:tsLayoutItem Label="Fecha Lectura:" Width="250">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" UsualCorreccion="False" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:DateEdit EditValue="{Binding FechaLectura, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" AllowNullInput="False" TabIndex="8" />
|
|
</tsWPF:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<dx:DXTabControl>
|
|
<dx:DXTabItem Header="Movimientos">
|
|
<tsWPF:tsGridControl x:Name="gcMovimientos" TabIndex="9">
|
|
<tsWPF:tsGridControl.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Modificable="NoModificable" />
|
|
</tsWPF:tsGridControl.PropiedadesTS>
|
|
<tsWPF:tsGridControl.View>
|
|
<tsWPF:tsTableView ShowGroupPanel="true" ShowSearchPanelMode="Always" ShowTotalSummary="True" ShowGroupFooters="True" />
|
|
</tsWPF:tsGridControl.View>
|
|
<dxg:GridColumn FieldName="Importe" IsSmart="True" Width="130" HorizontalHeaderContentAlignment="Right">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:TextEditSettings MaskType="Numeric" Mask="c2" MaskUseAsDisplayFormat="True" HorizontalContentAlignment="Right" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="ReferenciaBanco" Width="120" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="Detalle" Width="400" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="FechaOperacion" Width="110" IsSmart="True">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:DateEditSettings DisplayFormat="d" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="FechaValor" Width="90" IsSmart="True">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:DateEditSettings DisplayFormat="d" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="CodigoConcepto" Width="120" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="ConceptoPropio" Width="120" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="NumeroDocumento" Header="Nº Documento" Width="150" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="idConciliación" Header="Nº Conciliación" Width="250" IsSmart="True" CellTemplate="{DynamicResource VerDetalleTemplate}" />
|
|
<tsWPF:tsGridControl.GroupSummary>
|
|
<dxg:GridSummaryItem FieldName="Importe" SummaryType="Sum" ShowInGroupColumnFooter="Importe" DisplayFormat=" {0:c2}" />
|
|
</tsWPF:tsGridControl.GroupSummary>
|
|
<tsWPF:tsGridControl.TotalSummary>
|
|
<dxg:GridSummaryItem FieldName="Importe" SummaryType="Sum" ShowInColumn="Importe" DisplayFormat=" {0:c2}" />
|
|
</tsWPF:tsGridControl.TotalSummary>
|
|
</tsWPF:tsGridControl>
|
|
</dx:DXTabItem>
|
|
</dx:DXTabControl>
|
|
</dxlc:LayoutControl>
|
|
</Grid>
|
|
</tsWPF:tsUserControl> |