Skip to content

Commit

Permalink
Добавлен тип позиции в чеке
Browse files Browse the repository at this point in the history
  • Loading branch information
lashnag authored Jan 9, 2019
1 parent 2c6562d commit 93f1eab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/payments/platron/PG_Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ class OfdReceiptItem
public $price;
public $quantity;
public $vat;
public $type = 'product';

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

0 comments on commit 93f1eab

Please sign in to comment.