1
0
Эх сурвалжийг харах

Add travel costs photo to list group

Alan Lam 6 жил өмнө
parent
commit
2295161744

+ 4 - 0
views/test_verify_form.php

@@ -73,6 +73,10 @@ if($tester) {
 		$tester_invoice_details["PDF"] = "<a href=\"/account/tests/{$test->id}/invoice\" target=\"_blank\">Download Invoice</a>";
 	}
 
+	if($test->hasTravelCostsPhoto()) {
+		$tester_invoice_details["Photo"] = "<a href=\"/account/tests/{$test->id}/files/travel_costs\" target=\"_blank\">View Photo</a>";
+	}
+
 }
 
 function render_card_list_group($details) {