Import finalized Olist production orders
This commit is contained in:
@@ -254,6 +254,7 @@ const mapProductionOrderRow = (row) => {
|
||||
orderReference: row.order_reference || '',
|
||||
issueDate: formatDate(row.issue_date),
|
||||
expectedDate: formatDate(row.expected_date),
|
||||
completedDate: formatDate(row.completed_date),
|
||||
productSku: row.product_sku || '',
|
||||
productDescription: row.product_description || '',
|
||||
quantity: Number(row.quantity || 0),
|
||||
@@ -284,6 +285,7 @@ const getOrderById = async (id, client = pool) => {
|
||||
po.order_reference,
|
||||
po.issue_date,
|
||||
po.expected_date,
|
||||
po.completed_date,
|
||||
po.product_sku,
|
||||
po.product_description,
|
||||
po.quantity,
|
||||
@@ -366,6 +368,7 @@ const baseProductionOrderSelect = `
|
||||
po.order_reference,
|
||||
po.issue_date,
|
||||
po.expected_date,
|
||||
po.completed_date,
|
||||
po.product_sku,
|
||||
po.product_description,
|
||||
po.quantity,
|
||||
|
||||
Reference in New Issue
Block a user