mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-30 16:22:58 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			375 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			375 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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);
 | |
|     }
 | |
| }
 |