mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-11 15:18:42 +00:00
Merge branch 'develop' of https://github.com/Karaka-Management/oms-Billing into develop
This commit is contained in:
commit
321b7e8734
|
|
@ -127,14 +127,6 @@ class Bill implements \JsonSerializable
|
|||
*/
|
||||
public Account $createdBy;
|
||||
|
||||
/**
|
||||
* Files.
|
||||
*
|
||||
* @var EditorDoc[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $notes = [];
|
||||
|
||||
public ?Client $client = null;
|
||||
|
||||
public ?Supplier $supplier = null;
|
||||
|
|
@ -443,14 +435,6 @@ class Bill implements \JsonSerializable
|
|||
*/
|
||||
public int $reference = 0;
|
||||
|
||||
/**
|
||||
* Attributes.
|
||||
*
|
||||
* @var \Modules\Attribute\Models\Attribute[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $attributes = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
@ -699,32 +683,6 @@ class Bill implements \JsonSerializable
|
|||
$this->grossDiscount->add((int) ($element->taxR->getInt() * $element->totalDiscountP->getInt() / 10000));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add note to item
|
||||
*
|
||||
* @param EditorDoc $note Note
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function addNote(EditorDoc $note) : void
|
||||
{
|
||||
$this->notes[] = $note;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get notes
|
||||
*
|
||||
* @return EditorDoc[]
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getNotes() : array
|
||||
{
|
||||
return $this->notes;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
@ -758,5 +716,6 @@ class Bill implements \JsonSerializable
|
|||
}
|
||||
|
||||
use \Modules\Attribute\Models\AttributeHolderTrait;
|
||||
use \Modules\Editor\Models\EditorDocListTrait;
|
||||
use \Modules\Media\Models\MediaListTrait;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user