app/Models/WorkOrder.php
public function getStartedAtLabel()
    {
        if ($this->started_at) {
            $class = 'label label-success';
            $icon = 'fa fa-check';
            $message = $this->started_at;
        } else {
            $class = 'label label-danger';
            $icon = 'fa fa-times';
            $message = 'Has not been started.';
        }

        $icon = HTML::create('i', '', ['class' => $icon]);

        return HTML::raw("<span class='$class'>$icon $message</span>");
    }
public function getStartedAtLabel()
    {
        if ($this->started_at) {
            $class = 'label label-success';
            $icon = 'fa fa-check';
            $message = $this->started_at;
        } else {
            $class = 'label label-danger';
            $icon = 'fa fa-times';
            $message = 'Has not been started.';
        }

        $icon = HTML::create('i', '', ['class' => $icon]);

        return HTML::raw("<span class='$class'>$icon $message</span>");
    }
Returns an HTML label for the work orders started at date.

@return string