1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00
invoiceninja/app/Libraries/Skype/InvoiceItemCard.php
2019-01-30 21:45:46 +11:00

15 lines
375 B
PHP
Executable File

<?php
namespace App\Libraries\Skype;
class InvoiceItemCard
{
public function __construct($invoiceItem, $account)
{
$this->title = intval($invoiceItem->qty) . ' ' . $invoiceItem->product_key;
$this->subtitle = $invoiceItem->notes;
$this->quantity = $invoiceItem->qty;
$this->price = $account->formatMoney($invoiceItem->cost);
}
}