public function table(Status $status)
    {
        return $this->table->of('work-orders.statuses', function (TableGrid $table) use ($status) {
            $table->with($status)->paginate($this->perPage);

            $table->column('Status', function (Column $column) {
                $column->value = function (Status $status) {
                    return link_to_route('maintenance.work-orders.statuses.edit', $status->getLabel(), [$status->getKey()]);
                };
            });

            $table->column('created_at');

            $table->column('created_by', function (Column $column) {
                $column->value = function (Status $status) {
                    if ($status->user instanceof User) {
                        return $status->user->getRecipientName();
                    } else {
                        return HTML::create('em', 'None');
                    }
                };
            });
        });
    }