feat: create a correct reconciliation jar.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
from django.http import HttpResponse, HttpResponseRedirect, JsonResponse
|
||||
#from django.template import loader
|
||||
from django.template import loader
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from .models import Sale, Product, ProductCategory, Payment
|
||||
@@ -95,9 +95,11 @@ def reconciliate_jar(request):
|
||||
{'summary': summary, 'form': form}
|
||||
)
|
||||
|
||||
|
||||
def reconciliations(request):
|
||||
return HttpResponse('<h1>Reconciliaciones</h1>')
|
||||
|
||||
|
||||
def _categories_from_csv_string(categories_string, separator="&"):
|
||||
categories = categories_string.split(separator)
|
||||
clean_categories = [c.strip() for c in categories]
|
||||
|
||||
Reference in New Issue
Block a user