Add Summary View Purchase
This commit is contained in:
@@ -102,6 +102,15 @@ def reconciliate_jar(request):
|
||||
def reconciliations(request):
|
||||
return HttpResponse('<h1>Reconciliaciones</h1>')
|
||||
|
||||
def purchase_summary(request, id):
|
||||
purchase = Sale.objects.get(pk=id)
|
||||
return render(
|
||||
request,
|
||||
"don_confiao/purchase_summary.html",
|
||||
{
|
||||
"purchase" : purchase
|
||||
}
|
||||
)
|
||||
|
||||
def _categories_from_csv_string(categories_string, separator="&"):
|
||||
categories = categories_string.split(separator)
|
||||
|
||||
Reference in New Issue
Block a user