Skip to content

Commit

Permalink
Allow to clone an invoice on a different third
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-maxime committed Jan 17, 2014
1 parent 87ab3ae commit 7e8a7f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/compta/facture.php
Expand Up @@ -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);
Expand Down

0 comments on commit 7e8a7f7

Please sign in to comment.