This commit is contained in:
Dr Masroor Ehsan 2025-01-14 13:34:09 +06:00
parent ca739d4a85
commit 03701e07a2

View File

@ -330,13 +330,13 @@ private function generateActionButtons(Study $study): string
$btns[] = $this->renderButton($study->hash, 'fa-circle-info', 'showStudy btn-outline-facebook', 'Info'); $btns[] = $this->renderButton($study->hash, 'fa-circle-info', 'showStudy btn-outline-facebook', 'Info');
break; break;
case WorklistButton::History: case WorklistButton::History:
$btns[] = $this->renderButton($study->hash, 'fa-pen-to-square', 'btn-outline-primary', 'Edit', route('staff.history.edit', $study->hash)); $btns[] = $this->renderButton($study->hash, 'fa-pen-to-square', 'btn-outline-primary', 'Edit', route('staff.history.edit', $study->hash), true);
break; break;
case WorklistButton::Notes: case WorklistButton::Notes:
$btns[] = $this->renderButton($study->hash, 'fa-user-doctor', 'btn-outline-youtube show-assign', 'Assign'); $btns[] = $this->renderButton($study->hash, 'fa-user-doctor', 'btn-outline-youtube show-assign', 'Assign');
break; break;
case WorklistButton::Attachment: case WorklistButton::Attachment:
$btns[] = '<a href="' . route('staff.meta.edit', $study->hash) . '" target="_blank" class="btn btn-sm btn-outline-light"><i class="fa-light fa-edit"></i></a>'; $btns[] = $this->renderButton($study->hash, 'fa-edit', 'btn-outline-secondary', 'ED', route('staff.meta.edit', $study->hash), true);
break; break;
} }
} }