| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?xml version="1.0" encoding="UTF-8"?>
- <timesheets:BasePage
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
- xmlns:timesheets="clr-namespace:comal.timesheets"
- material:MaterialNavigationPage.AppBarTitleTextFontSize="16.0"
-
- x:Class="comal.timesheets.NewPurchase"
- >
- <timesheets:BasePage.PageContent>
- <Grid Padding="10">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <material:MaterialLabel Grid.Row="0" TypeScale="Body2" Text="Job"/>
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="60"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="50"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <material:MaterialLabel TypeScale="Body2" Grid.Column="0" BackgroundColor="LightYellow" Text="{Binding JobLink.JobNumber}" VerticalTextAlignment="Center"/>
- <material:MaterialLabel TypeScale="Body2" Padding="2,0,0,0" Grid.Column="1" BackgroundColor="LightYellow" Text="{Binding JobLink.Name}" VerticalTextAlignment="Center"/>
- <material:MaterialButton x:Name="SelectJob" Margin="-5" Padding="0" Grid.Column="2" Text=".." Clicked="SelectJob_Clicked" />
- </Grid>
- <material:MaterialLabel Grid.Row="2" Margin="0,10,0,0" TypeScale="Body2" Text="Title"/>
- <Entry x:Name="PurchTitle" Grid.Row="3" Text="{Binding Title}" TextChanged="Title_TextChanged" BackgroundColor="LightYellow" />
- <material:MaterialLabel Grid.Row="4" Margin="0,10,0,0" TypeScale="Body2" Text="Items Required"/>
- <Editor x:Name="Notes" Grid.Row="5" Grid.Column="0" BackgroundColor="LightYellow" Keyboard="Default" TextChanged="Notes_TextChanged"/>
-
- <material:MaterialButton x:Name="SavePurch" Margin="0,10,0,0" Grid.Row="8" Text="Save Requisition" Clicked="SavePurch_Clicked" IsEnabled="False" />
- </Grid>
- </timesheets:BasePage.PageContent>
- </timesheets:BasePage>
|