Skip to content

Commit

Permalink
Merge pull request #23 from delcroip/develop
Browse files Browse the repository at this point in the history
rev 1.0.1.rc4
  • Loading branch information
delcroip authored Jul 11, 2021
2 parents e49b7c1 + 2a72e68 commit 4bc54aa
Show file tree
Hide file tree
Showing 50 changed files with 10,917 additions and 1,446 deletions.
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,23 @@
This module enable you to create and manage your Medical device
> * Medical device details (in addition to std gélpi device) : install date, Nomencalure.

## Getting started

1. [Install project-GLPI](https://wiki.glpi-project.org/doku.php?id=en:install)

before GLPI 10, a patch need to be applied to make the medical accessories working (without this patch GLPI plugins cannot add component type)

download the patch: https://patch-diff.githubusercontent.com/raw/glpi-project/glpi/pull/8280.patch

then copy it on glpi/ folder

then apply it:

```
patch -p1 < 8280.patch
```

2. Configure project-GLPI:

*. Location, __Setup > Dropdowns > Common > Locaiton__
Expand Down Expand Up @@ -45,11 +58,33 @@ This module enable you to create and manage your Medical device

8. Start adding medical consomable type and consomables (if any)

9. to use the custom report, the report module must be installed and the content of the "openmedis/reports" repository must be copied in the report module

## Standard glpi information

in order to use properly the service support of GLPI there is elements to configure

### Ticket template

Ticket template are created and manage from the ticket page by clicking on the 3 layer icon

- it will enable to define the mandatory fields.
- it will enable to prefill fields, e.g write the content Title or description of the ticket to help the user providing the right information
- task template can be added (task template are configure in the dropdown page)

### Incident / request / change / problem category

- can trigger the use of a template

### planification

once a task is added to a ticket (via template or created on the ticket manualy), an intervention can be planned by editing the task (option not avaiable upon task creation)
## Traduction

This plugin will be managed on transiflex or lokalise
https://app.lokalise.com/public/6803907760dcb8c3a08649.77618538/



## development

- dedicate reports
- documentation for calibration / checklist (task ?) / intervention report
56 changes: 27 additions & 29 deletions front/item_devicemedicalaccessory.form.php
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2018 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
* Copyright © 2021 by Patrick delcroix <[email protected]>
* This file is part of openmedis Plugin for GLPI.
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
-------------------------------------------------------------------------
LICENSE
This file is part of openMEDIS plugin for GLPI.
Reports is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
openMEDIS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Reports. If not, see <http://www.gnu.org/licenses/>.
@package openmedis
@authors Patrick Delcroix
@copyright Copyright (c) 2009-2021 Reports plugin team
@license AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link https://github.com/delcroip/glpi_open_medis
@link http://www.glpi-project.org/
@since 2021
--------------------------------------------------------------------------
*/

include ('../../../inc/includes.php');
Expand Down
55 changes: 27 additions & 28 deletions front/medicalaccessory.form.php
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
* Copyright © 2021 by Patrick delcroix <[email protected]>
* This file is part of openmedis Plugin for GLPI.
* ---------------------------------------------------------------------
*
* LICENSE
*
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
-------------------------------------------------------------------------
LICENSE
This file is part of openMEDIS plugin for GLPI.
Reports is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
openMEDIS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Reports. If not, see <http://www.gnu.org/licenses/>.
@package openmedis
@authors Patrick Delcroix
@copyright Copyright (c) 2009-2021 Reports plugin team
@license AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link https://github.com/delcroip/glpi_open_medis
@link http://www.glpi-project.org/
@since 2021
--------------------------------------------------------------------------
*/

/**
Expand Down
55 changes: 27 additions & 28 deletions front/medicalaccessorycategory.form.php
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2018 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
* Copyright © 2021 by Patrick delcroix <[email protected]>
* This file is part of openmedis Plugin for GLPI.
* ---------------------------------------------------------------------
*
* LICENSE
*
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
-------------------------------------------------------------------------
LICENSE
This file is part of openMEDIS plugin for GLPI.
Reports is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
openMEDIS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Reports. If not, see <http://www.gnu.org/licenses/>.
@package openmedis
@authors Patrick Delcroix
@copyright Copyright (c) 2009-2021 Reports plugin team
@license AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link https://github.com/delcroip/glpi_open_medis
@link http://www.glpi-project.org/
@since 2021
--------------------------------------------------------------------------
*/

include ('../../../inc/includes.php');
Expand Down
55 changes: 27 additions & 28 deletions front/medicalaccessorycategory.php
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2018 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
* Copyright © 2021 by Patrick delcroix <[email protected]>
* This file is part of openmedis Plugin for GLPI.
* ---------------------------------------------------------------------
*
* LICENSE
*
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
-------------------------------------------------------------------------
LICENSE
This file is part of openMEDIS plugin for GLPI.
Reports is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
openMEDIS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Reports. If not, see <http://www.gnu.org/licenses/>.
@package openmedis
@authors Patrick Delcroix
@copyright Copyright (c) 2009-2021 Reports plugin team
@license AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link https://github.com/delcroip/glpi_open_medis
@link http://www.glpi-project.org/
@since 2021
--------------------------------------------------------------------------
*/

include ('../../../inc/includes.php');
Expand Down
54 changes: 27 additions & 27 deletions front/medicalconsumable.form.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright © 2021 by Patrick delcroix <[email protected]>
* This file is part of openmedis Plugin for GLPI.
* ---------------------------------------------------------------------
*
* LICENSE
*
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
-------------------------------------------------------------------------
LICENSE
This file is part of openMEDIS plugin for GLPI.
Reports is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
openMEDIS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Reports. If not, see <http://www.gnu.org/licenses/>.
@package openmedis
@authors Patrick Delcroix
@copyright Copyright (c) 2009-2021 Reports plugin team
@license AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link https://github.com/delcroip/glpi_open_medis
@link http://www.glpi-project.org/
@since 2021
--------------------------------------------------------------------------
*/

use Glpi\Event;
Expand Down
Loading

0 comments on commit 4bc54aa

Please sign in to comment.