Add orders tab for recent SystemGroup delivery notes
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,10 @@ def products(request):
|
||||
})
|
||||
|
||||
|
||||
def crm_orders(request):
|
||||
return render(request, 'slips/crm_orders.html')
|
||||
|
||||
|
||||
def print_queue(request):
|
||||
pending = Order.objects.select_related('product').filter(status='pending')
|
||||
history = Order.objects.select_related('product').filter(status='done').order_by('-printed_at')[:20]
|
||||
|
||||
Reference in New Issue
Block a user