Test fixed
This commit is contained in:
parent
5c2a6e9a1f
commit
e966647205
@ -255,10 +255,7 @@ class Document extends AbstractFactory
|
||||
],
|
||||
];
|
||||
|
||||
return $this->state([
|
||||
'items' => $items,
|
||||
'recurring_frequency' => 'no',
|
||||
]);
|
||||
return $this->state(['items' => $items]);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -268,7 +265,7 @@ class Document extends AbstractFactory
|
||||
public function getDocumentNumber($type)
|
||||
{
|
||||
$document_number = $this->getNextDocumentNumber($type);
|
||||
|
||||
|
||||
$this->increaseNextDocumentNumber($type);
|
||||
|
||||
return $document_number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user