소스 검색

Remove code setting product ID from document item modal

Alan Lam 3 년 전
부모
커밋
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");