Skip to content

Commit

Permalink
Тип позиции в чеке
Browse files Browse the repository at this point in the history
  • Loading branch information
lashnag authored Jan 10, 2019
1 parent 2f4ef76 commit b52c42a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-contents/plugins/platron-for-woocommerce/ofd.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class OfdReceiptItem
public $price;
public $quantity;
public $vat;
public $type = 'product';

public function toArray()
{
Expand All @@ -91,6 +92,7 @@ public function toArray()
'pg_price' => $this->price,
'pg_quantity' => $this->quantity,
'pg_vat' => $this->vat,
'pg_type' => $this->type,
);
}
}

0 comments on commit b52c42a

Please sign in to comment.