refactor_endpoints_to_api_views #84 #85

Merged
mono merged 5 commits from refactor_endpoints_to_api_views_#84 into main 2024-12-31 14:51:05 -05:00
Showing only changes of commit 9a6a931481 - Show all commits

View File

@ -12,28 +12,20 @@
</v-toolbar>
<v-list>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Fecha:</v-list-item-title>
<v-list-item-subtitle>{{ purchase.date }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Cliente:</v-list-item-title>
<v-list-item-subtitle v-if="purchase.customer">{{ purchase.customer.name }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Pagado en:</v-list-item-title>
<v-list-item-subtitle v-if="purchase.payment_method">{{ purchase.payment_method }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Total:</v-list-item-title>
<v-list-item-subtitle v-if="purchase.lines">{{ currencyFormat(calculateTotal(purchase.lines)) }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
</v-list>
<v-data-table-virtual