mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add product image to import
This commit is contained in:
parent
8c4651a559
commit
836802764a
@ -31,6 +31,7 @@ class ProductMap
|
|||||||
12 => 'product.custom_value2',
|
12 => 'product.custom_value2',
|
||||||
13 => 'product.custom_value3',
|
13 => 'product.custom_value3',
|
||||||
14 => 'product.custom_value4',
|
14 => 'product.custom_value4',
|
||||||
|
15 => 'product.image_url'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,6 +53,7 @@ class ProductMap
|
|||||||
12 => 'texts.custom_value',
|
12 => 'texts.custom_value',
|
||||||
13 => 'texts.custom_value',
|
13 => 'texts.custom_value',
|
||||||
14 => 'texts.custom_value',
|
14 => 'texts.custom_value',
|
||||||
|
15 => 'texts.image_url',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,7 @@ class ProductTransformer extends BaseTransformer
|
|||||||
'custom_value2' => $this->getString($data, 'product.custom_value2'),
|
'custom_value2' => $this->getString($data, 'product.custom_value2'),
|
||||||
'custom_value3' => $this->getString($data, 'product.custom_value3'),
|
'custom_value3' => $this->getString($data, 'product.custom_value3'),
|
||||||
'custom_value4' => $this->getString($data, 'product.custom_value4'),
|
'custom_value4' => $this->getString($data, 'product.custom_value4'),
|
||||||
|
'product_image' => $this->getString($data, 'product.image_url'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user