feat (frontend): add payment method on summary purchase.
This commit is contained in:
parent
ea77124ee4
commit
8f62dfb9ec
@ -23,6 +23,12 @@
|
||||
<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>
|
||||
|
@ -164,6 +164,7 @@ def purchase_json_summary(request, id):
|
||||
'name': purchase.customer.name,
|
||||
# 'phone': _mask_phone(purchase.customer.phone)
|
||||
},
|
||||
'payment_method': purchase.payment_method,
|
||||
'set_lines': lines,
|
||||
}
|
||||
return JsonResponse(to_response, safe=False)
|
||||
|
Loading…
Reference in New Issue
Block a user