1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 23:22:52 +01:00
invoiceninja/app/Libraries/Skype/InvoiceItemCard.php

13 lines
374 B
PHP
Raw Normal View History

2016-08-10 14:57:34 +02:00
<?php namespace App\Libraries\Skype;
class InvoiceItemCard
{
public function __construct($invoiceItem, $account)
{
2016-08-13 21:19:37 +02:00
$this->title = intval($invoiceItem->qty) . ' ' . $invoiceItem->product_key;
2016-08-10 14:57:34 +02:00
$this->subtitle = $invoiceItem->notes;
$this->quantity = $invoiceItem->qty;
$this->price = $account->formatMoney($invoiceItem->cost);
}
}