Merge Invoice and Bill into Document
This commit is contained in:
22
modules/BC21/Models/Sale/InvoiceItem.php
Normal file
22
modules/BC21/Models/Sale/InvoiceItem.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Sale;
|
||||
|
||||
use App\Models\Document\DocumentItem;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @see DocumentItem
|
||||
*/
|
||||
class InvoiceItem extends DocumentItem
|
||||
{
|
||||
public function getInvoiceIdAttribute($value)
|
||||
{
|
||||
return $this->document_id;
|
||||
}
|
||||
|
||||
public function setInvoiceIdAttribute($value)
|
||||
{
|
||||
$this->attributes['document_id'] = $value;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user