45 if ( ! in_array($p_ledger ,[
"F",
"O",
"M"]) ) {
46 throw new Exception(_(
"LAD46 Erreur type"));
52 $s_js=sprintf(
' onClick="ledger_add_multiple(\'%s\')"',
$id);
70 $has_suppl_tax=
$cn->get_value(
"select count(*) from acc_other_tax where array_position(ajrn_def_id,$1)
72 if ($has_suppl_tax ==0 ) {
75 if ( $has_suppl_tax>1) {
76 throw new Exception(
"HIN76:too many supplemental taxes");
78 $ac_id=
$cn->get_value(
"select ac_id
81 array_position(ajrn_def_id,$1) is not null",[
$p_ledger_id]);
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
ORM public.acc_other_tax.
This class handles only the numeric input, the input will call a javascript to change comma to period...