13 lines
653 B
PHP
13 lines
653 B
PHP
<?php
|
|
namespace App\Repositories\InvoiceItem;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface InvoiceItemRepositoryInterface extends BaseRepositoryInterface{
|
|
public function getItemBy(array $type_in = [], int $invoice_type_id = 0);
|
|
public function findBy(int $userId = 0, array $data = [],array $relationships = []);
|
|
public function filter(array $data = [],array $relationships = [],array $withCount = [],array $select = ['*']);
|
|
public function findServiceStatus(int $relid = 0, int $type_id = 0);
|
|
public function findWithRelationships(int $id = 0, array $relationships = [],array $withCount = [], array $withSum = []);
|
|
|
|
} |