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

15 lines
375 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Libraries\Skype;
2016-08-10 14:57:34 +02:00
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);
}
}