feat: add unique license number check for devices
This commit is contained in:
@@ -90,7 +90,8 @@ export async function POST(request: Request) {
|
||||
);
|
||||
const itemsWithDevice = itemSnapshot.items.map(i => ({
|
||||
...i,
|
||||
device_name: item.deviceName
|
||||
device_name: item.deviceName,
|
||||
license_number: item.licenseNumber
|
||||
}));
|
||||
orderItemsList.push(...itemsWithDevice);
|
||||
total += itemSnapshot.total;
|
||||
|
||||
Reference in New Issue
Block a user