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

*/ */
protected $invoiceAddress; protected $invoiceAddress;


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

/** /**
* @ORM\Column(type="text", nullable=true) * @ORM\Column(type="text", nullable=true)
*/ */
$this->documents = new ArrayCollection(); $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() public function getDateCreated()
{ {
$orderStatusHistory = $this->getOrderStatusHistory('new'); $orderStatusHistory = $this->getOrderStatusHistory('new');

Loading…
Cancel
Save