Skip to content

Commit

Permalink
Merge pull request #11 from robsur/master
Browse files Browse the repository at this point in the history
Added ContractReference
  • Loading branch information
saarsoo committed Nov 23, 2015
2 parents a72a8ee + 5a2b736 commit dc3170a
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 dc3170a

Please sign in to comment.