This commit is contained in:
Manuel Raynaud
2014-04-11 09:36:43 +02:00
parent 441ac3dc2a
commit b60abb206b
8 changed files with 143 additions and 146 deletions

View File

@@ -40,7 +40,7 @@ class Order extends BaseOrder
public function postSave(ConnectionInterface $con = null)
{
if($this->isPaid() && null === $this->getInvoiceDate()) {
if ($this->isPaid() && null === $this->getInvoiceDate()) {
$this
->setInvoiceDate(time())
->save($con);