Skip to content

Commit

Permalink
Merge pull request #8075 from Conspir3D/develop
Browse files Browse the repository at this point in the history
Added order status =1 or =2 for overview of orders
  • Loading branch information
eldy committed Jan 20, 2018
2 parents 80b2b7d + 9642206 commit fa30804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/comm/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
if (! $user->rights->societe->client->voir && ! $socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
$sql.= " WHERE c.fk_soc = s.rowid";
$sql.= " AND c.entity IN (".getEntity('commande').")";
$sql.= " AND c.fk_statut = 1";
$sql.= " AND (c.fk_statut = 1 or c.fk_statut = 2)";
if (! $user->rights->societe->client->voir && ! $socid) $sql.= " AND s.rowid = sc.fk_soc AND sc.fk_user = " .$user->id;
if ($socid) $sql.= " AND s.rowid = ".$socid;
$sql.= " ORDER BY c.rowid DESC";
Expand Down
2 changes: 1 addition & 1 deletion htdocs/fichinter/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
$label = (! empty($prod->multilangs[$outputlangs->defaultlang]["libelle"])) ? $prod->multilangs[$outputlangs->defaultlang]["libelle"] : $lines[$i]->product_label;
} else {
$prod->fetch($lines[$i]->fk_product);
$label .= $lines[$i]->product_label;
$label = $lines[$i]->product_label;
}

if ($prod->duration_value && $conf->global->FICHINTER_USE_SERVICE_DURATION) {
Expand Down

0 comments on commit fa30804

Please sign in to comment.