Skip to content

Commit

Permalink
Fixed fields according to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
LasseRafn committed Dec 21, 2017
1 parent 9700800 commit 6f66a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Requests/CreditnoteRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CreditnoteRequestBuilder extends RequestBuilder
{
public function __construct(Builder $builder)
{
$this->parameters['fields'] = 'TimeStamp,Number,Guid,ContactName,Date,PaymentDate,DeletedAt,UpdatedAt,CreatedAt,Description,TotalInclVatInDkk,TotalInclVat,TotalExclVat,TotalExclVatInDkk,Currency,Status,Type,MailOutStatus';
$this->parameters['fields'] = 'Number,Guid,ContactName,Date,PaymentDate,Description,Currency,Status,MailOutStatus,TotalExclVatInDkk,TotalInclVatInDkk,TotalExclVat,TotalInclVat,CreatedAt,UpdatedAt,DeletedAt';

parent::__construct($builder);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Requests/InvoiceRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class InvoiceRequestBuilder extends RequestBuilder
{
public function __construct( Builder $builder ) {
$this->parameters['fields'] = 'TimeStamp,CreatedAt,UpdatedAt,DeletedAt,Guid,Date,Status,TotalInclVat,Description,ContactName,Number,Currency,PaymentDate,Type,TotalExclVat,TotalInclVatInDkk,TotalExclVatInDkk,MailOutStatus';
$this->parameters['fields'] = 'Number,Guid,ContactName,Date,PaymentDate,Description,Currency,Status,MailOutStatus,TotalExclVatInDkk,TotalInclVatInDkk,TotalExclVat,TotalInclVat,CreatedAt,UpdatedAt,DeletedAt';

parent::__construct( $builder );
}
Expand Down

0 comments on commit 6f66a8a

Please sign in to comment.