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

Fix PO number not being copied over to new documents

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

+ 1 - 0
controllers/document.php

@@ -356,6 +356,7 @@ $controller = new class($document_type, $document_number) {
 		$document->delivery_company = $source_document->delivery_company;
 		$document->tracking_number = $source_document->tracking_number;
 		$document->notes = $source_document->notes;
+		$document->po_number = $source_document->po_number;
 		$document->vat_number = $source_document->vat_number;
 		$document->contact_name = $source_document->contact_name;
 		$document->contact_phone = $source_document->contact_phone;