mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 09:11:11 +00:00
19 lines
437 B
PHP
19 lines
437 B
PHP
<?php
|
|
|
|
namespace Grocy\Services;
|
|
|
|
class RecipesService extends BaseService
|
|
{
|
|
public function GetRecipesFulfillment()
|
|
{
|
|
$sql = 'SELECT * from recipes_fulfillment';
|
|
return $this->DatabaseService->ExecuteDbQuery($sql)->fetchAll(\PDO::FETCH_OBJ);
|
|
}
|
|
|
|
public function GetRecipesSumFulfillment()
|
|
{
|
|
$sql = 'SELECT * from recipes_fulfillment_sum';
|
|
return $this->DatabaseService->ExecuteDbQuery($sql)->fetchAll(\PDO::FETCH_OBJ);
|
|
}
|
|
}
|