瀏覽代碼

Add travel costs photo to list group

Alan Lam 6 年之前
父節點
當前提交
2295161744
共有 1 個文件被更改,包括 4 次插入 和 0 次删除
  1. 4 0
      views/test_verify_form.php

+ 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) {