Explorar o código

Fix PO number not being copied over to new documents

Alan Lam %!s(int64=3) %!d(string=hai) anos
pai
achega
3d92a968ab
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;