Skip to content

Commit

Permalink
Merge pull request #226 from lvessiller-opendsi/new-supplier-select-l…
Browse files Browse the repository at this point in the history
…ines-from-origin

NEW can select sub-total lines in supplier order and invoice
  • Loading branch information
John BOTELLA authored Dec 10, 2021
2 parents d7db78f + 77dc27d commit ed27c78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion class/actions_subtotal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2850,7 +2850,11 @@ function printOriginObjectLine($parameters, &$object, &$action, $hookmanager)

$contexts = explode(':',$parameters['context']);

if (in_array('ordercard',$contexts) || in_array('invoicecard',$contexts))
if (in_array('ordercard',$contexts)
|| in_array('invoicecard',$contexts)
|| in_array('ordersuppliercard',$contexts)
|| in_array('invoicesuppliercard',$contexts)
)
{
/** @var Commande $object */

Expand Down

0 comments on commit ed27c78

Please sign in to comment.