Browse Source

Document

packProduct
Charly 3 years ago
parent
commit
cd39443d97
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      Repository/File/DocumentStore.php

+ 12
- 0
Repository/File/DocumentStore.php View File

{ {
// @TODO : à écrire // @TODO : à écrire
} }

//findLastInvoice
public function getOneLastInvoice()
{
$query = $this->query->create();

$query
->filterByMerchant($this->merchant)
->orderBy('.createdAt', 'DESC');

return $query->findOne();
}
} }

Loading…
Cancel
Save