{% macro statusName(statusId) %} {{ constant('App\\Enum\\StatusEnum::STATUS_NAME')[statusId] }} {% endmacro %}