Skip to content

Commit

Permalink
Merge branch 'release/2.7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Oct 28, 2021
2 parents 274f364 + ccc162b commit 9552b0c
Show file tree
Hide file tree
Showing 24 changed files with 12,161 additions and 12,192 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"masnathan/odtphp": "dev-teclib"
},
"require-dev": {
"glpi-project/tools": "^0.2"
"glpi-project/tools": "^0.3"
},
"config": {
"optimize-autoloader": true,
Expand Down
98 changes: 47 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion inc/order.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,7 @@ public static function install(Migration $migration) {
`plugin_order_accountsections_id` int(11) NOT NULL default '0' COMMENT 'RELATION to plugin_order_accountsections (id)',
`locations_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)',
`plugin_order_orderstates_id` int(11) NOT NULL default 1,
`plugin_order_billstates_id` int(11) NOT NULL default 1,
`plugin_order_billstates_id` int(11) NOT NULL default 0,
`port_price` float NOT NULL default 0,
`global_discount` float NOT NULL default 0,
`comment` text collate utf8_unicode_ci,
Expand Down Expand Up @@ -2696,6 +2696,9 @@ public static function install(Migration $migration) {

//2.7.0
$migration->addField($table, "global_discount", "FLOAT NOT NULL default '0'");

//2.7.3
$migration->changeField($table, "plugin_order_billstates_id", "plugin_order_billstates_id", "int(11) NOT NULL DEFAULT 0");
}

// Remove RIGHT_OPENTICKET
Expand Down
Loading

0 comments on commit 9552b0c

Please sign in to comment.