Просмотр исходного кода

Remove code setting product ID from document item modal

Alan Lam 3 лет назад
Родитель
Сommit
427812af2a
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      controllers/document.php

+ 0 - 1
controllers/document.php

@@ -293,7 +293,6 @@ $controller = new class($document_type, $document_number) {
 			$item->dts_created = Database::dts();
 		}
 
-		$item->product_id = $this->request->int("product_id");
 		$item->description = $this->request->string("description");
 		$item->serial_number = $this->request->string("serial_number");
 		$item->quantity = $this->request->int("quantity");