Added AHA Report to download in Preorder Index

This commit is contained in:
Frank Schubert
2024-11-08 16:40:47 +01:00
parent 482e1a4989
commit 95e36d1626
8 changed files with 64 additions and 35 deletions
+2 -2
View File
@@ -25,10 +25,10 @@ class RimoWorkorder extends mfBaseModel {
}
}
public function downloadAh() {
public function getAha() {
if(!$this->id) return false;
$ah = Rimoapi::getWorkorderAhReport($this->rimo_id);
$ah = Rimoapi::getWorkorderAhaReport($this->rimo_id);
return $ah;