order.liquid - Add a Return Button only to line items that are fulfilled

New Member
2 0 0
In Shopify on order.liquid I am trying to add a return button to orders that are only fulfilled. I am having trouble adding this to partial orders that have various fulfillment statuses. Is there a way to access the fulfillment_status on a line item level?

I am able to access values from the order.fulfillment_status but I do not see any values from the line_item.fulfillment_status

{%- if order.fulfillment_status == 'partial' -%}
    {% for order in customer.orders %}
        {% for line_item in order.line_items %}
            {%- if line_item.fulfillment_status == 'fulfilled' -%}
                <a class="order-return-button" href="#">Return Item</a>
            {%- endif -%}
         {% endfor %}
    {% endfor %}
{%- endif -%}

I would like the return button to show only for fulfilled items on a line item level for partial orders.