merge devel-france

This commit is contained in:
sparkyx 2023-07-27 20:24:34 +02:00
parent 9cfb489c41
commit 844484c39d
67 changed files with 484 additions and 246 deletions

View file

@ -73,9 +73,9 @@ class Anc_Account_Table extends Manage_Table_SQL
$is_error=0;
$table->po_amount=0;
// po_name must contains only valid letter (remove < > and ')
$table->po_name=str_replace("'", '', $table->po_name);
$table->po_name=str_replace("<", '', $table->po_name);
$table->po_name=str_replace(">", '', $table->po_name);
$table->po_name=noalyss_str_replace("'", '', $table->po_name);
$table->po_name=noalyss_str_replace("<", '', $table->po_name);
$table->po_name=noalyss_str_replace(">", '', $table->po_name);
// po_name must be uniq in the Analytic Plan
if ( $cn->get_value("select count(*) from poste_analytique where pa_id=$1 and po_name=upper($2) and po_id != $3",