Przeglądaj źródła

Fix PO number not being copied over to new documents

Alan Lam 3 lat temu
rodzic
commit
3d92a968ab
1 zmienionych plików z 1 dodań i 0 usunięć
  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;