We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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');
The text was updated successfully, but these errors were encountered:
Try something like this
if($this->entity->status == 'pending'){ echo '<span class="label label-teal"><span class="ico-file"></span> PENDING</span>'; }
Sorry, something went wrong.
No branches or pull requests
This is my Presenter
i can call others column like
$this->id
$this->employee_id
but when i called $this->status it give me an error
this is my table
The text was updated successfully, but these errors were encountered: