Skip to content

Commit

Permalink
Added ContractReference
Browse files Browse the repository at this point in the history
  • Loading branch information
robsur committed Nov 23, 2015
1 parent a70caba commit 5a2b736
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions FortnoxAPILibrary/Entities/Invoice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public partial class Invoice

private string commentsField;

private string contractreferenceField;

private string contributionPercentField;

private string contributionValueField;
Expand Down Expand Up @@ -321,6 +323,16 @@ public string Comments
}
}

/// <remarks/>
public string ContractReference {
get {
return this.contractreferenceField;
}
set {
this.contractreferenceField = value;
}
}

/// <summary>This field is Read-Only in Fortnox</summary>
[ReadOnly(true)]
public string ContributionPercent
Expand Down
3 changes: 2 additions & 1 deletion FortnoxAPILibrary/EntityConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ internal C BaseFind(Dictionary<string, string> parameters = null)

if (this.LastModified != DateTime.MinValue)
{
this.Parameters.Add("lastmodified", this.LastModified.ToString());

this.Parameters.Add("lastmodified", this.LastModified.ToString("yyyy-MM-dd HH:mm:ss"));
}

if (this.SortByRealValue != null)
Expand Down

0 comments on commit 5a2b736

Please sign in to comment.