Browse Source

Sync antigaspi_autoremove_disabled

Mathieu Moulin 2 weeks ago
parent
commit
e0d299ba73
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sync/product_lot/dp.inc.php

+ 1 - 0
src/sync/product_lot/dp.inc.php

@@ -140,6 +140,7 @@ public function dp_map_update(&$o, &$d_data, &$p_data=[])
 			'dlc' => !empty($d_data['product_lot']['eatby']) ?$d_data['product_lot']['eatby'] :'0000-00-00',
 			'dluo' => !empty($d_data['product_lot']['sellby']) ?$d_data['product_lot']['sellby'] :'0000-00-00',
 			'stock' => $qty,
+			'antigaspi_autoremove_disabled' => $d_data['product_lot_extrafields']['antigaspi_autoremove_disabled'] ?1 :0,
 			//'entry_date' => '',
 			//'alert1' => '',
 			//'alert2' => '',