Browse Source

Processus de commandes

feature/export_comptable
Fab 4 years ago
parent
commit
fb83c6960d
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      ShopBundle/Model/OrderShop.php

+ 17
- 0
ShopBundle/Model/OrderShop.php View File

@@ -34,6 +34,11 @@ abstract class OrderShop extends AbstractEntity implements FilterMerchantInterfa
*/
protected $invoiceAddress;

/**
* @ORM\Column(type="datetime", nullable=true)
*/
protected $validationDate;

/**
* @ORM\Column(type="text", nullable=true)
*/
@@ -100,6 +105,18 @@ abstract class OrderShop extends AbstractEntity implements FilterMerchantInterfa
$this->documents = new ArrayCollection();
}

public function getValidationDate(): ?\DateTimeInterface
{
return $this->validationDate;
}

public function setValidationDate(\DateTimeInterface $validationDate): self
{
$this->validationDate = $validationDate;

return $this;
}

public function getDateCreated()
{
$orderStatusHistory = $this->getOrderStatusHistory('new');

Loading…
Cancel
Save