File manager - Edit - /home/linknsbh/proffy.online/app/Repositories/POSRegisterRepository.php
Back
<?php namespace App\Repositories; use App\Models\POSRegister; /** * Class POSRegisterRepository */ class POSRegisterRepository extends BaseRepository { /** * @var array */ protected $fieldSearchable = [ 'cash_in_hand', 'closed_at', 'cash_in_hand_while_closing', 'bank_transfer', 'cheque', 'other', 'total_sale', 'total_return', 'total_amount', 'notes', 'user_id', 'tenant_id', 'created_at', ]; /** * @var string[] */ protected $allowedFields = [ 'cash_in_hand', 'closed_at', 'cash_in_hand_while_closing', 'bank_transfer', 'cheque', 'other', 'total_sale', 'total_return', 'total_amount', 'notes', 'user_id', 'tenant_id', ]; public function getAvailableRelations(): array { return []; } /** * Return searchable fields */ public function getFieldsSearchable(): array { return $this->fieldSearchable; } /** * Configure the Model **/ public function model(): string { return POSRegister::class; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 1.8 |
proxy
|
phpinfo
|
Settings