Open
Description
This is my Presenter
if($this->status == 'pending'){
echo '<span class="label label-teal"><span class="ico-file"></span> PENDING</span>';
}
i can call others column like
$this->id
$this->employee_id
but when i called $this->status it give me an error
ErrorException (E_UNKNOWN)
Undefined property: RequisitionPresenter::$status
this is my table
$table->increments('id');
$table->integer('employee_id');
$table->timestamps();
$table->integer('created_by');
$table->integer('updated_by');
$table->string('status')->default('pending');
$table->datetime('status_at');
$table->integer('status_by');
$table->text('status_notes');
Metadata
Metadata
Assignees
Labels
No labels