From c39d144adeb92a8949d7c5dd24a997fdbe7f4ea2 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 30 Mar 2004 01:13:21 +0000 Subject: [PATCH] Add the possibility to select tva rate in the js windows --- html/show_tva.php | 18 +++++++++++++++--- include/constant.php | 19 ++++++++++++++++--- include/fiche_inc.php | 6 +++--- 3 files changed, 34 insertions(+), 9 deletions(-) diff --git a/html/show_tva.php b/html/show_tva.php index 5c7516527..1beaa01f6 100644 --- a/html/show_tva.php +++ b/html/show_tva.php @@ -30,7 +30,14 @@ if ( ! isset ( $g_dossier ) ) { phpinfo(); exit -2; } - +?> + +"; for ($i=0;$i<$Max;$i++) { $row=pg_fetch_array($Res,$i); - printf("%d%s%s", + $set=sprintf( '', + $_GET['ctl'],$row['tva_id']); + printf("%s %d%s%s", + $set, $row['tva_id'], $row['tva_label'], $row['tva_comment']); } echo ''; -echo ''; +?> + + diff --git a/include/constant.php b/include/constant.php index e1588bf86..72e4282a7 100644 --- a/include/constant.php +++ b/include/constant.php @@ -108,13 +108,18 @@ define ("JS_SEARCH_POSTE","" ); -define ("JS_SHOW_TVA","" ); @@ -123,6 +128,14 @@ define ("JS_VIEW_JRN_DETAIL",""); +define ("JS_VIEW_JRN_CANCEL",""); define ("JS_SEARCH_CARD","