Sfoglia il codice sorgente

Processus de commandes

feature/export_comptable
Fab 4 anni fa
parent
commit
fb83c6960d
1 ha cambiato i file con 17 aggiunte e 0 eliminazioni
  1. +17
    -0
      ShopBundle/Model/OrderShop.php

+ 17
- 0
ShopBundle/Model/OrderShop.php Vedi 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…
Annulla
Salva