mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add product fields to import map
This commit is contained in:
parent
d53f3062cf
commit
273fe4d6eb
@ -33,6 +33,8 @@ class ProductMap
|
||||
14 => 'product.custom_value4',
|
||||
15 => 'product.image_url',
|
||||
16 => 'product.in_stock_quantity',
|
||||
17 => 'product.tax_category',
|
||||
18 => 'product.max_quantity',
|
||||
];
|
||||
}
|
||||
|
||||
@ -56,6 +58,8 @@ class ProductMap
|
||||
14 => 'texts.custom_value',
|
||||
15 => 'texts.image_url',
|
||||
16 => 'texts.in_stock_quantity',
|
||||
17 => 'texts.tax_category',
|
||||
18 => 'texts.max_quantity',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -43,6 +43,7 @@ class ProductTransformer extends BaseTransformer
|
||||
'custom_value3' => $this->getString($data, 'product.custom_value3'),
|
||||
'custom_value4' => $this->getString($data, 'product.custom_value4'),
|
||||
'product_image' => $this->getString($data, 'product.image_url'),
|
||||
'in_stock_quantity' => $this->getFloat($data, 'product.in_stock_quantity'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user