Files
point_of_sale/PointOfSale/Pos.Ui/Pos/PrintReceiptWindow.xaml
Bjarne Pedersen 41e23b6184 Initial commit
Initial commit til Git.
V2 er deployed
2026-06-13 17:31:50 +02:00

35 lines
1.8 KiB
XML

<Window x:Class="Pos.PrintReceiptWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Pos"
mc:Ignorable="d"
Title="Print bon" Height="600" Width="500" Icon="Icons/receipt.png">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1.6*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="6*"/>
</Grid.RowDefinitions>
<WrapPanel Grid.Row="0" Grid.ColumnSpan="2">
<DatePicker Name="StartDatePicker" FirstDayOfWeek="Monday" IsTodayHighlighted="True"/>
<DatePicker Name="EndDatePicker" FirstDayOfWeek="Monday" IsTodayHighlighted="True"/>
<Button Name="Search" Content="Vis bon" Style="{StaticResource SmallButtons}" Click="Search_OnClick"/>
</WrapPanel>
<WrapPanel Grid.Row="1" Grid.Column="0">
<ListBox Name="ListReciept" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch"
SelectionChanged="ListReciept_OnSelectionChanged"
IsSynchronizedWithCurrentItem="true">
</ListBox>
</WrapPanel>
<WrapPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical">
<TextBox IsReadOnly="True" Name="SaleLines" BorderThickness="0" />
<Button Name="PrintReceipt" Content="Print bon" Visibility="Hidden" Click="PrintReceipt_OnClick" Style="{StaticResource SmallButtons}"/>
</WrapPanel>
</Grid>
</Window>