Преглед на файлове

Fix PO number not being copied over to new documents

Alan Lam преди 3 години
родител
ревизия
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;