mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
36 lines
400 B
PHP
36 lines
400 B
PHP
<?php
|
|
|
|
namespace App\Models\Traits;
|
|
|
|
/**
|
|
* Class CalculatesInvoiceTotals
|
|
*/
|
|
|
|
class CalculatesInvoiceTotals
|
|
{
|
|
|
|
protected $invoice;
|
|
|
|
/**
|
|
* InvoiceTotals constructor.
|
|
* @param $invoice
|
|
*/
|
|
public function __construct($invoice)
|
|
{
|
|
$this->invoice = $invoice;
|
|
}
|
|
|
|
|
|
public function calculate()
|
|
{
|
|
|
|
}
|
|
|
|
private function sumLineItems()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
}
|