Skip to content

Commit

Permalink
Fixes to bill item
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene de Kat committed Sep 27, 2017
1 parent 1f72519 commit 7103fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Builders/Items/Bill.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function setAmount($amount)
*/
public function asAccountBasedExpenseLineDetail()
{
$this->setDetailType('AccountBasedExpenseLineDetail');
$this->data['DetailType'] = 'AccountBasedExpenseLineDetail';

return $this;
}
Expand All @@ -50,7 +50,7 @@ public function asAccountBasedExpenseLineDetail()
*/
public function asItemBasedExpenseLineDetail()
{
$this->setDetailType('ItemBasedExpenseLineDetail');
$this->data['DetailType'] = 'ItemBasedExpenseLineDetail';

return $this;
}
Expand Down

0 comments on commit 7103fdc

Please sign in to comment.