Merge branch 'vnext' of github.com:pazof/yavsc into vnext
This commit is contained in:
commit
c47e2b4621
6 changed files with 20 additions and 15 deletions
|
|
@ -137,7 +137,7 @@ namespace BookAStar.Data
|
|||
{
|
||||
// TODO throw custom exception, and catch to inform user
|
||||
var errcontent = await response.Content.ReadAsStringAsync();
|
||||
Debug.WriteLine($"Create failed posting {stringContent} @ {controllerUri.AbsoluteUri}");
|
||||
Debug.WriteLine($"Create failed posting {stringContent} @ {controllerUri.AbsoluteUri}: {errcontent}");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ namespace BookAStar.Model.Interfaces
|
|||
{
|
||||
public interface IEstimate
|
||||
{
|
||||
IList<string> AttachedFiles { get; set; }
|
||||
IList<string> AttachedGraphics { get; }
|
||||
IList<BillingLine> Bill { get; set; }
|
||||
List<string> AttachedFiles { get; set; }
|
||||
List<string> AttachedGraphics { get; }
|
||||
List<BillingLine> Bill { get; set; }
|
||||
string ClientId { get; set; }
|
||||
long? CommandId { get; set; }
|
||||
string CommandType { get; set; }
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace BookAStar.Model.Workflow
|
|||
// Markdown expected
|
||||
public string Description { get; set; }
|
||||
public string Title { get; set; }
|
||||
public IList<BillingLine> Bill { get; set; }
|
||||
public List<BillingLine> Bill { get; set; }
|
||||
/// <summary>
|
||||
/// List of attached graphic files
|
||||
/// to this estimate, as relative pathes to
|
||||
|
|
@ -23,7 +23,7 @@ namespace BookAStar.Model.Workflow
|
|||
/// In db, they are separated by <c>:</c>
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public IList<string> AttachedGraphics { get; set; }
|
||||
public List<string> AttachedGraphics { get; set; }
|
||||
[JsonIgnore]
|
||||
public string AttachedGraphicsString
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ namespace BookAStar.Model.Workflow
|
|||
/// In db, they are separated by <c>:</c>
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public IList<string> AttachedFiles { get; set; }
|
||||
public List<string> AttachedFiles { get; set; }
|
||||
[JsonIgnore]
|
||||
public string AttachedFilesString
|
||||
{
|
||||
|
|
|
|||
|
|
@ -93,12 +93,14 @@
|
|||
Path=IsValid,
|
||||
Converter={StaticResource boolToStyleImage}}" />
|
||||
</StackLayout>
|
||||
<Button Text="Términé"
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<Button Text="Supprimer"
|
||||
Command="{Binding DeleteCommand}"
|
||||
Clicked="OnValidateClicked"></Button>
|
||||
Clicked="OnDeleteClicked"></Button>
|
||||
<Button Text="Términé"
|
||||
Command="{Binding ValidateCommand}"
|
||||
Clicked="OnValidateClicked"></Button>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</ContentPage>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ namespace BookAStar.Pages
|
|||
picker.Items.Add(du);
|
||||
BindingContext = model;
|
||||
}
|
||||
|
||||
public void OnDeleteClicked(object sender, EventArgs e)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public void OnValidateClicked (object sender, EventArgs e)
|
||||
{
|
||||
this.Navigation.PopAsync();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ namespace BookAStar.ViewModels
|
|||
|
||||
private void Bill_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
Data.Bill = Bill;
|
||||
Data.Bill = new List<BillingLine>( Bill );
|
||||
NotifyPropertyChanged("FormattedTotal");
|
||||
}
|
||||
private Estimate data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue