Browse Source

Sync ref_client from catalogpro

Mathieu Moulin 1 year ago
parent
commit
280ffb8d36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sync/order/pd.inc.php

+ 1 - 1
src/sync/order/pd.inc.php

@@ -523,7 +523,7 @@ public function pd_map_create(&$o, &$p_data)
 			'entity' => 1,
 			'ref_ext' => NULL,
 			'ref_int' => NULL,
-			'ref_client' => '', // @todo ?? kesako ? ref
+			'ref_client' => !empty($p_data['orders']['ref_client']) ?$p_data['orders']['ref_client'] :'',
 			'fk_soc' => static::_pd_map_fk_customer($p_data),
 			'fk_projet' => NULL,
 			'tms' => $p_data['orders']['date_upd'],