From 659d23f67ff8971d58726c10416a53c943822f1f Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Mon, 20 Feb 2006 16:22:50 +0000 Subject: [PATCH] modifs pour choix assujeti tva ou pas --- htdocs/comm/fiche.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 8894df224e1..bcb262159aa 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -380,6 +380,24 @@ if ($_socid > 0) } print ""; print ''; + // soumis à TVA ou pas + print ''; + print ''; + print '
'; + print $langs->trans('VATIsUsed'); + print ''; + if ($_GET['action'] != 'editassujtva') print 'id.'">'.img_edit($langs->trans('SetMode'),1).'
'; + print ''; + if ($_GET['action'] == 'editassujtva') + { + $html->form_assujetti_tva($_SERVER['PHP_SELF'].'?socid='.$objsoc->id,$objsoc->assujetti_tva,'assujtva_value'); + } + else + { + $html->form_assujetti_tva($_SERVER['PHP_SELF'].'?socid='.$objsoc->id,$objsoc->assujetti_tva,'none'); + } + print ""; + print ''; } print "";