view
This commit is contained in:
1 parent
3b26ee3f93
commit
15a6ca4fe2
1 file changed
+1
-1
@@ -580,7 +580,7 @@ def store(request, s_id):
|
||||
searchStatus = False
|
||||
searchQS = request.POST.get('searchQS', '')
|
||||
mojodi = request.POST.get('mojodi', '')
|
||||
#return HttpResponse(mojodi)
|
||||
#return HttpResponse(mojodi 2)
|
||||
if searchQS !='':
|
||||
productSum = Product.objects.filter(productinstore__StoreRoom=storeO ,productinstore__year=1400,product_name__contains=searchQS).annotate(mojodi=( Sum('productinstore__s_in') - Sum('productinstore__s_out') ))
|
||||
if mojodi == "0":
|
||||
|
||||
Reference in new issue
Block a user