Skip to content

Commit

Permalink
Тип позиции в чеке
Browse files Browse the repository at this point in the history
  • Loading branch information
lashnag committed Jan 10, 2019
1 parent 9f2ac7d commit 2d8157b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uc_platron/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 2d8157b

Please sign in to comment.