MODELS_ADDED_IN_CLAIM_SRI
This commit is contained in:
parent
a7c4fb580b
commit
5a0c2698e2
@ -7,6 +7,10 @@ use CodeIgniter\HTTP\ResponseInterface;
|
|||||||
use App\Models\TicketMasterModel;
|
use App\Models\TicketMasterModel;
|
||||||
use App\Models\TicketClaimStatusModel;
|
use App\Models\TicketClaimStatusModel;
|
||||||
use App\Models\ClientModel;
|
use App\Models\ClientModel;
|
||||||
|
use App\Models\TicketHistoryModel;
|
||||||
|
use App\Models\TicketMailTemplateModel;
|
||||||
|
use App\Models\TicketMessageModel;
|
||||||
|
use App\Models\TicketNoteModel;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Kint\Kint;
|
use Kint\Kint;
|
||||||
|
|
||||||
@ -23,6 +27,10 @@ class TicketController extends BaseController
|
|||||||
protected $ticketMasterModel;
|
protected $ticketMasterModel;
|
||||||
protected $claimStatus;
|
protected $claimStatus;
|
||||||
protected $clientModel;
|
protected $clientModel;
|
||||||
|
protected $ticketHistoryModel;
|
||||||
|
protected $ticketMailTemplateModel;
|
||||||
|
protected $ticketMesageModel;
|
||||||
|
protected $ticketNoteModel;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
@ -49,6 +57,8 @@ class TicketController extends BaseController
|
|||||||
$this->ticketMasterModel = new TicketMasterModel();
|
$this->ticketMasterModel = new TicketMasterModel();
|
||||||
$this->claimStatus = new TicketClaimStatusModel();
|
$this->claimStatus = new TicketClaimStatusModel();
|
||||||
$this->clientModel = new ClientModel();
|
$this->clientModel = new ClientModel();
|
||||||
|
$this->ticketHistoryModel = new TicketHistoryModel();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ticketList()
|
public function ticketList()
|
||||||
|
|||||||
@ -17,7 +17,7 @@ class TicketMasterModel extends Model
|
|||||||
'relationship', 'emp_mobile', 'emp_mail', 'mode_of_intimation', 'claim_type', 'hospital_name',
|
'relationship', 'emp_mobile', 'emp_mail', 'mode_of_intimation', 'claim_type', 'hospital_name',
|
||||||
'doa', 'dod', 'claim_amount', 'pod_no', 'created_by', 'updated_by', 'created_at', 'updated_at',
|
'doa', 'dod', 'claim_amount', 'pod_no', 'created_by', 'updated_by', 'created_at', 'updated_at',
|
||||||
'date_of_join', 'date_of_incep', 'dob', 'date_of_accident', 'date_of_death', 'date_of_intimat',
|
'date_of_join', 'date_of_incep', 'dob', 'date_of_accident', 'date_of_death', 'date_of_intimat',
|
||||||
'si_amt','claim_number'
|
'si_amt','claim_number,is_active'
|
||||||
];
|
];
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
|
|||||||
@ -12,7 +12,7 @@ class TicketNoteModel extends Model
|
|||||||
protected $returnType = 'array';
|
protected $returnType = 'array';
|
||||||
protected $useSoftDeletes = false;
|
protected $useSoftDeletes = false;
|
||||||
protected $protectFields = true;
|
protected $protectFields = true;
|
||||||
protected $allowedFields = [];
|
protected $allowedFields = ['id,created_by','updated_by','is_active'];
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
protected $allowCallbacks = true;
|
protected $allowCallbacks = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user