Merge branch 'ticket-12218-extractVP' into develop

This commit is contained in:
Marion Muszynski 2017-01-19 10:00:15 +01:00
commit 8db5e64bd0

View File

@ -678,6 +678,8 @@ class AdminPrivateSalesLogistique extends AdminTab {
'position',
'poids',
'quantity',
'quantity_sold',
'stock_initial',
'product_name',
'combination',
'ean13',
@ -685,7 +687,6 @@ class AdminPrivateSalesLogistique extends AdminTab {
'Pays de fabrication',
// 'location',
// 'brand',
'quantity_sold',
'public_price_wt',
'price_wt',
'wholesale_price',
@ -838,6 +839,8 @@ class AdminPrivateSalesLogistique extends AdminTab {
$p->position,
str_replace('.', ',', $p->weight),
$v['qty'],
$quantity_sold,
($v['qty']+$quantity_sold),
$p->name[$id_lang],
implode(' - ', $names),
$v['ean13'],
@ -845,7 +848,6 @@ class AdminPrivateSalesLogistique extends AdminTab {
$customs['id_country'],
// $v['location'],
// $v['brand'],
$quantity_sold,
str_replace('.', ',', $p->getPrice(TRUE, (int) $k, 2, NULL, FALSE, FALSE)),
str_replace('.', ',', $p->getPrice(TRUE, (int) $k, 2)),
str_replace('.', ',', Tools::ps_round($p->wholesale_price, 2)),
@ -903,6 +905,8 @@ class AdminPrivateSalesLogistique extends AdminTab {
$p->position,
str_replace('.', ',', $p->weight),
$p->quantity,
$quantity_sold,
($p->quantity+$quantity_sold),
$p->name[$id_lang],
'',
$p->ean13,
@ -910,7 +914,6 @@ class AdminPrivateSalesLogistique extends AdminTab {
$customs['id_country'],
// $p->location,
// $p->manufacturer_name,
$quantity_sold,
str_replace('.', ',', $p->getPrice(TRUE, NULL, 2, NULL, FALSE, FALSE)),
str_replace('.', ',', $p->getPrice(TRUE, NULL, 2)),
str_replace('.', ',', Tools::ps_round($p->wholesale_price, 2)),
@ -985,12 +988,13 @@ class AdminPrivateSalesLogistique extends AdminTab {
'position',
'poids',
'quantity',
'quantity_sold',
'stock_initial',
'product_name',
'combination',
'ean13',
'NC8',
'Pays de fabrication',
'quantity_sold',
'public_price_wt',
'price_wt',
'wholesale_price',
@ -1141,12 +1145,13 @@ class AdminPrivateSalesLogistique extends AdminTab {
$p->position,
str_replace('.', ',', $p->weight),
$v['qty'],
$quantity_sold,
($v['qty']+$quantity_sold),
$p->name[$id_lang],
implode(' - ', $names),
$v['ean13'],
$customs['nc8'],
$customs['id_country'],
$quantity_sold,
str_replace('.', ',', $p->getPrice(TRUE, (int) $k, 2, NULL, FALSE, FALSE)),
str_replace('.', ',', $p->getPrice(TRUE, (int) $k, 2)),
str_replace('.', ',', Tools::ps_round($p->wholesale_price, 2)),
@ -1199,12 +1204,13 @@ class AdminPrivateSalesLogistique extends AdminTab {
$p->position,
str_replace('.', ',', $p->weight),
$p->quantity,
$quantity_sold,
($p->quantity+$quantity_sold),
$p->name[$id_lang],
'',
$p->ean13,
$customs['nc8'],
$customs['id_country'],
$quantity_sold,
str_replace('.', ',', $p->getPrice(TRUE, NULL, 2, NULL, FALSE, FALSE)),
str_replace('.', ',', $p->getPrice(TRUE, NULL, 2)),
str_replace('.', ',', Tools::ps_round($p->wholesale_price, 2)),