Deactivate database manufacturer query
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 13 Jan 2014 16:14:44 +0000 (11:14 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 24 Jan 2014 03:54:32 +0000 (22:54 -0500)
bomgen/bomgen.php

index d3055a5..b7fd0bb 100755 (executable)
@@ -367,10 +367,10 @@ foreach ($data as $key => $row) {
       } else if ($col_num_to_id[$c] == "Manufacturer") {
         $manufacturer = $row[$c];
 
-        if (empty($manufacturer)) {
+        //if (empty($manufacturer)) {
           /* Lecture du "Manufacturer" dans Syteline si celui dans Altium est absent. */
-          $manufacturer = get_manufacturer($row[$col_id_to_num[COMPANY_PN_COL_NAME]]);
-        }
+          //$manufacturer = get_manufacturer($row[$col_id_to_num[COMPANY_PN_COL_NAME]]);
+        //}
 
         xls_write_cell($row_num, $k, $manufacturer, XLS_FORMAT_TEXT);