pluginsGLPI / order

Order plugin for GLPI
GNU General Public License v3.0
39 stars 44 forks source link

Add Total values of commands and invoices in list mode #336

Open IP-V15 opened 1 year ago

IP-V15 commented 1 year ago

Hello, It is currently not possible to add the total value of commands and invoices in list mode. This would be very useful, especially for doing extractions because there are no other tools to retrieve the information.

IP-V15 commented 1 year ago

Good morning. I found how to add the value of the invoices in the general list. Can someone integrate the code in the next version? I don't know github at all. Add the following lines to this file: \order\inc\bill.class.php After the line 211, add : $tab[] = [ 'id' => 10, 'table' => self::getTable(), 'field' => 'value', 'name' => __('Value'), 'datatype' => 'decimal', ]; Thanks

IP-V15 commented 1 month ago

Hello does anyone know a solution to display the values ​​of purchase orders in list mode? Thanks