From c977921f02308af769af37f6b7d37b21869797f2 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 5 Dec 2023 10:53:52 +0700
Subject: Add externalId on import and export

---
 src/app/api/stock-opname/export/route.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/app/api/stock-opname/export/route.tsx')

diff --git a/src/app/api/stock-opname/export/route.tsx b/src/app/api/stock-opname/export/route.tsx
index 650ceba..2537070 100644
--- a/src/app/api/stock-opname/export/route.tsx
+++ b/src/app/api/stock-opname/export/route.tsx
@@ -46,6 +46,7 @@ export async function GET(request: NextRequest) {
 
   for (const opname of stockOpnames) {
     const defaultItems = {
+      externalId: opname?.externalId,
       itemCode: opname?.itemCode,
       barcode: opname?.barcode,
       name: opname.name,
-- 
cgit v1.2.3

