oms-Sales/Models/InvoiceStatus.php

45 lines
1.3 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Sales\Models;
use phpOMS\Datatypes\Enum;
/**
* Invoice types enum.
*
* @category Modules
* @package Sales
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
abstract class InvoiceStatus extends Enum
{
const BLOCKED = 0; /* Invoice needs approval */
const DRAFT = 1; /* Invoice is still in draft */
const READY = 2; /* Invoice is ready for accounting transfer */
const UNPAID = 3; /* Invoice is not paid */
const PAID_PARTIALLY = 4; /* Invoice is partially paid */
const PAID = 5; /* Invoice is paid */
const OFFSETTING = 6; /* This invoice may receive a credit */
const OPEN = 7; /* offer & confirmation */
const CHANGED = 8; /* offer & confirmation */
const CLOSED = 9; /* offer & confirmation */
const ACCEPTED = 10; /* offer & confirmation */
}