| 1 | <?php |
||
| 28 | class OrderStatus extends \Eccube\Entity\Master\AbstractMasterEntity |
||
| 29 | { |
||
| 30 | /** 新規受付. */ |
||
| 31 | const NEW = 1; |
||
| 32 | /** 入金待ち. */ |
||
| 33 | const PAY_WAIT = 2; |
||
| 34 | /** キャンセル. */ |
||
| 35 | const CANCEL = 3; |
||
| 36 | /** 取り寄せ中. */ |
||
| 37 | const BACK_ORDER = 4; |
||
| 38 | /** 発送済み. */ |
||
| 39 | const DELIVERED = 5; |
||
| 40 | /** 入金済み. */ |
||
| 41 | const PAID = 6; |
||
| 42 | /** 決済処理中. */ |
||
| 43 | const PENDING = 7; |
||
| 44 | /** 購入処理中. */ |
||
| 45 | const PROCESSING = 8; |
||
| 46 | /** 対応中 */ |
||
| 47 | const IN_PROGRESS = 9; |
||
| 48 | /** 返品 */ |
||
| 49 | const RETURNED = 10; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * 受注一覧画面で, ステータスごとの受注件数を表示するかどうか |
||
| 53 | * |
||
| 54 | * @var bool |
||
| 55 | * |
||
| 56 | * @ORM\Column(name="display_order_count", type="boolean", options={"default":false}) |
||
| 57 | */ |
||
| 58 | private $display_order_count; |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return bool |
||
| 62 | */ |
||
| 63 | 14 | public function isDisplayOrderCount() |
|
| 67 | |||
| 68 | /** |
||
| 69 | * @param bool $display_order_count |
||
| 70 | */ |
||
| 71 | public function setDisplayOrderCount($display_order_count = false) |
||
| 75 | } |
||
| 76 |