This commit is contained in:
Dennis Eichhorn 2018-02-03 13:09:09 +01:00
parent 95a1e7ea80
commit f57808314c
5 changed files with 15 additions and 16 deletions

View File

@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract;
use phpOMS\System\File\Directory;
use phpOMS\Module\InfoManager;
/**
* Navigation class.
*

View File

@ -149,9 +149,9 @@ class Invoice implements \JsonSerializable
public function __construct()
{
$this->insurance = new Money();
$this->freight = new Money();
$this->net = new Money();
$this->gross = new Money();
$this->freight = new Money();
$this->net = new Money();
$this->gross = new Money();
$this->createdAt = new \DateTime();
}
@ -520,4 +520,4 @@ class Invoice implements \JsonSerializable
{
}
}
}

View File

@ -277,4 +277,4 @@ class InvoiceElement implements \JsonSerializable
{
}
}
}

View File

@ -26,9 +26,9 @@ use phpOMS\Stdlib\Base\Enum;
*/
abstract class InvoiceStatus extends Enum
{
/* public */ const ACTIVE = 1;
/* public */ const ARCHIVED = 2;
/* public */ const DELETED = 4;
/* public */ const DONE = 8;
/* public */ const DRAFT = 16;
/* public */ const ACTIVE = 1;
/* public */ const ARCHIVED = 2;
/* public */ const DELETED = 4;
/* public */ const DONE = 8;
/* public */ const DRAFT = 16;
}

View File

@ -26,10 +26,10 @@ use phpOMS\Stdlib\Base\Enum;
*/
abstract class InvoiceType extends Enum
{
/* public */ const BILL = 1;
/* public */ const DELIVERY_NOTE = 2;
/* public */ const CREDIT_NOTE = 3;
/* public */ const DEBIT_NOTE = 4;
/* public */ const OFFER = 5;
/* public */ const BILL = 1;
/* public */ const DELIVERY_NOTE = 2;
/* public */ const CREDIT_NOTE = 3;
/* public */ const DEBIT_NOTE = 4;
/* public */ const OFFER = 5;
/* public */ const ORDER_CONFIRMATION = 6;
}