add posprintlog

main
n0emis 3 years ago
parent b90156b8b0
commit c4fdb1a1de
Signed by: n0emis
GPG Key ID: 00FAF748B777CF10

@ -7,4 +7,5 @@ from .views import *
urlpatterns = [ urlpatterns = [
url(r'^api/v1/organizers/(?P<organizer>[^/]+)/posdevices/(?P<device_id>[^/.]+)/closings/', ClosingsView.as_view(), name='api.closings'), url(r'^api/v1/organizers/(?P<organizer>[^/]+)/posdevices/(?P<device_id>[^/.]+)/closings/', ClosingsView.as_view(), name='api.closings'),
url(r'^api/v1/organizers/(?P<organizer>[^/]+)/pos/cashiers/', CashierView.as_view(), name='api.cashiers'), url(r'^api/v1/organizers/(?P<organizer>[^/]+)/pos/cashiers/', CashierView.as_view(), name='api.cashiers'),
url(r'^api/v1/organizers/(?P<organizer>[^/]+)/events/(?P<event>[^/.]+)/orders/(?P<order>[^/.]+)/posprintlog/', PosprintlogView.as_view(), name='api.printlog'),
] ]

@ -43,3 +43,7 @@ class CashierView(APIView):
} }
] ]
}) })
class PosprintlogView(APIView):
def post(self, request, organizer, event, order):
return Response({})

Loading…
Cancel
Save