You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2011-09-30 09:35:25

Purdy
Member
Registered: 2011-05-09
Posts: 20

Changing states.php

Hello all,
i want to change "inventory->status".

I don´t need "last update", but i need the delivery date there.

I am a noob in php and sql, but I tried to fix it.

No chance for me sad  Can anyone help me?

In the states.php there are no informatiosn for me sad

Thanks!

Last edited by Purdy (2011-09-30 14:06:34)

Offline

#2 2011-09-30 17:18:18

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Changing states.php

Version of GLPI used ?
Do you use OCS ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2011-10-04 09:54:21

Purdy
Member
Registered: 2011-05-09
Posts: 20

Re: Changing states.php

No, i don´t use OCS for the moment.

The GLPI-Version is 0.80.4

Offline

#4 2011-10-04 12:55:54

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Changing states.php

You have the delivery date in financial inforamtion (tab Management)


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2011-10-05 09:03:09

Purdy
Member
Registered: 2011-05-09
Posts: 20

Re: Changing states.php

Yeah, thats right. But i want to use the Result from the "states.php" for a short report.

The way i mean: "Inventory->Status" and there, i need the choice of the finance informations. But i don´t know how i should do that. I tried it with the script of the computer.php, but, of course, it works just for the computers then big_smile

Offline

#6 2011-10-05 11:18:02

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Changing states.php

You have a report Infocom in the plugin Reports.
This report has a criteria based on the buy date. You can make your own report with changing this criteria to delivery date


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#7 2011-10-05 12:42:11

Purdy
Member
Registered: 2011-05-09
Posts: 20

Re: Changing states.php

Yeah, but the Problem is, our it-organisators want to use the reports on different. So the status.php is the best atm.

But there is just the problem with the delivery date, which i cannot solve sad

The problem is just, that i cannot choose the financial information table, if i open the dropdown from the  "select default items to show".


I use the debugging mode: The Popup from computer.php (where i can choose infocoms) shows this:

Autoload: DisplayPreference, Search, Computer, CommonDropdown, CommonTreeDropdown, Location, CommonDBChild, NetworkPort, Contract, Infocom

States.php shows this:

AUTOLOAD

DisplayPreference, Search, CommonDropdown, CommonTreeDropdown, Location

Imo it seems easy to solve, but i really have no more ideas sad

Last edited by Purdy (2011-10-05 14:25:45)

Offline

Board footer

Powered by FluxBB