generated from liutk/owl-admin-base
22 lines
417 B
PHP
22 lines
417 B
PHP
<?php
|
|
|
|
namespace App\Admin\Services\Finance;
|
|
|
|
use App\Admin\Filters\LedgerFilter;
|
|
use App\Admin\Services\BaseService;
|
|
use App\Models\Ledger;
|
|
|
|
class LedgerService extends BaseService
|
|
{
|
|
protected string $modelName = Ledger::class;
|
|
|
|
protected string $modelFilterName = LedgerFilter::class;
|
|
|
|
protected array $withRelationships = ['store'];
|
|
|
|
public function sortColumn()
|
|
{
|
|
return 'id';
|
|
}
|
|
}
|