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