| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?xml version="1.0" encoding="utf-8" ?>
- <timesheets:BasePage xmlns:timesheets="clr-namespace:comal.timesheets" xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="comal.timesheets.ConsignmentDetailsPopup"
- xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
- material:MaterialNavigationPage.AppBarColor="#a2006d"
- Title="Confirm PO Item Details">
- <timesheets:BasePage.PageContent>
- <ScrollView HorizontalOptions="Center">
- <StackLayout>
- <Frame BorderColor="#9f4576" CornerRadius="10" Margin="3">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <Frame Grid.Row="0" BorderColor="#9f4576" CornerRadius="10">
- <Label x:Name="titleLbl" HorizontalOptions="Center" FontSize="Medium" FontAttributes="Bold"/>
- </Frame>
- <Frame Grid.Row="1" BorderColor="#9f4576" CornerRadius="10">
- <StackLayout>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="2*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0"
- Text="Choose Location:" HorizontalOptions="Center" FontSize="Medium" FontAttributes="Bold" VerticalOptions="Center"/>
- <Button Grid.Column="1"
- x:Name="locationBtn" Text="Add" Clicked="AddLocation_Clicked" HorizontalOptions="FillAndExpand"
- Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
- </Grid>
- <Grid HorizontalOptions="Center">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- </Grid.ColumnDefinitions>
- <CheckBox Grid.Column="0" CheckedChanged="SetDefaultLocationCb_CheckChanged" VerticalOptions="Center"
- x:Name="setDefaultCb"/>
- <Label Grid.Column="1" VerticalOptions="Center"
- Text="Set as Default Location from now on"/>
- </Grid>
- <StackLayout x:Name="locationStackLayout">
-
- </StackLayout>
- </StackLayout>
- </Frame>
- <Frame Grid.Row="2" BorderColor="#9f4576" CornerRadius="10">
- <StackLayout>
- <Label Text="Qty: " HorizontalOptions="FillAndExpand" HorizontalTextAlignment="Center" FontSize="Medium" FontAttributes="Bold"/>
- <Entry x:Name="qtyEnt" HorizontalOptions="FillAndExpand" TextChanged="Qty_Changed" HorizontalTextAlignment="Center"/>
- </StackLayout>
- </Frame>
- <Frame Grid.Row="3" BorderColor="Transparent">
- <Button Text="Accept" HorizontalOptions="FillAndExpand" Clicked="AcceptBtn_Clicked"
- Padding="3" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
- </Frame>
- </Grid>
- </Frame>
- </StackLayout>
- </ScrollView>
- </timesheets:BasePage.PageContent>
- </timesheets:BasePage>
|