some apis of pos

This commit is contained in:
2025-08-20 14:44:43 +03:30
parent 14cd349a7d
commit 20e4bfad75
12 changed files with 316 additions and 29 deletions

View File

@@ -19,7 +19,7 @@ class POSDeviceMixin:
organization = pos_models.DeviceAssignment.objects.filter(
device__serial=self.request.headers.get('device-serial') # noqa
).first().organization
).first().client.organization
return organization