Task #0002402: TVA : préférence , permettre de choisir l'ID ou le code

This commit is contained in:
sparkyx 2024-12-29 14:53:45 +01:00
parent 622926dbdd
commit a1dfc78e14
6 changed files with 67 additions and 3 deletions

View file

@ -58,7 +58,9 @@ $cn = Dossier::connect();
global $g_user, $cn,$g_parameter,$http;
$g_user = new Noalyss_user($cn);
$http=new HttpInput();
IDate::set_firstDate($g_user->get_first_week_day());
ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));