Clean-up: reuse shared component in add_seats_invoice.vue
In add_seats_invoice.vue
we are using these lines:
<div
class="gl-py-5 gl-border-gray-100 gl-border-t-solid gl-border-t-1 gl-display-flex gl-justify-content-space-between"
>
<strong>Subtotal</strong>
<div class="gl-my-auto">
<span>{{ formatMoney(invoice.amount_without_tax) }}</span>
</div>
</div>
<div
class="gl-pt-5 gl-border-gray-100 gl-border-t-solid gl-border-t-1 gl-display-flex gl-justify-content-space-between"
>
<strong>Estimated taxes</strong>
<div class="gl-my-auto">
<span>{{ formatMoney(invoice.tax_amount) }}</span>
</div>
</div>
Which could be replaced with 2 uses of ~/purchase/components/transaction_line_item.vue component to make all pages use the same shared component for more consistency.
Edited by Ammar Alakkad