How to edit invoice template code in order printer app?

Hi, I’m trying to edit the code on my invoice template from the order printer app and have a couple of questions.

Below is a screencap on what I’ve been working on. I have circled in red the areas I want to ask about. First of all, I wanted to ask, what does device mean on the invoice? Is it needed? If it isn’t what part of my code do i need to remove?
Also the second thing is there is a little horizonal line, and I can’t figure out where in the code I need to fix to remove this.
Code has been added below.
Any help greatly appreciated!

This is the code


  {{ "now" | date: "%m/%d/%y" }}

  Invoice for {{ order_name }}

  
 
![lbsmallerlogo.png?v=1629081206|500x65](upload://tyJMXXV5JBggml8APvqO0KvFfX7.png)

  

  

  {{ shop.address }}

  {{ shop.city }} {{ shop.province_code }} {{ shop.zip | upcase }}

  {{ shop.country }}

---

### Item Details

      {% endif %}
      
    {% for line_item in line_items %}
      
       {% comment %}  
        
       {% endcomment %}
        
        {% endif %}
        
    {% endfor %}
  <table>

  
    <tr>

    <th>

Product Image

</th>

    <th>

Quantity

</th>

    <th>

 SKU 

</th>

      <th>

Item

</th>

      <th>

Device

</th>
<th>

      {% if show_line_item_taxes %}
      

</th>
<th>

Taxes

</th>
<th>

Price

</th>

    </tr>

  
  <tr>

        <td>

</td>

        <td>

{{ line_item.quantity }} 

</td>

        <td>

 {{ line_item.sku }} 

</td>

        <td>

{{ line_item.quantity }} **{{ line_item.title }}**

</td>
<td>

        
        {% unless line_item.variant.title contains 'Default' %}
                      
                        {{ line_item.variant.title }}
                      
                    {% endunless %}
                    
        

</td>
<td>

        {% assign property_size = line_item.properties | size %}
                    {% if property_size > 0 %}
                      {% for p in line_item.properties %}
                        {% unless p.last == blank %}
                          **{{ p.first }}:**

                          {% if p.last contains '/uploads/' %}
                            {{ p.last | split: '/' | last }}
                          {% else %}
                            **{{ p.last }}**
                          {% endif %}

                          

                        {% endunless %}
                      {% endfor %}
                    {% endif %}
        

</td>
<td>

        {% if line_item.tax_lines %}
          

</td>
<td>

            {% for tax_line in line_item.tax_lines %}
              {{ tax_line.price | money }} {{ tax_line.title }}

            {% endfor %}
          

</td>
<td>

{{ line_item.price | money }}

</td>

      </tr>

</table>

{% if transactions.size > 1 %}
  ### Transaction Details
  
      {% for transaction in transactions %}
        
      {% endfor %}
    

| Type | Amount | Kind | Status |
| - | - | - | - |
| {{ transaction.gateway | payment_method }} | {{ transaction.amount | money }} | {{ transaction.kind }} | {{ transaction.status }} |

{% endif %}

---

### Payment Details

  {% for discount in discounts %}
  
  {% endfor %}
  
  {% if shipping_address %}
    
  {% endif %}
  
  {% if total_paid != total_price %}
    
  {% endif %}

| Subtotal price: | {{ subtotal_price | money }} |
| - | - |
| Includes discount "{{ discount.code }}" | {{ discount.savings | money }} |
| Total tax: | {{ tax_price | money }} |
| Shipping: | {{ shipping_price | money }} |
| **Total price:** | **{{ total_price | money }}** |
| **Total paid:** | **{{ total_paid | money }}** |
| **Outstanding Amount:** | **{{ total_price | minus: total_paid | money }}** |

{% if note %}
  ### Note
  

{{ note }}

{% endif %}

---

{% if shipping_address %}
  ### Shipping Details

  
    **{{ shipping_address.name }}**

    {% if shipping_address.company %}
      {{ shipping_address.company }}

    {% endif %}
    {{ shipping_address.street }}

    {{ shipping_address.city }}
    {{ shipping_address.province_code }}
    {{ shipping_address.zip | upcase }}

    {{ shipping_address.country }}
  

{% endif %}

If you have any questions, please send an email to {{ shop.email }}