akaunting/modules/BC21/Models/Sale/InvoiceTotal.php

23 lines
376 B
PHP
Raw Normal View History

2020-12-24 01:28:38 +03:00
<?php
namespace App\Models\Sale;
use App\Models\Document\DocumentTotal;
/**
* @deprecated
* @see DocumentTotal
*/
class InvoiceTotal extends DocumentTotal
{
public function getInvoiceIdAttribute($value)
{
return $this->document_id;
}
public function setInvoiceIdAttribute($value)
{
$this->attributes['document_id'] = $value;
}
}