From 7e8a7f7e7f65a6d4b58f214aee0768404a16e020 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Fri, 17 Jan 2014 15:44:06 +0100 Subject: [PATCH] Allow to clone an invoice on a different third --- htdocs/compta/facture.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index d059e47d55558..14ad67badcaaf 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2805,6 +2805,7 @@ $formquestion=array( //'text' => $langs->trans("ConfirmClone"), //array('type' => 'checkbox', 'name' => 'clone_content', 'label' => $langs->trans("CloneMainAttributes"), 'value' => 1) + array('type' => 'other', 'name' => 'socid', 'label' => $langs->trans("SelectThirdParty"), 'value' => $form->select_company('','socid','(s.client=1 OR s.client=2 OR s.client=3)',1)) ); // Paiement incomplet. On demande si motif = escompte ou autre $formconfirm=$form->formconfirm($_SERVER["PHP_SELF"].'?facid='.$object->id,$langs->trans('CloneInvoice'),$langs->trans('ConfirmCloneInvoice',$object->ref),'confirm_clone',$formquestion,'yes',1);